HAYATSUKI GTX
AJUNGI LA CEL MAI PERSONAL ȘI TEHNIC ULEI
${function() {
const variantData = data.variant || {"id":"ea40065c-e4c8-4e87-9be8-f58b8a8f889b","product_id":"8c83e363-42b8-4292-88e6-20a1d26ca687","title":"Due paia di calzini marca AKU-Blu-arancio-38","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Dou\u0103 perechi de \u0219osete marca AKU","option2":"Albastru-portocaliu","option3":"38","note":"","image":null,"wholesale_price":[{"price":450,"min_quantity":1}],"weight":"0","compare_at_price":"1900","price":"450","retail_price":"1900","available":true,"url":"\/products\/aku-elica-hayatsuki-gtx?variant=ea40065c-e4c8-4e87-9be8-f58b8a8f889b","available_quantity":999999999,"options":[{"name":"cadou","value":"Dou\u0103 perechi de \u0219osete marca AKU"},{"name":"culoare","value":"Albastru-portocaliu"},{"name":"selec\u021bia m\u0103rimii","value":"38"}],"off_ratio":76,"flashsale_info":[],"sales":31};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Cadou:
Două perechi de șosete marca AKU
${function(){
const optName = "cadou";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "V\u0103 rug\u0103m s\u0103 selecta\u021bi un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Culoare:
Albastru-portocaliu
${function(){
const optName = "culoare";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "V\u0103 rug\u0103m s\u0103 selecta\u021bi un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Selecția Mărimii:
38
${function(){
const optName = "selecția mărimii";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "V\u0103 rug\u0103m s\u0103 selecta\u021bi un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Adaugă in coş
lei450.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":"ea40065c-e4c8-4e87-9be8-f58b8a8f889b","product_id":"8c83e363-42b8-4292-88e6-20a1d26ca687","title":"Due paia di calzini marca AKU-Blu-arancio-38","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Dou\u0103 perechi de \u0219osete marca AKU","option2":"Albastru-portocaliu","option3":"38","note":"","image":null,"wholesale_price":[{"price":450,"min_quantity":1}],"weight":"0","compare_at_price":"1900","price":"450","retail_price":"1900","available":true,"url":"\/products\/aku-elica-hayatsuki-gtx?variant=ea40065c-e4c8-4e87-9be8-f58b8a8f889b","available_quantity":999999999,"options":[{"name":"cadou","value":"Dou\u0103 perechi de \u0219osete marca AKU"},{"name":"culoare","value":"Albastru-portocaliu"},{"name":"selec\u021bia m\u0103rimii","value":"38"}],"off_ratio":76,"flashsale_info":[],"sales":31};
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 ? `
` : ' ';
}
}()}
Cumpărați acum
Produsul era epuizat.
Produsul este indisponibil.
${function(){
const variantData = data.variant || {"id":"ea40065c-e4c8-4e87-9be8-f58b8a8f889b","product_id":"8c83e363-42b8-4292-88e6-20a1d26ca687","title":"Due paia di calzini marca AKU-Blu-arancio-38","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Dou\u0103 perechi de \u0219osete marca AKU","option2":"Albastru-portocaliu","option3":"38","note":"","image":null,"wholesale_price":[{"price":450,"min_quantity":1}],"weight":"0","compare_at_price":"1900","price":"450","retail_price":"1900","available":true,"url":"\/products\/aku-elica-hayatsuki-gtx?variant=ea40065c-e4c8-4e87-9be8-f58b8a8f889b","available_quantity":999999999,"options":[{"name":"cadou","value":"Dou\u0103 perechi de \u0219osete marca AKU"},{"name":"culoare","value":"Albastru-portocaliu"},{"name":"selec\u021bia m\u0103rimii","value":"38"}],"off_ratio":76,"flashsale_info":[],"sales":31};
return `
Sku : ${variantData && variantData.sku}
Greutate : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Cod de bare : ${variantData && variantData.barcode}
`
}()}