We’re rewarding the question askers & reputations are being recalculated! Read more.

All Questions

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

Magento 2.1.8 Layered Navigation is not working while select Sub Category

Magento version: 2.1.8 Categories: Parent > Child When I select the parent category in layered navigation. It works fine (See screenshot 1 & 2) Sceenshot 1 Screenshot 2 After selecting the ...
0
votes
0answers
25 views

Magento2 upgrade Invalid value of “PR” provided for the country_id field

While upgrading Magento from 2.1.8 to 2.3.2 Invalid value of "PR" provided for the country_id field. I run magento command : php bin/magento setup:upgrade Got the above error.
0
votes
1answer
109 views

magento 2 EE should not save search terms with zero search results

I am using magento 2.1.8 Enterprise edition. I do not want to save search terms which have zero search results. Is there any solution ? There is no option in configuration to stop saving the search ...
0
votes
0answers
173 views

Magento 2: How to reduce column width in admin grid?

I want to change column width. I don't want any scroller due to a large column width in admin grid. Here is the code. I am using: <block class="Magento\Backend\Block\Widget\Grid\Column" as="...
2
votes
1answer
89 views

Magento 2: argument type error on compilation

I have compilation issue in my module. While I am running command php bin/magento setup:di:compile facing this issue in magento 2.1.8. It's showing this error: Incompatible argument type: Required ...
1
vote
0answers
24 views

Magento 2.1.8 Renaming image url after import or save

Is there anyone that knows a way of renaming product images after import or at save, from the original to the product's url + .jpg? e.g. if the product url is black-backpack.html and the original name ...
3
votes
3answers
2k views

Programatically update cart item quantity

Below is my code: namespace Ves\Productlist\Controller\Cart; use Magento\Quote\Model\QuoteRepository; class CartUpdate extends \Magento\Framework\App\Action\Action { protected $quoteRepository; ...
2
votes
1answer
272 views

How to call custom 503 page without error message in developer mode?

I have create custom error template into pub\errors\custom folder and Customize 503.phtml template file and write custom message into it. In Site Default Mode and Production Mode Template File ...
2
votes
3answers
556 views

Load my regsitartion page in CMS page - Magento 2

My registration page is coming from path: /app/design/frontend/Mgs/claue/Magento_Customer/templates/form/register.phtml I am trying to load that in a CMS page. Not sure how to do that. Tried many ...
0
votes
1answer
448 views

Magento 2 : Custom quote column value not copied on quote merge

I have created a custom column named 'campaign_id' through UpgradeSchema in quote table as below. $installer->getConnection()->addColumn( $installer->getTable('quote'), '...
1
vote
2answers
3k views

How to add canonical tag for all cms pages magento 2?

I want to add canonical tag for all cms pages. Currently canonical tag enabled for category and product page. How to do this?
0
votes
0answers
189 views

Header links Block

I am trying to make changes to the header top links on my magento 2.1.8 store. I have created a custom module called Batch Order which should only be accessible to customers from certain groups. The ...
1
vote
1answer
107 views

Magento 2 - product is showing via url, but it isn't appearing in the frontend

I'm having a problem with Magento 2, I've created a configurable product like how I do it every time. However, some products aren't showing in the frontend of the categories, If I try opening it up ...
0
votes
1answer
517 views

How to update custom price for product in magento2

I want to set different prices for different customers. Can anyone tell me which are the correct events(Observers) to update price for the customer after he/she logged in? 1) Want to show custom ...
0
votes
1answer
531 views

Owl carousel not working on product details page in Magento2

I have used owl carousel for related products in magento2.1.8. It is working fine for desktop and iPad but not working on mobile. On mobile view product base image not display and owl carousel takes ...
2
votes
1answer
710 views

Special Price not displaying on Wishlist

UPDATE - This is a reported isue in v2.1 but there is not fix for it. In Magento 2 special prices do not seem to be displayed on the Wishlists page. Is it possible to display these? How? Is there ...
2
votes
1answer
1k views

Warning: Illegal offset type in vendor/magento/module-catalog/Model/CategoryRepository.php on line 133

I am getting Warning: Illegal offset type in vendor/magento/module-catalog/Model/CategoryRepository.php on line 133 on product details page in Magento 2.1.8 Which is caused by vendor/...
1
vote
0answers
219 views

Configurable Attribute selection based on previous configurable attribute value in Magento 2

I have a configurable product with 4 configurable attribute, and this configurable product has 1000 of values in each configurable attribute. So my simple products of above configurable product ranges ...
0
votes
1answer
210 views

Magento 2.1.8/2.1.9: Unable to create subcategory

I am able to create new root categories (and sub-categories of those), but if I try to create a new subcategory in "Default Category" (or any of its subcategories), I receive the following exception: ...
1
vote
1answer
460 views

Magento 2: Error updating to 2.1.8 and 2.1.9

After updating to 2.1.8, and more recently trying 2.1.9, my category pages stopped displaying products. I started seeing an error when reindexing: There is no such adapter: mysql2 I put my dev ...
4
votes
4answers
7k views

Magento 2 set & get Registry values

I want to set an array in registry in controller_action_predispatch_checkout_cart_add event observer and read this in a phtml page. The following code will give blank result . => Code : namespace ...
1
vote
1answer
184 views

Magento 2.1.8 Cart Rules

I have created 2 cart rules, and I want them to override each other if conditions are met. The rules are: If quantity of products with attribute-set SHIRT is greater than 15, then give discount of ...
1
vote
0answers
300 views

Help to Read exception.log in Magento 2.1.8

Please help to understand what is the problem? And possible ways to fix it. We are getting error on second stage of Checkout "Payment & Review" when placing an order. Exception.log error [2017-...
0
votes
1answer
2k views

Magento 2 : Show all store view in admin custom module grid

I want to show store view in my custom module grid and it is showing but there is an issue which I want to remove ie. Multiple store view is not showing in grid. Reference image is given below : ...
1
vote
2answers
249 views

Product grid won't load, constant spinning and 'Something went wrong'

Magento 2.1.8 with the log error: a:4:{i:0;s:175:"Warning: strtoupper() expects parameter 1 to be string, array given in /home/mysite/public_html/vendor/magento/module-ui/Component/Listing/Columns/...
0
votes
1answer
189 views

Magento2 custom price manual order not working

When i create a manual order in backend, i have the option to set a custom price for the product. But this option isn't working. After refresh the new price in the field is lost. Does anybody know ...
2
votes
1answer
928 views

Magento 2.1.8 issue Undefined variable: imageBlockBuilder

I got following error in Magento 2.1.8 in my custom theme e.g. mytheme. Exception #0 (Exception): Notice: Undefined variable: imageBlockBuilder in /home/public_html/app/design/frontend/Company/...