Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Chris Beardsley
Added: Oct 10, 2018 1:46 PM
Views: 1
Tags: no tags
  1. function(){
  2.   var product_ids = [];
  3.   for(var i = 0; i < {{DLV - ecommerce.checkout.products}}.length; i++){
  4.     product_ids.push({{DLV - ecommerce.checkout.products}}[i].id);
  5.   }
  6.   return product_ids;
  7. }