Commit 995c7e614dad311589481fe1f4459c156d1370ef

Authored by Alex Savenko
1 parent a9a77ea3

remarketing

Showing 1 changed file with 11 additions and 11 deletions   Show diff stats
frontend/views/order/success.php
@@ -13,19 +13,19 @@ @@ -13,19 +13,19 @@
13 $this->params['remarketing']['type'] = 'conversion'; 13 $this->params['remarketing']['type'] = 'conversion';
14 $this->params['remarketing']['id'] = ''; 14 $this->params['remarketing']['id'] = '';
15 $this->params['remarketing']['price'] = ''; 15 $this->params['remarketing']['price'] = '';
16 - if (count($variants) > 1) {  
17 - foreach ($variants as $variant) {  
18 - $this->params['remarketing']['id'][] = $variant['product_id'];  
19 - $this->params['remarketing']['price'][] = $variant['price'];  
20 - }  
21 - }  
22 - else {  
23 - $this->params['remarketing']['id'] = $variants[0]['product_id'];  
24 - $this->params['remarketing']['price'] = $variants[0]['price'];  
25 - }  
26 - 16 +// if (count($variants) > 1) {
  17 +// foreach ($variants as $variant) {
  18 +// $this->params['remarketing']['id'][] = $variant['product_id'];
  19 +// $this->params['remarketing']['price'][] = $variant['price'];
  20 +// }
  21 +// }
  22 +// else {
  23 +// $this->params['remarketing']['id'] = $variants[0]['product_id'];
  24 +// $this->params['remarketing']['price'] = $variants[0]['price'];
  25 +// }
27 26
28 ?> 27 ?>
  28 +<!--<div><?= var_dump($order_data); ?></div>-->
29 <div class="block-100"> 29 <div class="block-100">
30 <div class="container"> 30 <div class="container">
31 <div class="col-xs-12"> 31 <div class="col-xs-12">