Product Reviews not showing for sub products

Questions and answers about ShopSite Custom Templates
Post Reply
Bsummerlin
Posts: 18
Joined: Mon Mar 01, 2010 1:27 pm
Location: Louisiana

Product Reviews not showing for sub products

Post by Bsummerlin »

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
Jim
Site Admin
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Product Reviews not showing for sub products

Post by Jim »

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 --]
Bsummerlin
Posts: 18
Joined: Mon Mar 01, 2010 1:27 pm
Location: Louisiana

Re: Product Reviews not showing for sub products

Post by Bsummerlin »

And they are in a pull down, so I'll have to rearrange the layout for sub product listings.
Thanks,
Brant
Post Reply