Sexy Golden Velvet Pants Suit
${function() {
const variantData = data.variant || {"id":"d49f2a3f-2090-4a21-9121-474bef4a575f","product_id":"6b8040e1-a082-47bc-ba82-6559c3ea97e1","title":"gray-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"66210923883-gray-3XL","barcode":"","position":17,"option1":"gray","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73bd2800c0ca1644fdb0e927e7bf143f.jpeg","path":"73bd2800c0ca1644fdb0e927e7bf143f.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=d49f2a3f-2090-4a21-9121-474bef4a575f","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"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":"d49f2a3f-2090-4a21-9121-474bef4a575f","product_id":"6b8040e1-a082-47bc-ba82-6559c3ea97e1","title":"gray-3XL","weight_unit":"kg","inventory_quantity":0,"sku":"66210923883-gray-3XL","barcode":"","position":17,"option1":"gray","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/73bd2800c0ca1644fdb0e927e7bf143f.jpeg","path":"73bd2800c0ca1644fdb0e927e7bf143f.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=d49f2a3f-2090-4a21-9121-474bef4a575f","available_quantity":999999999,"options":[{"name":"color","value":"gray"},{"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 `
`;
}()}