add an ADDTHIS social bookmark link to your products

[quote name='colortone' timestamp='1327535264' post='129957'] If you want it in the detail page, I think this code should be inside the tag “product-info” on the “default_template.tpl” file located at “skins/your-skin/customers/blocks/product_templates” folder. Try to place right before closing the tag [/quote]



like this?



{hook name="products:view_main_info"}

{if $product}
{assign var="obj_id" value=$product.product_id}
{include file="common_templates/product_data.tpl" product=$product}
{assign var="form_open" value="form_open_`$obj_id`"}
{$smarty.capture.$form_open}

{if !$no_images}

{include file="views/products/components/product_images.tpl" product=$product show_detailed_link="Y"}

{/if}


{$product.product|unescape}


{assign var="rating" value="rating_`$obj_id`"}{$smarty.capture.$rating}
{assign var="sku" value="sku_$obj_id"}{$smarty.capture.$sku}



{assign var="old_price" value="old_price_`$obj_id`"}
{assign var="price" value="price_`$obj_id`"}
{assign var="clean_price" value="clean_price_`$obj_id`"}
{assign var="list_discount" value="list_discount_`$obj_id`"}
{assign var="discount_label" value="discount_label_`$obj_id`"}

{if $smarty.capture.$old_price|trim || $smarty.capture.$clean_price|trim || $smarty.capture.$list_discount|trim}

{if $smarty.capture.$old_price|trim}{$smarty.capture.$old_price} {/if}
{/if}

{if !$smarty.capture.$old_price|trim || $details_page}

{/if}
{$smarty.capture.$price}
{if !$smarty.capture.$old_price|trim || $details_page}

{/if}

{if $smarty.capture.$old_price|trim || $smarty.capture.$clean_price|trim || $smarty.capture.$list_discount|trim}
{$smarty.capture.$clean_price}
{$smarty.capture.$list_discount}

{/if}
{if $show_discount_label && $smarty.capture.$discount_label|trim}

{$smarty.capture.$discount_label}

{/if}


{if $capture_options_vs_qty}{capture name="product_options"}{/if}

{assign var="product_amount" value="product_amount_`$obj_id`"}
{$smarty.capture.$product_amount}

{assign var="product_options" value="product_options_`$obj_id`"}
{$smarty.capture.$product_options}

{assign var="qty" value="qty_`$obj_id`"}
{$smarty.capture.$qty}

{assign var="advanced_options" value="advanced_options_`$obj_id`"}
{$smarty.capture.$advanced_options}
{if $capture_options_vs_qty}{/capture}{/if}

{assign var="min_qty" value="min_qty_`$obj_id`"}
{$smarty.capture.$min_qty}

{assign var="product_edp" value="product_edp_`$obj_id`"}
{$smarty.capture.$product_edp}

{if $capture_buttons}{capture name="buttons"}{/if}

{assign var="add_to_cart" value="add_to_cart_`$obj_id`"}
{$smarty.capture.$add_to_cart}

{assign var="list_buttons" value="list_buttons_`$obj_id`"}
{$smarty.capture.$list_buttons}

{if $capture_buttons}{/capture}{/if}














{assign var="form_close" value="form_close_`$obj_id`"}
{$smarty.capture.$form_close}
{/if}

{/hook}

yes, the idea is th have it in the product-main-info area.

I found the block method much easier…

Hi I was reading this thread and a different one and when I enter the code under the design block products it tells me this:



[color=#000000][font=arial, verdana, arial, helvetica, sans-serif][size=2]

Content: html block[/size][/font][/color][color=#000000][font=arial, verdana, arial, helvetica, sans-serif][size=2]

Wrapper: blocks/wrappers/mainbox_simple.tpl[/size][/font][/color][color=#000000][font=arial, verdana, arial, helvetica, sans-serif][size=3]

Please switch to products details page to add block content.[size=2]

Assigned to 0 objects[/size]

[size=2]

[size=3]Can anyone direct me in what i am missing or doing incorrectly? Thank you[/size][/size]



[/size][/font][/color]

[quote name=‘shopmemento’ timestamp=‘1329938935’ post=‘131852’]

Hi I was reading this thread and a different one and when I enter the code under the design block products it tells me this:





[color=#000000][font=arial, verdana, arial, helvetica, sans-serif][size=2]Content: html block[/size][/font][/color]

[color=#000000][font=arial, verdana, arial, helvetica, sans-serif][size=2]Wrapper: blocks/wrappers/mainbox_simple.tpl[/size][/font][/color]

[color=#000000][font=arial, verdana, arial, helvetica, sans-serif][size=3]Please switch to products details page to add block content.

[size=2]Assigned to 0 objects[/size]



[size=2][size=3]Can anyone direct me in what i am missing or doing incorrectly? Thank you[/size][/size][/size][/font][/color]





[/quote]



You have to assign the block to all your products :)

[quote name='websmart' timestamp='1288809929' post='93686']

Hi,

I've followed the instructions on how to add “addthis” snipet, everything works except when I click on share with facebook it does not display the product image, instead it displays a side banner image from the right column!!

Could you suggest a fix?

You can take a look at it here.

[url=“http://alturl.com/woogj”]http://alturl.com/woogj[/url]



Thanks

[/quote]

I have the same problem! any solution for this problem?