${function() {
const variantData = data.variant || {"id":"2d342f1f-f970-4d7a-bf68-bfe0666f94d1","product_id":"87be3fe9-e52d-4da9-a41d-51340e596010","title":"ROSSO-1 pz- 100*26cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!138526-C1240N4171S5084","barcode":"","position":1,"option1":"ROSSO","option2":"1 pz","option3":" 100*26cm","note":"\u7ea2\u8272\/100*26cm","image":{"src":"\/\/img.staticdj.com\/7303245168336b33bba55dac20c23739.jpeg","path":"7303245168336b33bba55dac20c23739.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14,"min_quantity":1}],"weight":"0.07","compare_at_price":"22","price":"14","retail_price":"22","available":true,"url":"\/products\/bastone-gonfiabile-per-bambini?variant=2d342f1f-f970-4d7a-bf68-bfe0666f94d1","available_quantity":999999999,"options":[{"name":"Colore","value":"ROSSO"},{"name":"Numero","value":"1 pz"},{"name":"Dimensioni","value":" 100*26cm"}],"off_ratio":"36","flashsale_info":{"variant_id":"2d342f1f-f970-4d7a-bf68-bfe0666f94d1","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"14","compare_at_price":"","discount_price":"14","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"36","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = "amount";
const saveText = "Salva {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Colore
: ROSSO
${function(){
const optName = "Colore";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Si prega di selezionare un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Numero
: 1 pz
${function(){
const optName = "Numero";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Si prega di selezionare un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Dimensioni
: 100*26cm
${function(){
const optName = "Dimensioni";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Si prega di selezionare un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Aggiungi al carrello
$14.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":"2d342f1f-f970-4d7a-bf68-bfe0666f94d1","product_id":"87be3fe9-e52d-4da9-a41d-51340e596010","title":"ROSSO-1 pz- 100*26cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!138526-C1240N4171S5084","barcode":"","position":1,"option1":"ROSSO","option2":"1 pz","option3":" 100*26cm","note":"\u7ea2\u8272\/100*26cm","image":{"src":"\/\/img.staticdj.com\/7303245168336b33bba55dac20c23739.jpeg","path":"7303245168336b33bba55dac20c23739.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14,"min_quantity":1}],"weight":"0.07","compare_at_price":"22","price":"14","retail_price":"22","available":true,"url":"\/products\/bastone-gonfiabile-per-bambini?variant=2d342f1f-f970-4d7a-bf68-bfe0666f94d1","available_quantity":999999999,"options":[{"name":"Colore","value":"ROSSO"},{"name":"Numero","value":"1 pz"},{"name":"Dimensioni","value":" 100*26cm"}],"off_ratio":"36","flashsale_info":{"variant_id":"2d342f1f-f970-4d7a-bf68-bfe0666f94d1","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"14","compare_at_price":"","discount_price":"14","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"36","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"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 ? `
` : ' ';
}
}()}
Acquista ora
Il prodotto era esaurito.
Il prodotto non è disponibile.
Sku : CY-!138526-C1240N4171S5084
Il peso : 0.07kg
${function(){
const variantData = data.variant || {"id":"2d342f1f-f970-4d7a-bf68-bfe0666f94d1","product_id":"87be3fe9-e52d-4da9-a41d-51340e596010","title":"ROSSO-1 pz- 100*26cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!138526-C1240N4171S5084","barcode":"","position":1,"option1":"ROSSO","option2":"1 pz","option3":" 100*26cm","note":"\u7ea2\u8272\/100*26cm","image":{"src":"\/\/img.staticdj.com\/7303245168336b33bba55dac20c23739.jpeg","path":"7303245168336b33bba55dac20c23739.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14,"min_quantity":1}],"weight":"0.07","compare_at_price":"22","price":"14","retail_price":"22","available":true,"url":"\/products\/bastone-gonfiabile-per-bambini?variant=2d342f1f-f970-4d7a-bf68-bfe0666f94d1","available_quantity":999999999,"options":[{"name":"Colore","value":"ROSSO"},{"name":"Numero","value":"1 pz"},{"name":"Dimensioni","value":" 100*26cm"}],"off_ratio":"36","flashsale_info":{"variant_id":"2d342f1f-f970-4d7a-bf68-bfe0666f94d1","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"14","compare_at_price":"","discount_price":"14","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"36","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Sku : ${variantData && variantData.sku}
Il peso : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
codice a barre : ${variantData && variantData.barcode}
`
}()}