🚗Fluorescencja nasadki zaworu opony samochodowej
${function() {
const variantData = data.variant || {"id":"bd75bce6-9b7d-4e75-a75f-b6c2851ba52e","product_id":"7007bfa8-5c5a-4253-a3b1-b84b23809a72","title":"czerwony-4","weight_unit":"kg","inventory_quantity":100,"sku":"tq36-czerw-4","barcode":"","position":1,"option1":"czerwony","option2":"4","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5340e8d50bac82a3cede6e4b62a8a26.jpeg","path":"d5340e8d50bac82a3cede6e4b62a8a26.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/car-tire-valve-cap-fluorescence?variant=bd75bce6-9b7d-4e75-a75f-b6c2851ba52e","available_quantity":999999999,"options":[{"name":"Kolor","value":"czerwony"},{"name":"ilo\u015b\u0107","value":"4"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Kolor:
czerwony
${function(){
const optName = "Kolor";
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}
`
}()}
Ilość:
4
${function(){
const optName = "ilość";
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
€22
${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":"bd75bce6-9b7d-4e75-a75f-b6c2851ba52e","product_id":"7007bfa8-5c5a-4253-a3b1-b84b23809a72","title":"czerwony-4","weight_unit":"kg","inventory_quantity":100,"sku":"tq36-czerw-4","barcode":"","position":1,"option1":"czerwony","option2":"4","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5340e8d50bac82a3cede6e4b62a8a26.jpeg","path":"d5340e8d50bac82a3cede6e4b62a8a26.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/car-tire-valve-cap-fluorescence?variant=bd75bce6-9b7d-4e75-a75f-b6c2851ba52e","available_quantity":999999999,"options":[{"name":"Kolor","value":"czerwony"},{"name":"ilo\u015b\u0107","value":"4"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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":"bd75bce6-9b7d-4e75-a75f-b6c2851ba52e","product_id":"7007bfa8-5c5a-4253-a3b1-b84b23809a72","title":"czerwony-4","weight_unit":"kg","inventory_quantity":100,"sku":"tq36-czerw-4","barcode":"","position":1,"option1":"czerwony","option2":"4","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d5340e8d50bac82a3cede6e4b62a8a26.jpeg","path":"d5340e8d50bac82a3cede6e4b62a8a26.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22","retail_price":"0","available":true,"url":"\/products\/car-tire-valve-cap-fluorescence?variant=bd75bce6-9b7d-4e75-a75f-b6c2851ba52e","available_quantity":999999999,"options":[{"name":"Kolor","value":"czerwony"},{"name":"ilo\u015b\u0107","value":"4"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}