- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2 Default dropdown value
I have checked for the swatch type attribute it's only selected for the first attribute not other attribute.
Would you please help me out for this?
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2 Default dropdown value
I have a swatch and a dropdown. I tried the code under "For Product with Dropdown and other super attribute is a swatch" but it only works for whichever (swatch or dropdown) comes first. I created two different products -
1. Swatch first and the dropdown second
2. Dropdown first and the swatch second.
In no. 1, the first option from the swatch is selected but the dropdown isn't.
In no. 2, the first option from the dropdown (after "Choose a Option...") is selected but the swatch isn't.
Could you please suggest a fix for this?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2 Default dropdown value
I need the same thing but the
vendor/magento/module-swatches/view/frontend/web/js/SwatchRenderer.js
file doen't exists in my magento 2.3.4.
I have only "catalog-add-to-cart.js" and "configurable-customer-data.js" on this folder.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Magento2 Default dropdown value
Hi
this solution is right. first child product is auto select in product page.
so product image is showing there. same product image not showing in list page after putting this code?
see this: https://paste.pics/FRJAP
any solution you have?
- « Previous
-
- 1
- 2
- Next »