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
31 views

How to reduce the size of logo in print order? Magento2

I have added below code in sales_order_print.xml <body> <referenceBlock name="logo" remove="true" /> <block class="Magento\Theme\Block\Html\Header\Logo" name="print_logo"> ...
2
votes
0answers
128 views

Validation Failed when running bin/magento app:config:import

I have added the following data to my app/etc/config.php file: 'scopes' => [ 'websites' => [ 'admin' => [ 'website_id' => '0', 'code' => 'admin', ...
1
vote
1answer
47 views

Magento Random Order Status goes back to Processing after marked as Process Printed / Shipped

I have a very strange problem with my Magento 2.2.6. I am using M2E Pro to import orders automatically from Amazon. All the orders will be listed in Orders with Pending Status. Then I would run a ...
3
votes
3answers
1k views

Add module Enable/disable functionality in Magento 2

I want to add Enable/disable functionality in my custom module by which the module can be enabled or disable directly form admin-panel for just selecting. I want to add something like this in my ...
0
votes
0answers
26 views

Error after swapping back to developer mode

After trying out production mode on our testing enviourment, we tried to turn back to developer mode. i ran the following commands while doing this: rm -rf generated/metadata/* generated/code/* bin/...
5
votes
2answers
289 views

Multistore Images are not coming after Upgrade 2.2.6 to 2.3

I have multiple stores setup with more then 100K products and 500+ categories. So my issue is when I upgrade Magento 2.2.6 to 2.3 the product images are coming properly from main store but some ...
0
votes
3answers
246 views

Magento 2: How to add hyperlink on text in knockout template

Welcome message = "Welcome Sign-in". I want to add my account link on Sign-in text in the welcome message. sign-in text should be a link and direct the user to my account page. <?php $...
0
votes
2answers
198 views

How to add blogs in magento 2.2.6?

How to add blogs in admin magento 2.2.6. because i can't see blog menu section in admin. please let me know.
0
votes
0answers
81 views

How to fix Product same ID already exists Magento 2.2.6

Don't just mark duplicate please answer Item (Magento\Catalog\Model\Product\Interceptor) with the same ID "xx" already exists. SELECT `main_table`.*, `cp_table`.`sku`, `cp_table`.`type_id` FROM `...
0
votes
1answer
16 views

setStatus update sales_order's status but sales_order_grid's status in 2.2.6

I have the following script in custom module to change an order from processing to a custom order's status $order->setStatus(\MyNamespace\Mymodule\Model\Order::STATUS_PRINTED); $this->...
0
votes
0answers
15 views

How to add a canonical tag on mangenot 2.2.6 for entire website through backend or through coding

How to add a canonical tag on mangenot 2.2.6 for entire website through backend or through coding when I Audit my website with MOZ Pro software its showing MISSIN Canonical Tag for 864 pages,However ...
1
vote
0answers
35 views

Magento 2.2.6 Web Setup Wizard not working

I am using the Magento 2.2.6(CE). In Admin Panel, System => Tools => Web Setup Wizard redirect to the following url Url: BASE_URL/setup/index.php/session/unlogin How to solve this issue? Thanks ...
1
vote
3answers
2k views

Unable to serialize value problem with Magento 2.2.6

Please teach in order to solve the problem. cd /vagrant sudo php bin/magento setup:upgrade sudo php bin/magento setup:di:compile sudo php bin/magento setup:static-content:deploy sudo php bin/magento ...
1
vote
0answers
103 views

Issue facing with Custom Grid Slider

I am using Codazon Fastest theme and my Magento version is 2.2.6. The issue is looking like a responsive problem. When the site is loading, the grids look like attachment 1. When I make restore and ...
1
vote
1answer
61 views

Magento 2.2.6 : Shipment creation using REST API

Unable to create shipment in Magento 2.2.6 I am using the following source code like this in postman https://test.com/rest/V1/shipment { "entity" : { "order_id" : 70, "items" : [{ "order_item_id" ...
0
votes
1answer
90 views

Magento2.2.6: When I try to edit configurable product than getting this error, facing this issue with only one product

I am using Magento2.2.6 and in admin side go to manage product and edit configurable product getting this error below Notice: Undefined offset: 0 in /XXX/data/home/256705.XXXXX.com/XXXXX/public_html/...
0
votes
0answers
65 views

Update attribute

When I select more then one product and try to update attribute it goes to catalog/product_action_attribute/edit/ and get Has any idea about this error? 1 exception(s): Exception #0 (...
0
votes
1answer
330 views

How to get and show the best selling products in magento 2

I wish to show best selling products in homepage.Please provide me a solution to get best selling products and display in home page. Thanks
2
votes
0answers
734 views

Magento 2 klarna payment not vizible in frontend

I Have magento 2.2.6 installed with Amazon pay and ogone payment solution, This payments works fine, but klarna payment not visible in checkout page, seems everything is fine in backend, here is ...
1
vote
0answers
111 views

Magento 2.2.6 Exception message: A wrong PayPal Express Checkout Token is specified

I am getting this issue for a few customers in the production site. while trying place order in one step checkout with PayPal express checkout, it's redirecting to the cart page with the exception ...
0
votes
3answers
1k views

onclick="document.getElementById('showme')

I am trying to make this work in Magento, but Magento changes the html and my boss hates it when I want to change anything using cPanel. So I need an option using the dashboard in Magento <table ...
1
vote
2answers
821 views

How to install and Configure Varnish in Magento 2?

How to configure varnish in magento 2? Selecting Varnish Cache in Stores Configuration is enough?
2
votes
1answer
25 views

An exception was printed during migration, but I don't know what it means

An exception was printed to the console during migration. Please tell me what you mean. My migration procedure is as follows. 1.Installed Magento version 2.2.6. 2.The application and database were ...
0
votes
2answers
244 views

Magento 2 : How to check if we are on a search result page?

Is there a way to check that we are on search result page in Magento 2? Any help would be greatly appreciated!
0
votes
0answers
220 views

Magento 2 Curl : is setting Content-Type: application/x-www-form-urlencoded despite providing Content-Type: application/json

I am facing a weird issue while using Magento 2.2.6 default Curl class Magento\Framework\HTTP\Client\Curl.php to send a curl request. Magento is automatically somehow adding another Content-Type: ...
3
votes
2answers
1k 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 ...
1
vote
0answers
184 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
2k 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
1answer
92 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
19 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
171 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
83 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
2k 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
26 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
454 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 ...
1
vote
2answers
79 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
79 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 ...
15
votes
5answers
5k 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
2answers
434 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
786 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
424 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
42 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 ...
8
votes
2answers
761 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
281 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
31 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
50 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
46 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 ...
4
votes
2answers
175 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
1
vote
1answer
111 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
76 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-...

1 2
3
4 5
11