Sexy Golden Velvet Pants Suit
${function() {
const variantData = data.variant || {"id":"18b788a2-1200-4bab-9d93-9299ca778227","product_id":"6b8040e1-a082-47bc-ba82-6559c3ea97e1","title":"black-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"66210923883-black-3XL","barcode":"","position":1,"option1":"black","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2fc88636d26813fa28a7c3045492100.jpeg","path":"f2fc88636d26813fa28a7c3045492100.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.13,"min_quantity":1}],"weight":"0","compare_at_price":"37.2","price":"30.13","retail_price":"37.2","available":true,"url":"\/products\/two-piece-set-of-gold-velvet-for-autumn-and-winter?variant=18b788a2-1200-4bab-9d93-9299ca778227","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"3XL"}],"off_ratio":19,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"18b788a2-1200-4bab-9d93-9299ca778227","product_id":"6b8040e1-a082-47bc-ba82-6559c3ea97e1","title":"black-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"66210923883-black-3XL","barcode":"","position":1,"option1":"black","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2fc88636d26813fa28a7c3045492100.jpeg","path":"f2fc88636d26813fa28a7c3045492100.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.13,"min_quantity":1}],"weight":"0","compare_at_price":"37.2","price":"30.13","retail_price":"37.2","available":true,"url":"\/products\/two-piece-set-of-gold-velvet-for-autumn-and-winter?variant=18b788a2-1200-4bab-9d93-9299ca778227","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"3XL"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}