Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

Filter by
Sorted by
Tagged with
0
votes
0answers
64 views

Magento 2: Set table structure in order invoice pdf

I have need to set order invoice PDF in table structure. I have tried in Magento 2 below core files for same but not done. magento\vendor\magento\module-sales\Model\Order\Pdf\Invoice.php ...
3
votes
2answers
903 views

How to add Slick in Magento 2?

I have added slick.min.js in my custom module in the path below app/code/company_name/vendor_name/mymodule/view/frontend/web/js/slick.min/js and my slick initialization js for my template is ...
0
votes
0answers
32 views

Limit in the number of sharing wishlist in magento 2

I just found that the 'share wishlist' button on my wishlist page is gone after sending emails for the number of times set in the wishlist configuration in the backend. In other words, if the ...
0
votes
3answers
813 views

How to get values passed from phtml in js magento 2?

I have passed two variables in my phtml to js file as below <script type="text/x-magento-init"> { ".slider-gallery": { "slickSlider": { "...
0
votes
2answers
104 views

Magento 2 Redirect shopping cart link on message notification in iframe

I can not redirect to the shopping cart link outside the iframe. It still redirect but it stays in the iframe. magento 2.2.6 when i click shopping cart result : I want it redirect to shopping cart ...
1
vote
1answer
19 views

Filter in custom grid doesn't work normally. Magento2

When I filter twice, it works fine after the third time display only one product in each row. grid_record_grid_list.xml <?xml version="1.0" encoding="UTF-8"?> <!-- /** * Grid record ...
0
votes
1answer
69 views

Magento 2.2.6 : Authorize.net not working. Giving Below Error

Argument 1 passed to Magento\Authorizenet\Model\Directpost\Request::__construct() must be an instance of Magento\Framework\Intl\DateTimeFactory This error is getting displayed when I am clicking on ...
0
votes
0answers
18 views

Error on Category Page

I am getting error on Category Page Magento 2.2.6 ( Element 'block', attribute 'remove': The attribute 'remove' is not allowed) 1 exception(s): Exception #0 (Magento\Framework\Config\Dom\...
2
votes
0answers
63 views

Custom Form Undefined Property

I had a custom Module with custom form, which was working fine until recently. Most likely it is throwing error after upgrade from 2.2.2 to 2.2.6. and the line representing the error is like: $...
0
votes
0answers
36 views

City field validation not working

Tried via checkout_index_index.xml to add validation on city field in 2.2.6 still now working <item name="city" xsi:type="array"> ...
2
votes
2answers
997 views

Magento 2 Override Product Canonical Url

How would you override the product canonical url in Magento 2? Scenario: We have a group products which cannot be configurable's (client request) so we've created 4 simples and connected them via ...
2
votes
0answers
20 views

Magento 2 shopping cart and checkout: show discounts tax included

In my checkout and shopping cart discounts are appearing tax excluded. I would like to show it tax included I'm searching where is defined the displayed value to place something like amount * 1.21, ...
3
votes
0answers
284 views

Unique constraint violation found on “catalog_product_entity_tier_price”

Unique constraint violation found on "catalog_product_entity_tier_price". Magento version 2.2.6: I have migrated data Magento1 to Magento2, i but some how catalog_product_entity_tier_price for this ...
0
votes
0answers
7 views

Navigation attribute filter missing when attribute added to a product

Issue We have a custom attribute of "manufacturer". We've been using it for 9 months assigning it products and it appearing correctly in the shop sidebar / facet filters. Today we noticed the filter ...
0
votes
2answers
156 views

Magento 2 Commerce cloud database export

I am new in magento commerce cloud. I need to setup the magento store in my local system. I have downloaded the files from the commerce git and it is working fine. But how can I access the database? I ...
1
vote
2answers
43 views

Get product only with attributes used in product listing in a test

In my test I am creating a product like this: $product = $this->objectManagerHelper->create('Magento\Catalog\Model\Product'); $product ->setId(1) ->setTypeId(Product\Type::...
3
votes
2answers
53 views

Magento2 - Reorder options inside layered filter

I'm quite new to Magento so maybe this is a stupid question. I have some filters set up in the layer navigation, one of them is the size of the products we're selling. I'd like to know if it's ...
13
votes
5answers
3k views

Magento 2.2.6 issue: php bin/magento catalog:image:resize

When run command php bin/magento catalog:image:resize, it stops after few images and shows error. How fix this? I tried manually reupload images to this folder after this problem.
0
votes
0answers
23 views

Magento 2 Payment validation not working,Offline order from admin in Magento-2.2.6 — with Virtual Product

Magento 2.2.6 When we do order offline,Payment validation not working. I tried <?php if ($block->hasMethods()) : ?> <div id="order-billing_method_form"> <dl class="...
0
votes
2answers
127 views

Magento 2: Allow Arabic string in “letters-only” validation

I'am working on the Magento store that have Arabic language store and English language store. I have added the "letters-only" validation on firstName input field on registration page and when I check ...
1
vote
2answers
191 views

Magento2: Adding custom attribute to category doesn't show store specific value

I have created a custom category attribute using the custom code from here, attribute created successfully and able to save the value. But I want to save store specific value in this custom attribute,...
2
votes
2answers
70 views

User Error: DDL statements are not allowed in transactions Magento 2.2.6

I want to achieve following functionality: Whenever user tries to insert new data, i want to remove all old data from my custom table and insert new data. For this, i want to use truncateTable() ...
1
vote
0answers
35 views

Magento 2 TinyMCE4 issues

I am using the Magento 2.2.6 version and I have added the https://github.com/pavelleonidov/magento2-tinymce4 Extension but into the Editor Font Family, Font Size, Line Height ..Etc Options is Not ...
3
votes
1answer
68 views

No index on the url_rewrite table

Is there any reason why there is no index on the entity_id column on the url_rewrite table? Or on entity_id and entity_type? The only index I see is on entity_id and store_id. I understand that that ...
8
votes
2answers
448 views

Magento 2 Show timepicker using UiComponent

I want to show Timepicker in Ui Component Form. I could able to add the time field by using below code but not able to save value. Can anybody help on it. <field name="start_time"> &...
2
votes
1answer
61 views

Magento 2 : IE 11 Error “Expected identifier” on checkout page

On the Magento 2.2.6 checkout page, there is a javascript error in IE 11. The error is coming from the default.js file. Note : its working fine on all other browsers except IE11. JavaScript Console: ...
0
votes
1answer
23 views

How to add a datepicker field in Shipping address step at Customized checkout?

In the checkout page, we have two of the options. First one is School and the second one is Private person. Customer can order via school option and as well as the private person. In both the option, ...
1
vote
1answer
32 views

Cannot change the password via admin panel

We have set the password change as recommended. However, when we tried to change the password via the change your password link in the admin panel, it doesn't lead to anywhere. Also, I'm not ...
1
vote
1answer
39 views

Unable to view customer's order

I have encountered an order view error. When I view an order in the magento2.2.6 background, it displays "Information Changes have been made to this section that have not been saved. This tab ...
3
votes
2answers
63 views

Magento 2 : how to use TinyMCE v4 in Magento 2.2.6?

I want to use TinyMCE Editor Version 4 in Magento version 2.2.6 Which are use in magento version 2.3.1. If any one have solution then Pleas Provide me.. in place of
0
votes
0answers
19 views

grand total not refresh when table rate changed

Use only table rate, In checkout flow, when finishing the shipping address form and choose the shipping method(only table rate), tap the next button, go to the payment step, for now, it's all fine. ...
1
vote
1answer
25 views

How to put NOINDEX,FOLLOW to login and registration page Magento2.x

I am having trouble in putting meta robots in selective page. I wanted to Noindex and Follow on login and registration page only and rest of page will have Index and Follow. I have put <meta name="...
1
vote
2answers
41 views

A status of 500 error occurs in Magento 2.2 production mode

Yesterday, I switched from developer mode to production mode. After changing the mode, I used the following command:. # /usr/local/php71/bin/php bin/magento deploy:mode:set production --skip-...
3
votes
1answer
251 views

How to add datepicker field in Checkout?

I want to add a date picker field into the checkout page but I have no idea where to start. I have tried this Add date picker in checkout page but it's not working for me. We are having the below ...
0
votes
0answers
17 views

Auto redirect on product's category change in magento

I am assigning a product from one category to another. But, the 301's for the old product url isnt creating. for ex: i changed a product from category1 to category2, then a 301 redirect should be ...
0
votes
1answer
37 views

Magento 2 problem with multiple websites and multiple stores exist side by side

My Magento version is 2.2.6. In our shop, we need multiple websites and stores both. The store level is working fine, but there is a problem when visiting website level link. It gets always redirect ...
0
votes
2answers
77 views

How to customize checkout page in magento 2?

Is it possible to sort the order of email field at the top of the page after lastname field in shipping form? Is there any way to bring remove login part in checkout page and bring email field after ...
0
votes
2answers
483 views

How to display order summary sidebar in shipping step of checkout page in magento 2?

I have referred the link Magento2 : Show summery total on checkout page and made changes in abstract-total.js and shipping.js. Now order summary is displayed and shipping amount updates correctly ...
0
votes
1answer
61 views

Magento 2.2.6 Incompatible argument type

I am getting the following error when running the command: php bin/magento setup:di:compile ---------- Test\Firstmodule\Model\Adminhtml\Config\Data Incompatible argument type: ...
1
vote
2answers
1k views

Magento 2 - get user email ID

I'm using Magento 2.2.6, How can I get the email ID of logged in user to show in header. Thanks.
1
vote
1answer
35 views

Product Url Key is not generated on edit product

I have the following scenario: I have created a new product. I have left the url-key field blank. If url-key field kept blank, then on product saving, it will set url key value automatically ...
0
votes
0answers
10 views

Temporarily disabled Admin user cannot be solved in Magento 2.2.6 on Localhost

I am working on Magento 2.2.6 to develop a custom theme, After a while of working on my theme when I tried to log in to the Admin Dashboard I was getting the You did not sign incorrectly or your ...
1
vote
1answer
118 views

What are some free extensions for delivery date in checkout?

We are in Magento2.2.X. We would like to implement the delivery date field into the checkout. When I have googled, I have found the below free extension but it hasn't worked for me. https://...
0
votes
1answer
252 views

Magento 2.2.6 not open after unzip and include all the extensions

I am new to the magento development. I am trying to install magento 2.2.6 . My configurations Apache/2.4.18 (Ubuntu) PHP Version 7.0.32 Ubuntu 16.04 mysql 5.7.24 I have downloaded magento 2.2.6 (...
4
votes
2answers
75 views

Error Payment Method braintree credit card

I have a error in my website https://kiraliving.com I did the testing by environment sandbox credit card by paypal testing and it works perfectly but when I put it live production it keeps thinking ...
2
votes
0answers
32 views

Magento 2.2.6 - grouped product's associated product assign issue while having custom options in admin

I have a problem in assigning the associated products of it's group product in admin area of magento 2.2.6. while having the custom options. when i add the simple products but not display in the grid ...
0
votes
0answers
87 views

Some Images could not be resized. See log file for details

Some Images could not be resized. See log file for details I use Magento 2.2.6. I use allways the same picture only name change! 5781-R101.png do not work ABCDEFG.jpg work fine picture has only ...
1
vote
1answer
24 views

How to change the Magento 2.2 Session location from Redis back to File

I use Magento 2.2. Changed session destination from file to Redis. Is there a command to save back to a file?
0
votes
2answers
80 views

How to fix “Connection to Redis failed” error?

I cannot open the site and can't run any commands. I'm getting the below error: The thing is that I have configured our development site into local (Xampp). In the development site, we have used the ...
1
vote
0answers
15 views

How to configure Category product listings in Mobile?

We knew the steps to configure the product listings in Magento 2 on Desktop view and done successfully as per our need. Now, we wanted to show 2 products per row in portrait mode and 3 products per ...