Add Tag weborama

This commit is contained in:
Michael RICOIS 2017-06-02 15:36:20 +02:00
parent ead411f255
commit 41c4c13089
2 changed files with 28 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class OrderConfirmationControllerCore extends FrontController
'HOOK_ORDER_CONFIRMATION' => $this->displayOrderConfirmation(),
'HOOK_PAYMENT_RETURN' => $this->displayPaymentReturn()
));
if ($this->context->customer->is_guest)
{
$order = new Order($this->id_order);

View File

@ -43,4 +43,30 @@
</p>
<div class="clear"></div>
</div>
<div class="bgOrderConfirmationBot"></div>
<div class="bgOrderConfirmationBot"></div>
<!-- CONVERSION TAG -->
{literal}
<script type="text/javascript" src="https://cstatic.weborama.fr/js/advertiserv2/adperf_conversion.js"></script>
<script type="text/javascript">
var adperftrackobj = {
client : "{/literal}{$client}{literal}",
amount : "{/literal}{$amount}{literal}",
invoice_id : "{/literal}{$invoice_id}{literal}",
quantity : {/literal}{$quantity}{literal},
is_client : {/literal}{$is_client}{literal},
,optional_parameters : {
"N1" : "0" /* to set */
,"N2" : "0" /* to set */
,"N3" : "0" /* to set */
/* to set free parameter follow this pattern : */
/* ,"customer_type" : "abc" */
}
/* don't edit below this point */
,fullhost : 'garancia.solution.weborama.fr'
,site : 4476
,conversion_page : 1
};
try{adperfTracker.track( adperftrackobj );}catch(err){}
</script>
{/literal}