Without any configuration, the green pant is shown by default when I search for 'yoga pant'. My question is How can I make, for example, blue pant size 34 and its price and stock status as well to display instead? I'm in Magento 2.3 btw. Thank you.
-
Change all child product "Visibility => Catalog Search", after that run indexing and clean cache. Now check products in your storefront.– Manish BhojwaniFeb 7, 2020 at 11:19
-
Come on. No, it has nothing to do with my issue. My question was how to display Blue or Red child in their parent preview instead of Green by default?– Long JacksonFeb 10, 2020 at 1:53
-
I believe they all lie in the file swatch-renderer.js but don't know how to edit.– Long JacksonFeb 12, 2020 at 4:08
Add a comment
|