Vire Posted May 5, 2014 Share Posted May 5, 2014 Hello there! I want to move the 5 star rating on this product created by the YOTPO module: http://gamelivery.com/en/tshirts/1-faded-short-sleeve-tshirts.html I just can disable it in the module configurations but i cant find the code of it in the product.tpl This is the Code for showing the stars: <div class="yotpo bottomLine" data-appkey="{$yotpoAppkey}" data-domain="{$yotpoDomain}" data-product-id="{$product.id_product}" data-product-models="" data-name="{$product.name|escape:'htmlall':'UTF-8'}" data-url="{$product.link|escape:'htmlall':'UTF-8'}" data-image-url="{$link->getImageLink($product.link_rewrite, $product.id_image, '')}" data-description="{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}" data-lang="{$yotpoLanguage|escape:'htmlall':'UTF-8'}" data-bread-crumbs=""> </div> I want to show them between the In Stock and the social sharing buttons. Could anyone tell me where i have to place it? My last try destroyed my product.tpl so im verry scared. Link to comment Share on other sites More sharing options...
NemoPS Posted May 5, 2014 Share Posted May 5, 2014 I believe you need to add a new hook to the module for that, probably hookproductactions, then copy the code from.. I believe hookExtraLeft, to that one, and transplant it in the end! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now