${function() {
const variantData = data.variant || {"id":"b8f73f19-bb43-47e1-bc12-e51eda036ca8","product_id":"aa7db7e6-c09a-4ed9-ae2d-67c2f2207e44","title":"Welding machine + 5 welding rods","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Welding machine + 5 welding rods","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":1450,"min_quantity":1}],"weight":"0","compare_at_price":"3000","price":"1450","retail_price":"3000","available":true,"url":"\/products\/handheld-arc-welding-machine-110v-digital-intelligent-current-thrust-power-steel-welding-machine-suitable-for-2-5mm-electrode-4600w-semi-automatic-welding-equipment?variant=b8f73f19-bb43-47e1-bc12-e51eda036ca8","available_quantity":999999999,"options":[{"name":"Style","value":"Welding machine + 5 welding rods"}],"off_ratio":52,"flashsale_info":[],"sales":1631};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Style
: Welding machine + 5 welding rods
${function(){
const optName = "Style";
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
₵1,450.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":"b8f73f19-bb43-47e1-bc12-e51eda036ca8","product_id":"aa7db7e6-c09a-4ed9-ae2d-67c2f2207e44","title":"Welding machine + 5 welding rods","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Welding machine + 5 welding rods","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":1450,"min_quantity":1}],"weight":"0","compare_at_price":"3000","price":"1450","retail_price":"3000","available":true,"url":"\/products\/handheld-arc-welding-machine-110v-digital-intelligent-current-thrust-power-steel-welding-machine-suitable-for-2-5mm-electrode-4600w-semi-automatic-welding-equipment?variant=b8f73f19-bb43-47e1-bc12-e51eda036ca8","available_quantity":999999999,"options":[{"name":"Style","value":"Welding machine + 5 welding rods"}],"off_ratio":52,"flashsale_info":[],"sales":1631};
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 {
return `
`
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"b8f73f19-bb43-47e1-bc12-e51eda036ca8","product_id":"aa7db7e6-c09a-4ed9-ae2d-67c2f2207e44","title":"Welding machine + 5 welding rods","weight_unit":"g","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Welding machine + 5 welding rods","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":1450,"min_quantity":1}],"weight":"0","compare_at_price":"3000","price":"1450","retail_price":"3000","available":true,"url":"\/products\/handheld-arc-welding-machine-110v-digital-intelligent-current-thrust-power-steel-welding-machine-suitable-for-2-5mm-electrode-4600w-semi-automatic-welding-equipment?variant=b8f73f19-bb43-47e1-bc12-e51eda036ca8","available_quantity":999999999,"options":[{"name":"Style","value":"Welding machine + 5 welding rods"}],"off_ratio":52,"flashsale_info":[],"sales":1631};
return `
`
}()}
Free returns and exchanges