80W Laser Module Optical Power 10W Laser Engraver
${function() {
const variantData = data.variant || {"id":"965927f3-afa4-4305-a1c6-071a4390a2c5","product_id":"cce90a90-6798-42f8-ba30-b0b72ec7cbac","title":"From CHINA","weight_unit":"kg","inventory_quantity":100,"sku":"LM-80w-bp","barcode":"","position":1,"option1":"From CHINA","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":214.8,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"214.8","retail_price":"0","available":true,"url":"\/products\/80w-laser-module-optical-power-10w-laser-engraver?variant=965927f3-afa4-4305-a1c6-071a4390a2c5","available_quantity":100,"options":[{"name":"80W","value":"From CHINA"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
80W:
From CHINA
${function(){
const optName = "80W";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Добавить в корзину
$214.80
${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":"965927f3-afa4-4305-a1c6-071a4390a2c5","product_id":"cce90a90-6798-42f8-ba30-b0b72ec7cbac","title":"From CHINA","weight_unit":"kg","inventory_quantity":100,"sku":"LM-80w-bp","barcode":"","position":1,"option1":"From CHINA","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":214.8,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"214.8","retail_price":"0","available":true,"url":"\/products\/80w-laser-module-optical-power-10w-laser-engraver?variant=965927f3-afa4-4305-a1c6-071a4390a2c5","available_quantity":100,"options":[{"name":"80W","value":"From CHINA"}],"off_ratio":0,"flashsale_info":[],"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 ? `
` : ' ';
}
}()}
Купи сейчас
Товара не было в наличии.
Продукт недоступен.
${function(){
const variantData = data.variant || {"id":"965927f3-afa4-4305-a1c6-071a4390a2c5","product_id":"cce90a90-6798-42f8-ba30-b0b72ec7cbac","title":"From CHINA","weight_unit":"kg","inventory_quantity":100,"sku":"LM-80w-bp","barcode":"","position":1,"option1":"From CHINA","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":214.8,"min_quantity":1}],"weight":"0.5","compare_at_price":"0","price":"214.8","retail_price":"0","available":true,"url":"\/products\/80w-laser-module-optical-power-10w-laser-engraver?variant=965927f3-afa4-4305-a1c6-071a4390a2c5","available_quantity":100,"options":[{"name":"80W","value":"From CHINA"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}