${function() {
const variantData = data.variant || {"id":"a6959afe-b6e3-42fd-b99e-dcdc9ed032c7","product_id":"b6d7b4e8-1a6c-4a67-8333-f1560216c9ea","title":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","weight_unit":"kg","inventory_quantity":1000,"sku":"Frenc-176-S(Fit for -001","barcode":"","position":1,"option1":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45aec212733b95f3e40224ce3352eaff.jpeg","path":"45aec212733b95f3e40224ce3352eaff.jpeg","width":714,"height":1000,"alt":"","aspect_ratio":0.714},"wholesale_price":[{"price":60.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"60.96","retail_price":"0","available":true,"url":"\/products\/french-v-neck-print-side-open-cotton-long-dress-summer005848ab-ac74-4ece-bfd5-995ee6ef4484?variant=a6959afe-b6e3-42fd-b99e-dcdc9ed032c7","available_quantity":999999999,"options":[{"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 + '%'
: ` `
)}
`;
}()}
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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$60.96
${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":"a6959afe-b6e3-42fd-b99e-dcdc9ed032c7","product_id":"b6d7b4e8-1a6c-4a67-8333-f1560216c9ea","title":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","weight_unit":"kg","inventory_quantity":1000,"sku":"Frenc-176-S(Fit for -001","barcode":"","position":1,"option1":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45aec212733b95f3e40224ce3352eaff.jpeg","path":"45aec212733b95f3e40224ce3352eaff.jpeg","width":714,"height":1000,"alt":"","aspect_ratio":0.714},"wholesale_price":[{"price":60.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"60.96","retail_price":"0","available":true,"url":"\/products\/french-v-neck-print-side-open-cotton-long-dress-summer005848ab-ac74-4ece-bfd5-995ee6ef4484?variant=a6959afe-b6e3-42fd-b99e-dcdc9ed032c7","available_quantity":999999999,"options":[{"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":"a6959afe-b6e3-42fd-b99e-dcdc9ed032c7","product_id":"b6d7b4e8-1a6c-4a67-8333-f1560216c9ea","title":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","weight_unit":"kg","inventory_quantity":1000,"sku":"Frenc-176-S(Fit for -001","barcode":"","position":1,"option1":"S(Fit for EU 38-40, US 6-8, UK\/AU 10-12, IT 42-44)","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/45aec212733b95f3e40224ce3352eaff.jpeg","path":"45aec212733b95f3e40224ce3352eaff.jpeg","width":714,"height":1000,"alt":"","aspect_ratio":0.714},"wholesale_price":[{"price":60.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"60.96","retail_price":"0","available":true,"url":"\/products\/french-v-neck-print-side-open-cotton-long-dress-summer005848ab-ac74-4ece-bfd5-995ee6ef4484?variant=a6959afe-b6e3-42fd-b99e-dcdc9ed032c7","available_quantity":999999999,"options":[{"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