Questions tagged [magento2.2.6]

It should be used for questions about Magento 2.2.6

1
vote
2answers
36 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::...
0
votes
2answers
38 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 ...
3
votes
2answers
38 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 ...
10
votes
6answers
2k 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
16 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
59 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 ...
0
votes
2answers
53 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
24 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
14 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
57 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 ...
7
votes
2answers
364 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
16 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
22 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
31 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 ...
0
votes
1answer
27 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
36 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
16 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
19 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
34 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
166 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
14 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
31 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
0answers
22 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
2answers
64 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
357 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
32 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
559 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
29 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
9 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
33 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
180 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
44 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
24 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
12 views

Custom dropdown attribute sort by option is not showing proper result on category page in magento 2

I am using magento 2.2.6 and create custom product dropdown attribute called patter_name and i wanted this to use for product sort by on category page. but when i sort by this attribute "patter_name"...
0
votes
0answers
34 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
17 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
34 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 ...
0
votes
2answers
494 views

Free shipping with flat rate shipping at magento 2

Can i make promotion for flat rate method? equal or greater than ... allow free shipping. I have already do this with free shipping but both methods appear there. I have configured it many times at ...
1
vote
0answers
14 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 ...
1
vote
0answers
31 views

Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in ..t/src/PaygentConnect/Response/Parser.php on line 27

The Clearing module prints the exception. This module is a third-party module. Do you know where the cause lies in the source code? Please tell me. bool(false) 1 exception(s): Exception #...
2
votes
2answers
130 views

Can't upload product images on Magento 2 Xampp

I cannot upload product images on Magento 2 in Xampp. When I try to upload the product image, it gives me an error. Please see the following image: I have also tried it again but the same error ...
1
vote
3answers
43 views

how i can get order id and customer name in oberserver magento 2

I have used event <event name="checkout_onepage_controller_success_action"> when I use this code I am getting null $order $order = $observer->getEvent()->getOrder(); // im ...
1
vote
0answers
23 views

I want to know how to change the value of “fotorama _ _ caption _ _ wrap” printed in Magento 2 product details

Magento 2 outputs the product title by default. I want to know how to change the title value to a custom attribute (brand) instead of hiding it. I would also like to know the detailed procedure for ...
1
vote
0answers
47 views

Magento2.2 - - Failed to read session data

If you open the front end with multiple tabs in the browser, the following error is output:. Exception #0 (Exception): Warning: session_start(): Failed to read session data: user (path: /var/opt/remi/...
0
votes
0answers
25 views

How to fix composer.json error: Unable to unserialize value?

We have installed the third party module and it's working fine. However, when we tried to open the Mageplaza>SMTP configuration via the admin panel, I'm getting the below error Could anyone please ...
2
votes
1answer
186 views

What are the rest api's for the Magento2 modules

We are working on Magento2.2.6 website. We are planning to build the mobile application. For this, we need the Rest api's for the following : Sort by options api Layer navigation Login with otp api'...
0
votes
0answers
14 views

Magento 2 : Acute accent “é” in the billing/shipping address causing order errors

I am having an issue where if a customer puts an acute accent as part of their address, for example " é ", it will cause an error " An error occurred on the server. Please try to place the order again ...
2
votes
1answer
112 views

Override empty.xml in a custom theme

I'm creating a new theme for a Magento 2.2.6 community edition and I need to wrap all the content inside a CSS class. To do so I had to change <main id="maincontent" class="page-main"> to &...
0
votes
0answers
37 views

Magento2 We cannot create an empty shipment

My environment is Magento 2.2. 6. After receiving the order, we verify the invoice creation. Currently, when I create and send an invoice, I get a "We cannot create an empty shipment." error. The ...
3
votes
1answer
78 views

Magento 2 State Option

Our client wants us to make the state field as an optional one in the Checkout. In order to do this, we have removed all the countries from the required state option and set to "Yes" for allowing to ...