WEB SYSTEMS PRO
E-commerce platform
€19.80

* Net price, 23% VAT must be added

SKU:WSP-156-PL
License
Web Systems Pro
Version
1.1.3.1.wsp
Update
10/30/2021
LicenseWeb Systems Pro
Version1.1.3.1.wsp
UpdateOctober 31, 2021


The following code should be added:

In the reviews.html template, at the very top of the template, add:

{$reviews = shopCmnreviewsPlugin::getReviews($product.id)}
{$reviews_count = shopCmnreviewsPlugin::getReviewsCount($product.id)}

In the product.html template, at the very top add:

{$reviews = shopCmnreviewsPlugin::getReviews($product.id, true)}
{$reviews_total_count = shopCmnreviewsPlugin::getReviewsCount($product.id)}
{$product.rating = shopCmnreviewsPlugin::getProductRating($product.id)}
{$raty = shopCmnreviewsPlugin::getProductRates($product.id)}

In the list-thumbs.html template, add before "{if $p.rating > 0}":

{$p.rating = shopCmnreviewsPlugin::getProductRating($p.id)}