[특별 할인] Discount LB054/LB052 round necked dovetail knitted top fluffy knitted half skirt women's set
${function() {
const variantData = data.variant || {"id":"58aed431-c3f7-41af-a4da-46e1cc8fff4b","product_id":"cb4f3a66-0e03-4ade-9c01-4cdddfa9290b","title":"\u7c73\u8272-S-\u4e0a\u8863","weight_unit":"kg","inventory_quantity":8,"sku":"LB054-00150\/LB052-00180\u6253\u6298100-\u7c73\u8272-S-\u4e0a\u8863-A0011730","barcode":"","position":1,"option1":"\u7c73\u8272","option2":"S","option3":"\u4e0a\u8863","note":"","image":{"src":"\/\/img.staticdj.com\/8e39e3dc4eeceeb8a6b34a12c41b152d.jpg","path":"8e39e3dc4eeceeb8a6b34a12c41b152d.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-discount-lb054-lb052-round-necked-dovetail-knitted-top-fluffy-knitted-half-skirt-womens-set?variant=58aed431-c3f7-41af-a4da-46e1cc8fff4b","available_quantity":8,"options":[{"name":"\u989c\u8272","value":"\u7c73\u8272"},{"name":"\u5c3a\u5bf8","value":"S"},{"name":"\u5957\u88c5","value":"\u4e0a\u8863"}],"off_ratio":0,"flashsale_info":[],"sales":7};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
颜色:
米色
${function(){
const optName = "颜色";
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}
`
}()}
尺寸:
S
${function(){
const optName = "尺寸";
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}
`
}()}
套装:
上衣
${function(){
const optName = "套装";
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
$29.00
${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":"58aed431-c3f7-41af-a4da-46e1cc8fff4b","product_id":"cb4f3a66-0e03-4ade-9c01-4cdddfa9290b","title":"\u7c73\u8272-S-\u4e0a\u8863","weight_unit":"kg","inventory_quantity":8,"sku":"LB054-00150\/LB052-00180\u6253\u6298100-\u7c73\u8272-S-\u4e0a\u8863-A0011730","barcode":"","position":1,"option1":"\u7c73\u8272","option2":"S","option3":"\u4e0a\u8863","note":"","image":{"src":"\/\/img.staticdj.com\/8e39e3dc4eeceeb8a6b34a12c41b152d.jpg","path":"8e39e3dc4eeceeb8a6b34a12c41b152d.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-discount-lb054-lb052-round-necked-dovetail-knitted-top-fluffy-knitted-half-skirt-womens-set?variant=58aed431-c3f7-41af-a4da-46e1cc8fff4b","available_quantity":8,"options":[{"name":"\u989c\u8272","value":"\u7c73\u8272"},{"name":"\u5c3a\u5bf8","value":"S"},{"name":"\u5957\u88c5","value":"\u4e0a\u8863"}],"off_ratio":0,"flashsale_info":[],"sales":7};
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":"58aed431-c3f7-41af-a4da-46e1cc8fff4b","product_id":"cb4f3a66-0e03-4ade-9c01-4cdddfa9290b","title":"\u7c73\u8272-S-\u4e0a\u8863","weight_unit":"kg","inventory_quantity":8,"sku":"LB054-00150\/LB052-00180\u6253\u6298100-\u7c73\u8272-S-\u4e0a\u8863-A0011730","barcode":"","position":1,"option1":"\u7c73\u8272","option2":"S","option3":"\u4e0a\u8863","note":"","image":{"src":"\/\/img.staticdj.com\/8e39e3dc4eeceeb8a6b34a12c41b152d.jpg","path":"8e39e3dc4eeceeb8a6b34a12c41b152d.jpg","width":1512,"height":2016,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"29","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-discount-lb054-lb052-round-necked-dovetail-knitted-top-fluffy-knitted-half-skirt-womens-set?variant=58aed431-c3f7-41af-a4da-46e1cc8fff4b","available_quantity":8,"options":[{"name":"\u989c\u8272","value":"\u7c73\u8272"},{"name":"\u5c3a\u5bf8","value":"S"},{"name":"\u5957\u88c5","value":"\u4e0a\u8863"}],"off_ratio":0,"flashsale_info":[],"sales":7};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}