productcomments icon indicating copy to clipboard operation
productcomments copied to clipboard

Expose comments for theme

Open rodriciru opened this issue 2 years ago • 5 comments

Questions Answers
Description? Expose comments for theme
Type? improvement
BC breaks? no
Deprecations? no
Fixed ticket? Fixes PrestaShop/Prestashop#28719
How to test? in theme should be a smarty var $product.productComments.comments with the reviews

Related PR and issues: https://github.com/PrestaShop/hummingbird/pull/319 https://github.com/PrestaShop/PrestaShop/issues/28719

I try to do in theme files but google complains about it because we can't link the product schema whit the microdata or json+ld on .tpl (Really you can (@id or itemref) but it still complains because on product schema theres no direct ref to the reviews. So the best option is add to the module

rodriciru avatar Jun 09 '22 15:06 rodriciru