Personalized checkout and custom promotions with Shopify Scripts
Can you please tell me if you see a wrnong at these two scripts?
<script>
skroutz_analytics('ecommerce', 'addOrder', {
order_id: {{order.order_number}}, // Order ID. Required.
revenue: {{order.total_price}}, // Grand Total. Includes Tax and Shipping. Does not include payment costs.
shipping: {{order.shipping_price}}, // Total Shipping Cost. Does not include payment costs.
tax: {{order.tax_price}} // Total Tax.
});
</script>
<script>
skroutz_analytics('ecommerce', 'addItem', {
order_id: {{order.order_number}}, // Order ID. Required.
product_id: {{product.id}}, // Product ID. Required.
name: {{line_item.title}}, // Product Name. Required.
price: {{line_item.original_price}}, // Price per Unit. Required.
quantity: {{line.item_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