${function() {
const variantData = data.variant || {"id":"95dd6d2c-4fc2-486a-996c-eda49559eab6","product_id":"65fd0f86-c6b8-4295-a90f-4a9cb8a300d7","title":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)-Photo Color","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option2":"Photo Color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/684ee04a23da3cd9c92647cf7592a230.jpeg","path":"684ee04a23da3cd9c92647cf7592a230.jpeg","width":1200,"height":1596,"alt":"","aspect_ratio":0.7518796992481203},"wholesale_price":[{"price":54.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"54.99","retail_price":"0","available":true,"url":"\/products\/fashion-women-denim-jacket6edcbe37-7fb5-41fa-83e7-5504d4aa3542?variant=95dd6d2c-4fc2-486a-996c-eda49559eab6","available_quantity":999999999,"options":[{"name":"Size","value":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)"},{"name":"Color","value":"Photo Color"}],"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 + '%'
: ` `
)}
`;
}()}
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)
3XL(Fit for EU 48-50, US 16-18, UK/AU 20-22, IT 52-54)
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Color
: Photo Color
${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}
`
}()}
Add to cart
$54.99
${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":"95dd6d2c-4fc2-486a-996c-eda49559eab6","product_id":"65fd0f86-c6b8-4295-a90f-4a9cb8a300d7","title":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)-Photo Color","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option2":"Photo Color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/684ee04a23da3cd9c92647cf7592a230.jpeg","path":"684ee04a23da3cd9c92647cf7592a230.jpeg","width":1200,"height":1596,"alt":"","aspect_ratio":0.7518796992481203},"wholesale_price":[{"price":54.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"54.99","retail_price":"0","available":true,"url":"\/products\/fashion-women-denim-jacket6edcbe37-7fb5-41fa-83e7-5504d4aa3542?variant=95dd6d2c-4fc2-486a-996c-eda49559eab6","available_quantity":999999999,"options":[{"name":"Size","value":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)"},{"name":"Color","value":"Photo Color"}],"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":"95dd6d2c-4fc2-486a-996c-eda49559eab6","product_id":"65fd0f86-c6b8-4295-a90f-4a9cb8a300d7","title":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)-Photo Color","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option2":"Photo Color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/684ee04a23da3cd9c92647cf7592a230.jpeg","path":"684ee04a23da3cd9c92647cf7592a230.jpeg","width":1200,"height":1596,"alt":"","aspect_ratio":0.7518796992481203},"wholesale_price":[{"price":54.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"54.99","retail_price":"0","available":true,"url":"\/products\/fashion-women-denim-jacket6edcbe37-7fb5-41fa-83e7-5504d4aa3542?variant=95dd6d2c-4fc2-486a-996c-eda49559eab6","available_quantity":999999999,"options":[{"name":"Size","value":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)"},{"name":"Color","value":"Photo Color"}],"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