Monday, 7 December 2015

rwd configurable image swatches how to implement in our theme list page


First use this blog for configurable image swatches show on product page

Then for showing on list page please flow this step,

Open your theme list.phtml and replace or add new code in your file, this below:

1. image code replace with:
2. Add this code in your file after "getRatingSummary":
3. Add in last, after "<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>"

That's it now swatches also working on you list page :) enjoy.... same as like this:-

No comments:

Post a Comment