Personalized checkout and custom promotions with Shopify Scripts
Good morning,
I try to connect my store that is in shopify with skroutz but by putting the following commands the second part does not read it. I have tried everything. Does anyone have a similar problem?
<script>
skroutz_analytics('ecommerce', 'addOrder',({
order_id: '{{ order.name }}', // Order ID. Required.
revenue: '{{ checkout.total_price | money}}', // Grand Total. Includes Tax and Shipping. Does not include payment costs.
shipping: '{{ shipping_method.price | money }}', // Total Shipping Cost. Does not include payment costs.
tax: '{{ checkout.tax_price | money }}' // Total Tax.
}));
</script>
<script>
skroutz_analytics('ecommerce', 'addItem',({
order_id: '{{ order.name }}', // Order ID. Required.
product_id: '{{ id }}', // Product ID. Required.
name: '{{product_name}}' , // Product Name. Required.
price: '{{ price | money }}', // Price per Unit. Required.
quantity: '{{ quantity }}' // Quantity of Items. Required.
}));
</script>
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024