Christmas gift Original YG1 T2829 Through Hole Taps M4 M5 M6 M8 M10 M12 M20 Upper Chip Removal High Hardness CNC Tip with Cobalt Wire Tapping
${function() {
const variantData = data.variant || {"id":"2115d948-c44e-4d3e-8d7b-37286ed0d341","product_id":"0c9410ae-4fd8-4a5c-a16b-13623d7172f7","title":"T2829-1pcs-M2X0.4","weight_unit":"g","inventory_quantity":182,"sku":"30644895-t2829-1pcs-m2x0.4","barcode":"","position":1,"option1":"T2829","option2":"1pcs","option3":"M2X0.4","note":"","image":null,"wholesale_price":[{"price":20.58,"min_quantity":1}],"weight":"0","compare_at_price":"30","price":"20.58","retail_price":"30","available":true,"url":"\/products\/original-yg1-t2829-through-hole-taps-m4-m5-m6-m8-m10-m12-m20-upper-chip-removal-high-hardness-cnc-tip-with-cobalt-wire-tapping?variant=2115d948-c44e-4d3e-8d7b-37286ed0d341","available_quantity":999999999,"options":[{"name":"Color","value":"T2829"},{"name":"Thread Diameter","value":"1pcs"},{"name":"Pitch","value":"M2X0.4"}],"off_ratio":31,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
T2829
${function(){
const optName = "Color";
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}
`
}()}
Thread Diameter:
1pcs
${function(){
const optName = "Thread Diameter";
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}
`
}()}
Pitch:
M2X0.4
${function(){
const optName = "Pitch";
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
$20.58
${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":"2115d948-c44e-4d3e-8d7b-37286ed0d341","product_id":"0c9410ae-4fd8-4a5c-a16b-13623d7172f7","title":"T2829-1pcs-M2X0.4","weight_unit":"g","inventory_quantity":182,"sku":"30644895-t2829-1pcs-m2x0.4","barcode":"","position":1,"option1":"T2829","option2":"1pcs","option3":"M2X0.4","note":"","image":null,"wholesale_price":[{"price":20.58,"min_quantity":1}],"weight":"0","compare_at_price":"30","price":"20.58","retail_price":"30","available":true,"url":"\/products\/original-yg1-t2829-through-hole-taps-m4-m5-m6-m8-m10-m12-m20-upper-chip-removal-high-hardness-cnc-tip-with-cobalt-wire-tapping?variant=2115d948-c44e-4d3e-8d7b-37286ed0d341","available_quantity":999999999,"options":[{"name":"Color","value":"T2829"},{"name":"Thread Diameter","value":"1pcs"},{"name":"Pitch","value":"M2X0.4"}],"off_ratio":31,"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":"2115d948-c44e-4d3e-8d7b-37286ed0d341","product_id":"0c9410ae-4fd8-4a5c-a16b-13623d7172f7","title":"T2829-1pcs-M2X0.4","weight_unit":"g","inventory_quantity":182,"sku":"30644895-t2829-1pcs-m2x0.4","barcode":"","position":1,"option1":"T2829","option2":"1pcs","option3":"M2X0.4","note":"","image":null,"wholesale_price":[{"price":20.58,"min_quantity":1}],"weight":"0","compare_at_price":"30","price":"20.58","retail_price":"30","available":true,"url":"\/products\/original-yg1-t2829-through-hole-taps-m4-m5-m6-m8-m10-m12-m20-upper-chip-removal-high-hardness-cnc-tip-with-cobalt-wire-tapping?variant=2115d948-c44e-4d3e-8d7b-37286ed0d341","available_quantity":999999999,"options":[{"name":"Color","value":"T2829"},{"name":"Thread Diameter","value":"1pcs"},{"name":"Pitch","value":"M2X0.4"}],"off_ratio":31,"flashsale_info":[],"sales":0};
return `
`
}()}
15 Days Return,100%Money Back
7*24h Service at:support@Beyprern.com
${function() {
const minDays = parseInt('7');
const maxDays = parseInt('15');
const customText = "Estimated Delivery\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + ' ')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + ' ');
return `
${tipText}
`;
}()}