diff --git a/templates/components/common/share.html b/templates/components/common/share.html index dee1c94340..1244506c74 100644 --- a/templates/components/common/share.html +++ b/templates/components/common/share.html @@ -1,57 +1,90 @@ {{#if settings.add_this.buttons}} -
+ {{assignVar 'encodedUrl' (encodeURI url)}} + {{assignVar 'encodedTitle' (encodeURI head.title)}} +
- -
{{/if}} {{#if settings.facebook_like_button.enabled}} diff --git a/templates/components/products/product-view.html b/templates/components/products/product-view.html index 456befb2b9..3be04e722e 100644 --- a/templates/components/products/product-view.html +++ b/templates/components/products/product-view.html @@ -249,9 +249,7 @@

components/common/wishlist-dropdown}} {{/if}}

- {{#unless is_ajax}} - {{> components/common/share}} - {{/unless}} + {{> components/common/share url=product.url}}