Product Reviews not showing for sub products

Questions and answers about ShopSite Custom Templates

Product Reviews not showing for sub products

Postby Bsummerlin » Fri Feb 01, 2013 9:27 am

I'm trying to figure out if it's possible to show product reviews for sub-products. I have a group of products that shown on a page as subproducts of the master. When customers leave reviews for the purchased products, the sub products, their reviews are never visible.

Any ideas about looping the review for subs and not the master (which has none by default)?

Thanks,
Brant
Bsummerlin
 
Posts: 18
Joined: Mon Mar 01, 2010 1:27 pm
Location: Louisiana

Re: Product Reviews not showing for sub products

Postby Jim » Fri Feb 01, 2013 10:56 am

The subproduct template would need to be modified to display the reviews stars.

This is the code in a product template (BasicProduct.sst) that displays the number of review stars the product has. If you put that same code in the subproduct section of the template it should display the reviews stars there. Note that if the subproducts are listed in a dropdown this would not work.
[-- IF REVIEWS --]<span class="reviews-brief">[-- REVIEWS_STARS --]</span>[-- END_IF --]
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Product Reviews not showing for sub products

Postby Bsummerlin » Fri Feb 01, 2013 11:07 am

And they are in a pull down, so I'll have to rearrange the layout for sub product listings.
Thanks,
Brant
Bsummerlin
 
Posts: 18
Joined: Mon Mar 01, 2010 1:27 pm
Location: Louisiana


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 14 guests