How To Add A Custom Social Media Share Icon On Product Page

Hello

I want add a Trustpilot review button to the row of share icons that sit underneath the Add to Cart button.

The HTML for the Trustpilot button would be;

<div class="trustpilot-widget" data-locale="en-GB" data-template-id="5419b757fa0340045cd0c938" data-businessunit-id="56fd0a6d0000ff00058adc93" data-style-height="25px" data-style-width="100%"> <a href="https://uk.trustpilot.com/review/www.digitalsave.co.uk" target="_blank">Trustpilota> div>

Please add:

#file and full path

design/themes/[THEME_NAME]/templates/addons/my_changes/hooks/products/buttons_block.post.tpl

#content

{if $details_page}
[YOUR_CONTENT]

{/if}

My Changes add-on is required to be active

I hope that helps,

---

Valentin
part of hungryweb.net