Hi all,
When you're within a product page in your 3D Cart store (like Product A) it has AddThis buttons (Like, Tweet, Pinterest, email this product, etc.). Great!
I wanted those same buttons to show on our Category pages, too...not just the product pages. That way someone can "Like" or "Tweet" or "Pin" (etc.) the category page.
The strange this is that when I added the following code to the Category_0 template, it somehow puts a weird "code" in the URL (after .com):
<tr><!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_button_pinterest_pinit"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50c8ba066b0e6595"></script>
<!-- AddThis Button END --></tr>
Before adding this code, the URL would be something like:
[mywebsite].com/Category.html
After adding the above code, that URL now shows as:
[mywebsite].com/Category.html#.UMi-j3f7690
Anyone know why this is happening and what I could do to not have this happen?
Thanks in advance!
James
When you're within a product page in your 3D Cart store (like Product A) it has AddThis buttons (Like, Tweet, Pinterest, email this product, etc.). Great!
I wanted those same buttons to show on our Category pages, too...not just the product pages. That way someone can "Like" or "Tweet" or "Pin" (etc.) the category page.
The strange this is that when I added the following code to the Category_0 template, it somehow puts a weird "code" in the URL (after .com):
<tr><!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_button_pinterest_pinit"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50c8ba066b0e6595"></script>
<!-- AddThis Button END --></tr>
Before adding this code, the URL would be something like:
[mywebsite].com/Category.html
After adding the above code, that URL now shows as:
[mywebsite].com/Category.html#.UMi-j3f7690
Anyone know why this is happening and what I could do to not have this happen?
Thanks in advance!
James
Comment