Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function() {
- var ecommerce = JSON.parse(JSON.stringify({{dlv - ecommerce v1 - TEST}}));
- return ecommerce.items.map(function(prod) {
- return {
- item_name: prod.item_name,
- item_id: prod.item_id,
- item_brand: prod.item_brand,
- item_category: prod.item_category,
- price: prod.price,
- quantity: ecommerce.add.products[0].quantity,
- };
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement