0

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.

enter image description here

3
  • Change all child product "Visibility => Catalog Search", after that run indexing and clean cache. Now check products in your storefront. Feb 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? Feb 10, 2020 at 1:53
  • I believe they all lie in the file swatch-renderer.js but don't know how to edit. Feb 12, 2020 at 4:08

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.