mancup
#1
Hello
I want to be able to use {$order_info.total} on my product page
located here : design/themes/responsive/templates/block/product_templates.tpl
Actually it doesn't work because product page is not allowed to display {$order_info.total}.
I just want to activate this possibilities probably in fn_cart or fn_xxxxx
Can please someone help me to do so
Best regards
Aymeric JALABERT
Hello
I want to be able to use {$order_info.total} on my product page
located here : design/themes/responsive/templates/block/product_templates.tpl
Actually it doesn't work because product page is not allowed to display {$order_info.total}.
I just want to activate this possibilities probably in fn_cart or fn_xxxxx
Can please someone help me to do so
Best regards
Aymeric JALABERT
if you want to display cart total amount on the product details page, please try
{include file="common/price.tpl" value=$smarty.session.cart.total}
mancup
#3
Hello,
You mean sometjhing like :
{include file="common/price.tpl" value=$smarty.session.cart.total}
{$order_info.total}
In fact I need {$order_info.total} to use with GOOGLE REMARKETING on product page
Aymeric
Hello,
You mean sometjhing like :
{include file="common/price.tpl" value=$smarty.session.cart.total}
{$order_info.total}
In fact I need {$order_info.total} to use with GOOGLE REMARKETING on product page
Aymeric
Please clarify
1. Customer does not have orders.
What value should be displayed in this case on the product details page?
2. Customer has 3 orders (USD 10, 20 and 30)
What value should be displayed in this case on the product details page?
Please also pay attention to 3rd party modules on the marketplace which can integrate remarketing in one click
mazter
#5
Hello,
You mean sometjhing like :
{include file="common/price.tpl" value=$smarty.session.cart.total}
{$order_info.total}
In fact I need {$order_info.total} to use with GOOGLE REMARKETING on product page
Aymeric
If you want Google Remarketing, you can add this to your scripts.post.tpl
I have been using it for couple of years and it works like champion.
{if $runtime.controller eq 'checkout' && $runtime.mode ne 'complete'}
{capture name="cart_order_info"}
{foreach from=$cart_products item="item" name="products"}
'{$item.product_code}'{if not $smarty.foreach.products.last},{/if}
{/foreach}
{/capture}
{/if}
{if $runtime.controller eq 'checkout' && $runtime.mode eq 'complete'}
{capture name="checkout_order_info"}
{foreach from=$order_info.items item="item" name="products"}
'{$item.product_code}'{if not $smarty.foreach.products.last},{/if}
{/foreach}
{/capture}
{/if}
{literal}