Muška taktička majica s kapuljačom
Sada na akciji: kupi jedan, dobi drugi gratis
${function() {
const variantData = data.variant || {"id":"de914b88-3e58-4a8b-9e7c-38f4da45b444","product_id":"1d200cf7-3758-446a-b244-0275167857aa","title":"Zelena-Zelena-S","weight_unit":"kg","inventory_quantity":0,"sku":"TB-LMWY-HS-S","barcode":"","position":1,"option1":"Zelena","option2":"Zelena","option3":"S","note":"","image":{"src":"\/\/img.staticdj.com\/614854d3187071e445b566b62e96472a.png","path":"614854d3187071e445b566b62e96472a.png","width":595,"height":596,"alt":"","aspect_ratio":0.9983221476510067},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/meski-taktyczny-sweter-z-kapturem-2023-nowy-cieply-wyprzedaz-m7mv?variant=de914b88-3e58-4a8b-9e7c-38f4da45b444","available_quantity":999999999,"options":[{"name":"Boja#1","value":"Zelena"},{"name":"Boja#2","value":"Zelena"},{"name":"veli\u010dina","value":"S"}],"off_ratio":"0","flashsale_info":{"variant_id":"de914b88-3e58-4a8b-9e7c-38f4da45b444","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":"45","compare_at_price":"","discount_price":"45","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","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 productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Boja#1:
Zelena
${function(){
const optName = "Boja#1";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Molimo odaberite {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Boja#2:
Zelena
${function(){
const optName = "Boja#2";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Molimo odaberite {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Veličina:
S
${function(){
const optName = "veličina";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Molimo odaberite {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Dodaj u košaricu
€45.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":"de914b88-3e58-4a8b-9e7c-38f4da45b444","product_id":"1d200cf7-3758-446a-b244-0275167857aa","title":"Zelena-Zelena-S","weight_unit":"kg","inventory_quantity":0,"sku":"TB-LMWY-HS-S","barcode":"","position":1,"option1":"Zelena","option2":"Zelena","option3":"S","note":"","image":{"src":"\/\/img.staticdj.com\/614854d3187071e445b566b62e96472a.png","path":"614854d3187071e445b566b62e96472a.png","width":595,"height":596,"alt":"","aspect_ratio":0.9983221476510067},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/meski-taktyczny-sweter-z-kapturem-2023-nowy-cieply-wyprzedaz-m7mv?variant=de914b88-3e58-4a8b-9e7c-38f4da45b444","available_quantity":999999999,"options":[{"name":"Boja#1","value":"Zelena"},{"name":"Boja#2","value":"Zelena"},{"name":"veli\u010dina","value":"S"}],"off_ratio":"0","flashsale_info":{"variant_id":"de914b88-3e58-4a8b-9e7c-38f4da45b444","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":"45","compare_at_price":"","discount_price":"45","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","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 ? `
` : ' ';
}
}()}
Kupi odmah
Proizvod nije bio na zalihi.
Proizvod nije dostupan.
${function(){
const variantData = data.variant || {"id":"de914b88-3e58-4a8b-9e7c-38f4da45b444","product_id":"1d200cf7-3758-446a-b244-0275167857aa","title":"Zelena-Zelena-S","weight_unit":"kg","inventory_quantity":0,"sku":"TB-LMWY-HS-S","barcode":"","position":1,"option1":"Zelena","option2":"Zelena","option3":"S","note":"","image":{"src":"\/\/img.staticdj.com\/614854d3187071e445b566b62e96472a.png","path":"614854d3187071e445b566b62e96472a.png","width":595,"height":596,"alt":"","aspect_ratio":0.9983221476510067},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/meski-taktyczny-sweter-z-kapturem-2023-nowy-cieply-wyprzedaz-m7mv?variant=de914b88-3e58-4a8b-9e7c-38f4da45b444","available_quantity":999999999,"options":[{"name":"Boja#1","value":"Zelena"},{"name":"Boja#2","value":"Zelena"},{"name":"veli\u010dina","value":"S"}],"off_ratio":"0","flashsale_info":{"variant_id":"de914b88-3e58-4a8b-9e7c-38f4da45b444","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":"45","compare_at_price":"","discount_price":"45","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
`
}()}