Drill grinders for twist pieces
${function() {
const variantData = data.variant || {"id":"78331270-b007-4d36-93ea-2fdab674f352","product_id":"082bac45-085a-41ec-96e2-c790312a8483","title":"US","weight_unit":"kg","inventory_quantity":1000,"sku":"QA2070013-\u6b27\u89c4\u5706\u63d2-1","barcode":"","position":1,"option1":"US","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7d4bc7ecf39ae17c0ecf6d907b96d803.jpeg","path":"7d4bc7ecf39ae17c0ecf6d907b96d803.jpeg","width":502,"height":493,"alt":"","aspect_ratio":1.0182555780933062},"wholesale_price":[{"price":88,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"88","retail_price":"88","available":true,"url":"\/products\/drill-grinders-for-twist-piecesd1cf7f05-2b7a-4d5d-b187-49a53fd4d141?variant=78331270-b007-4d36-93ea-2fdab674f352","available_quantity":999999999,"options":[{"name":"style","value":"US"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
US
${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}
`
}()}
people are viewing this right now
Add to cart
$88.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":"78331270-b007-4d36-93ea-2fdab674f352","product_id":"082bac45-085a-41ec-96e2-c790312a8483","title":"US","weight_unit":"kg","inventory_quantity":1000,"sku":"QA2070013-\u6b27\u89c4\u5706\u63d2-1","barcode":"","position":1,"option1":"US","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7d4bc7ecf39ae17c0ecf6d907b96d803.jpeg","path":"7d4bc7ecf39ae17c0ecf6d907b96d803.jpeg","width":502,"height":493,"alt":"","aspect_ratio":1.0182555780933062},"wholesale_price":[{"price":88,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"88","retail_price":"88","available":true,"url":"\/products\/drill-grinders-for-twist-piecesd1cf7f05-2b7a-4d5d-b187-49a53fd4d141?variant=78331270-b007-4d36-93ea-2fdab674f352","available_quantity":999999999,"options":[{"name":"style","value":"US"}],"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 ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"78331270-b007-4d36-93ea-2fdab674f352","product_id":"082bac45-085a-41ec-96e2-c790312a8483","title":"US","weight_unit":"kg","inventory_quantity":1000,"sku":"QA2070013-\u6b27\u89c4\u5706\u63d2-1","barcode":"","position":1,"option1":"US","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7d4bc7ecf39ae17c0ecf6d907b96d803.jpeg","path":"7d4bc7ecf39ae17c0ecf6d907b96d803.jpeg","width":502,"height":493,"alt":"","aspect_ratio":1.0182555780933062},"wholesale_price":[{"price":88,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"88","retail_price":"88","available":true,"url":"\/products\/drill-grinders-for-twist-piecesd1cf7f05-2b7a-4d5d-b187-49a53fd4d141?variant=78331270-b007-4d36-93ea-2fdab674f352","available_quantity":999999999,"options":[{"name":"style","value":"US"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}