${function() {
const variantData = data.variant || {"id":"d7acf5cd-fbdf-418b-8d99-fb13eeee405d","product_id":"4761b5a9-fe6b-40d6-bdf4-f245e62f639a","title":"Orange-S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","weight_unit":"kg","inventory_quantity":1000,"sku":"XXYR-24012326","barcode":"XXYR-24012326","position":1,"option1":"Orange","option2":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5f4768c829583355633ef7ed6311f49.jpeg","path":"c5f4768c829583355633ef7ed6311f49.jpeg","width":610,"height":854,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"58","retail_price":"0","available":true,"url":"\/products\/modern-orange-peter-pan-collar-button-down-knit-cardigan-winter47bd32ef-e599-43d9-996d-8d4a22375da0?variant=d7acf5cd-fbdf-418b-8d99-fb13eeee405d","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: Orange
${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
: S(Fit for EU 38-40, US 6-8, UK/AU 10-12, IT 42-44)
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
S(Fit for EU 38-40, US 6-8, UK/AU 10-12, IT 42-44)
M(Fit for EU 40-42, US 8-10, UK/AU 12-14, IT 44-46)
L(Fit for EU 42-44, US 10-12, UK/AU 14-16, IT 46-48 )
XL(Fit for EU 44-46, US 12-14, UK/AU 16-18, IT 48-50)
2XL(Fit for EU 46-48, US 14-16, UK/AU 18-20, IT 50-52)
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$58.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":"d7acf5cd-fbdf-418b-8d99-fb13eeee405d","product_id":"4761b5a9-fe6b-40d6-bdf4-f245e62f639a","title":"Orange-S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","weight_unit":"kg","inventory_quantity":1000,"sku":"XXYR-24012326","barcode":"XXYR-24012326","position":1,"option1":"Orange","option2":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5f4768c829583355633ef7ed6311f49.jpeg","path":"c5f4768c829583355633ef7ed6311f49.jpeg","width":610,"height":854,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"58","retail_price":"0","available":true,"url":"\/products\/modern-orange-peter-pan-collar-button-down-knit-cardigan-winter47bd32ef-e599-43d9-996d-8d4a22375da0?variant=d7acf5cd-fbdf-418b-8d99-fb13eeee405d","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)"}],"off_ratio":0,"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":"d7acf5cd-fbdf-418b-8d99-fb13eeee405d","product_id":"4761b5a9-fe6b-40d6-bdf4-f245e62f639a","title":"Orange-S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","weight_unit":"kg","inventory_quantity":1000,"sku":"XXYR-24012326","barcode":"XXYR-24012326","position":1,"option1":"Orange","option2":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c5f4768c829583355633ef7ed6311f49.jpeg","path":"c5f4768c829583355633ef7ed6311f49.jpeg","width":610,"height":854,"alt":"","aspect_ratio":0.7142857142857143},"wholesale_price":[{"price":58,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"58","retail_price":"0","available":true,"url":"\/products\/modern-orange-peter-pan-collar-button-down-knit-cardigan-winter47bd32ef-e599-43d9-996d-8d4a22375da0?variant=d7acf5cd-fbdf-418b-8d99-fb13eeee405d","available_quantity":999999999,"options":[{"name":"Color","value":"Orange"},{"name":"Size","value":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
people are viewing this right now