BladeLogo decoration (2 pcs)
${function() {
const variantData = data.variant || {"id":"693b60d5-767f-4870-85cb-49db8ac1f24b","product_id":"31a137b7-d084-4e89-bf3f-a1d5f9bd956f","title":"Fekete-Alfa","weight_unit":"kg","inventory_quantity":979,"sku":"","barcode":"","position":1,"option1":"Fekete","option2":"Alfa","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0af400430096815739a9c154784128f5.webp","path":"0af400430096815739a9c154784128f5.webp","width":600,"height":597,"alt":"","aspect_ratio":1.0050251256281406},"wholesale_price":[{"price":36,"min_quantity":1}],"weight":"0","compare_at_price":"19500","price":"36","retail_price":"19500","available":true,"url":"\/products\/bladelogo-dekoracio-2-db-86rd?variant=693b60d5-767f-4870-85cb-49db8ac1f24b","available_quantity":999999999,"options":[{"name":"Color","value":"Fekete"},{"name":"Log\u00f3","value":"Alfa"}],"off_ratio":"100","flashsale_info":{"variant_id":"693b60d5-767f-4870-85cb-49db8ac1f24b","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":"36","compare_at_price":"","discount_price":"36","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"100","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":1184};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Fekete
${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 = "K\u00e9rj\u00fck, v\u00e1lasszon egy {{ name }} nevet".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Logó:
Alfa
${function(){
const optName = "Logó";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "K\u00e9rj\u00fck, v\u00e1lasszon egy {{ name }} nevet".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Kosárba
Ft36
${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":"693b60d5-767f-4870-85cb-49db8ac1f24b","product_id":"31a137b7-d084-4e89-bf3f-a1d5f9bd956f","title":"Fekete-Alfa","weight_unit":"kg","inventory_quantity":979,"sku":"","barcode":"","position":1,"option1":"Fekete","option2":"Alfa","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0af400430096815739a9c154784128f5.webp","path":"0af400430096815739a9c154784128f5.webp","width":600,"height":597,"alt":"","aspect_ratio":1.0050251256281406},"wholesale_price":[{"price":36,"min_quantity":1}],"weight":"0","compare_at_price":"19500","price":"36","retail_price":"19500","available":true,"url":"\/products\/bladelogo-dekoracio-2-db-86rd?variant=693b60d5-767f-4870-85cb-49db8ac1f24b","available_quantity":999999999,"options":[{"name":"Color","value":"Fekete"},{"name":"Log\u00f3","value":"Alfa"}],"off_ratio":"100","flashsale_info":{"variant_id":"693b60d5-767f-4870-85cb-49db8ac1f24b","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":"36","compare_at_price":"","discount_price":"36","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"100","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":1184};
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 ? `
` : ' ';
}
}()}
Vásároljon most
A termék nem volt raktáron.
A termék nem elérhető.
${function(){
const variantData = data.variant || {"id":"693b60d5-767f-4870-85cb-49db8ac1f24b","product_id":"31a137b7-d084-4e89-bf3f-a1d5f9bd956f","title":"Fekete-Alfa","weight_unit":"kg","inventory_quantity":979,"sku":"","barcode":"","position":1,"option1":"Fekete","option2":"Alfa","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0af400430096815739a9c154784128f5.webp","path":"0af400430096815739a9c154784128f5.webp","width":600,"height":597,"alt":"","aspect_ratio":1.0050251256281406},"wholesale_price":[{"price":36,"min_quantity":1}],"weight":"0","compare_at_price":"19500","price":"36","retail_price":"19500","available":true,"url":"\/products\/bladelogo-dekoracio-2-db-86rd?variant=693b60d5-767f-4870-85cb-49db8ac1f24b","available_quantity":999999999,"options":[{"name":"Color","value":"Fekete"},{"name":"Log\u00f3","value":"Alfa"}],"off_ratio":"100","flashsale_info":{"variant_id":"693b60d5-767f-4870-85cb-49db8ac1f24b","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":"36","compare_at_price":"","discount_price":"36","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"100","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":1184};
return `
SKU : ${variantData && variantData.sku}
Súly : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Vonalkód : ${variantData && variantData.barcode}
`
}()}