[특별 할인] H3726 Golf Shoes Women's Anti slip Head Layer Cowhide Golf Women's Shoes
${function() {
const variantData = data.variant || {"id":"2bb01ef7-5534-49ab-9e70-438809eef5ec","product_id":"e0776a42-2f5a-4a2b-afd0-d3a091ecdf61","title":"\u7eff\u8272-36","weight_unit":"kg","inventory_quantity":29,"sku":"H3726#P350\u7279260-\u7eff\u8272-36-A0011748","barcode":"","position":1,"option1":"\u7eff\u8272","option2":"36","option3":"","note":"","image":null,"wholesale_price":[{"price":62,"min_quantity":1}],"weight":"1.2","compare_at_price":"0","price":"62","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-h3726-golf-shoes-womens-anti-slip-head-layer-cowhide-golf-womens-shoes?variant=2bb01ef7-5534-49ab-9e70-438809eef5ec","available_quantity":29,"options":[{"name":"\u989c\u8272","value":"\u7eff\u8272"},{"name":"\u5c3a\u7801","value":"36"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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}
`
}()}
尺码:
36
${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
$62.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":"2bb01ef7-5534-49ab-9e70-438809eef5ec","product_id":"e0776a42-2f5a-4a2b-afd0-d3a091ecdf61","title":"\u7eff\u8272-36","weight_unit":"kg","inventory_quantity":29,"sku":"H3726#P350\u7279260-\u7eff\u8272-36-A0011748","barcode":"","position":1,"option1":"\u7eff\u8272","option2":"36","option3":"","note":"","image":null,"wholesale_price":[{"price":62,"min_quantity":1}],"weight":"1.2","compare_at_price":"0","price":"62","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-h3726-golf-shoes-womens-anti-slip-head-layer-cowhide-golf-womens-shoes?variant=2bb01ef7-5534-49ab-9e70-438809eef5ec","available_quantity":29,"options":[{"name":"\u989c\u8272","value":"\u7eff\u8272"},{"name":"\u5c3a\u7801","value":"36"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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":"2bb01ef7-5534-49ab-9e70-438809eef5ec","product_id":"e0776a42-2f5a-4a2b-afd0-d3a091ecdf61","title":"\u7eff\u8272-36","weight_unit":"kg","inventory_quantity":29,"sku":"H3726#P350\u7279260-\u7eff\u8272-36-A0011748","barcode":"","position":1,"option1":"\u7eff\u8272","option2":"36","option3":"","note":"","image":null,"wholesale_price":[{"price":62,"min_quantity":1}],"weight":"1.2","compare_at_price":"0","price":"62","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-h3726-golf-shoes-womens-anti-slip-head-layer-cowhide-golf-womens-shoes?variant=2bb01ef7-5534-49ab-9e70-438809eef5ec","available_quantity":29,"options":[{"name":"\u989c\u8272","value":"\u7eff\u8272"},{"name":"\u5c3a\u7801","value":"36"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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 `
`;
}()}