what do the {} mean for var ShopLogicOptions = {};
I have been searching on the net but that is a hard one to search for!
Is it declaring ShopLogicOptions as an object?
var ShopLogicOptions = {};
ShopLogicOptions.params = {orderId: '" + SS_JS_OrderNo + "', cartItems:[''], subTotal:'',
grandTotal:'', shippingTotal:'', discount:'', discountCode:'', productSku:'',
productName:'', productCategory:''};
Also, how do I properly insert my SS_JS_OrderNo javascript variable?
Derek has the correct answer. It’s JSON (javascript object notation) you’re right it’s hard to google for. Check out this reference for more on JSON syntax: http://www.w3schools.com/json/json_syntax.asp