I know add-this has been thrashed to death over the years but most threads are related to using isnotpreview blocks rather than the operation of the add-this scripts.
I am adding add-this to a client site which has multiple products on a page. I want to be able to place the add-this buttons on each product so that when you click on Facebook for example the script picks up the correct product name and image.
All I can get working is that the script picks up the first found image on the page rather than the product image (in most cases an image from the best sellers list in the sidebar). The pop up facebook posting page also seems to retail it's cache as well.
Does anyone have this working in this way that can assist?
The script is the latest available as follows:
I am adding add-this to a client site which has multiple products on a page. I want to be able to place the add-this buttons on each product so that when you click on Facebook for example the script picks up the correct product name and image.
All I can get working is that the script picks up the first found image on the page rather than the product image (in most cases an image from the best sellers list in the sidebar). The pop up facebook posting page also seems to retail it's cache as well.
Does anyone have this working in this way that can assist?
The script is the latest available as follows:
Code:
<!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> <a class="addthis_counter addthis_bubble_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=xxxxxxxx"></script> <!-- AddThis Button END -->
Comment