luckystarok-TM Women's summer casual 2 piece set👗
${function() {
const variantData = data.variant || {"id":"8cc9d27b-2489-49c1-ac7d-3561d29f0346","product_id":"d20076b8-04a6-47b1-af8b-6153e663238d","title":"Black-S\/ UK 8","weight_unit":"kg","inventory_quantity":1000,"sku":"WT1728141-\u9ed1\u8272_S","barcode":"","position":1,"option1":"Black","option2":"S\/ UK 8","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9adff3fb59fbb7137fa4cc0e5d6aab6.jpeg","path":"e9adff3fb59fbb7137fa4cc0e5d6aab6.jpeg","width":563,"height":750,"alt":"","aspect_ratio":0.7506666666666667},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"36.89","retail_price":"69.99","available":true,"url":"\/products\/womens-summer-casual-2-piece-set-2197061da-df0a-4620-b03f-204a5f828371?variant=8cc9d27b-2489-49c1-ac7d-3561d29f0346","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black"},{"name":"SIZE\uff08UK\uff09","value":"S\/ UK 8"}],"off_ratio":47,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${function(){
const optName = "COLOR";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size(Uk):
S/ UK 8
${function(){
const optName = "SIZE(UK)";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$36.89
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"8cc9d27b-2489-49c1-ac7d-3561d29f0346","product_id":"d20076b8-04a6-47b1-af8b-6153e663238d","title":"Black-S\/ UK 8","weight_unit":"kg","inventory_quantity":1000,"sku":"WT1728141-\u9ed1\u8272_S","barcode":"","position":1,"option1":"Black","option2":"S\/ UK 8","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9adff3fb59fbb7137fa4cc0e5d6aab6.jpeg","path":"e9adff3fb59fbb7137fa4cc0e5d6aab6.jpeg","width":563,"height":750,"alt":"","aspect_ratio":0.7506666666666667},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"36.89","retail_price":"69.99","available":true,"url":"\/products\/womens-summer-casual-2-piece-set-2197061da-df0a-4620-b03f-204a5f828371?variant=8cc9d27b-2489-49c1-ac7d-3561d29f0346","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black"},{"name":"SIZE\uff08UK\uff09","value":"S\/ UK 8"}],"off_ratio":47,"flashsale_info":[],"sales":0};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"8cc9d27b-2489-49c1-ac7d-3561d29f0346","product_id":"d20076b8-04a6-47b1-af8b-6153e663238d","title":"Black-S\/ UK 8","weight_unit":"kg","inventory_quantity":1000,"sku":"WT1728141-\u9ed1\u8272_S","barcode":"","position":1,"option1":"Black","option2":"S\/ UK 8","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9adff3fb59fbb7137fa4cc0e5d6aab6.jpeg","path":"e9adff3fb59fbb7137fa4cc0e5d6aab6.jpeg","width":563,"height":750,"alt":"","aspect_ratio":0.7506666666666667},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"36.89","retail_price":"69.99","available":true,"url":"\/products\/womens-summer-casual-2-piece-set-2197061da-df0a-4620-b03f-204a5f828371?variant=8cc9d27b-2489-49c1-ac7d-3561d29f0346","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black"},{"name":"SIZE\uff08UK\uff09","value":"S\/ UK 8"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}