shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

success.twig (1294B)


      1 {{ header }}
      2 <div id="common-success" class="container">
      3   <ul class="breadcrumb">
      4     {% for breadcrumb in breadcrumbs %}
      5     <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li>
      6     {% endfor %}
      7   </ul>
      8   <div class="row">{{ column_left }}
      9     {% if column_left and column_right %}
     10     {% set class = 'col-sm-6' %}
     11     {% elseif column_left or column_right %}
     12     {% set class = 'col-sm-9' %}
     13     {% else %}
     14     {% set class = 'col-sm-12' %}
     15     {% endif %}
     16     <div id="content" class="{{ class }}">{{ content_top }}
     17       <h1>{{ heading_title }}</h1>
     18       {{ text_message }}
     19       <div class="buttons">
     20         <div class="pull-right"><a href="{{ continue }}" class="btn btn-primary">{{ button_continue }}</a></div>
     21       </div>
     22       {{ content_bottom }}</div>
     23     {{ column_right }}</div>
     24 </div>
     25 {% if transaction_id is defined %}
     26 	transaction ID = {{ transaction_id }}
     27 	cart Total = {{ cart_total }}
     28 	Use these values if needed as parameter in tag.js
     29 	for example:
     30 	<!-- Event snippet for Example conversion page -->
     31     <script>
     32       gtag('event', 'conversion', {'send_to': 'AW-756781091/j04XCObimKkBEKOg7ugC',
     33         'value': {{ cart_total }},
     34         'currency': 'BGN',
     35         'transaction_id': '{{ transaction_id }}'
     36       });
     37     </script>
     38 {% endif %}
     39 {{ footer }}