【1 set】Angle belt sander
Free shipping. Cash on delivery.
${function() {
const variantData = data.variant || {"id":"c92e04dc-60b6-477a-9cd8-700f0f4f2ca7","product_id":"06f71b19-6c18-434e-b285-250358beb8e5","title":"1 set","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"1 set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1d099e876b1e3b8db93ac535bfd7a4a.png","path":"c1d099e876b1e3b8db93ac535bfd7a4a.png","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"78","price":"28","retail_price":"78","available":true,"url":"\/products\/1-set-angle-belt-sander?variant=c92e04dc-60b6-477a-9cd8-700f0f4f2ca7","available_quantity":999999999,"options":[{"name":"Specification","value":"1 set"}],"off_ratio":64,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Specification:
1 set
${function(){
const optName = "Specification";
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
€28.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":"c92e04dc-60b6-477a-9cd8-700f0f4f2ca7","product_id":"06f71b19-6c18-434e-b285-250358beb8e5","title":"1 set","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"1 set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1d099e876b1e3b8db93ac535bfd7a4a.png","path":"c1d099e876b1e3b8db93ac535bfd7a4a.png","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"78","price":"28","retail_price":"78","available":true,"url":"\/products\/1-set-angle-belt-sander?variant=c92e04dc-60b6-477a-9cd8-700f0f4f2ca7","available_quantity":999999999,"options":[{"name":"Specification","value":"1 set"}],"off_ratio":64,"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 ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"c92e04dc-60b6-477a-9cd8-700f0f4f2ca7","product_id":"06f71b19-6c18-434e-b285-250358beb8e5","title":"1 set","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"1 set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1d099e876b1e3b8db93ac535bfd7a4a.png","path":"c1d099e876b1e3b8db93ac535bfd7a4a.png","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"78","price":"28","retail_price":"78","available":true,"url":"\/products\/1-set-angle-belt-sander?variant=c92e04dc-60b6-477a-9cd8-700f0f4f2ca7","available_quantity":999999999,"options":[{"name":"Specification","value":"1 set"}],"off_ratio":64,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}