GM Welding Wire Material D2 for Cold Working of 0.2/0.3/0.4/0.5/0.6mm Mold Laser Welding Filler 200pcs /1 Tube GMD2
${function() {
const variantData = data.variant || {"id":"bf8009a9-f08a-4777-a9a7-f186dab63eda","product_id":"ea4f1a0f-8fbe-4501-aa19-735f09f5604d","title":"0.2mm","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"0.2mm","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.8,"min_quantity":1}],"weight":"0","compare_at_price":"26.4","price":"19.80","retail_price":"26.4","available":true,"url":"\/products\/gm-welding-wire-material-d2-for-cold-working-of-0-2-0-3-0-4-0-5-0-6mm-mold-laser-welding-filler-200pcs-1-tube-gmd2-jz1c?variant=bf8009a9-f08a-4777-a9a7-f186dab63eda","available_quantity":999999999,"options":[{"name":"Diameter","value":"0.2mm"}],"off_ratio":"25","flashsale_info":{"variant_id":"bf8009a9-f08a-4777-a9a7-f186dab63eda","product_id":"","quantity":0,"discount_id":"5073d610-2ede-4575-8de1-0d7df7088160","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"50","discount_stock":-1,"ends_at":-1,"starts_at":1721119274,"allow_oversold":"uncheck","allocation_method":"none","price":"19.80","compare_at_price":"26.40","discount_price":"19.80","customary_saved_price":"6.60","customary_off_ratio":"25","discount_saved_price":"6.60","discount_off_ratio":"25","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"FLASH SELL","discount_quantity":0,"is_need_split":false},"sales":2};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Diameter:
0.2mm
${function(){
const optName = "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}
`
}()}
Add to cart
$19.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":"bf8009a9-f08a-4777-a9a7-f186dab63eda","product_id":"ea4f1a0f-8fbe-4501-aa19-735f09f5604d","title":"0.2mm","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"0.2mm","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.8,"min_quantity":1}],"weight":"0","compare_at_price":"26.4","price":"19.80","retail_price":"26.4","available":true,"url":"\/products\/gm-welding-wire-material-d2-for-cold-working-of-0-2-0-3-0-4-0-5-0-6mm-mold-laser-welding-filler-200pcs-1-tube-gmd2-jz1c?variant=bf8009a9-f08a-4777-a9a7-f186dab63eda","available_quantity":999999999,"options":[{"name":"Diameter","value":"0.2mm"}],"off_ratio":"25","flashsale_info":{"variant_id":"bf8009a9-f08a-4777-a9a7-f186dab63eda","product_id":"","quantity":0,"discount_id":"5073d610-2ede-4575-8de1-0d7df7088160","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"50","discount_stock":-1,"ends_at":-1,"starts_at":1721119274,"allow_oversold":"uncheck","allocation_method":"none","price":"19.80","compare_at_price":"26.40","discount_price":"19.80","customary_saved_price":"6.60","customary_off_ratio":"25","discount_saved_price":"6.60","discount_off_ratio":"25","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"FLASH SELL","discount_quantity":0,"is_need_split":false},"sales":2};
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":"bf8009a9-f08a-4777-a9a7-f186dab63eda","product_id":"ea4f1a0f-8fbe-4501-aa19-735f09f5604d","title":"0.2mm","weight_unit":"kg","inventory_quantity":999,"sku":"","barcode":"","position":1,"option1":"0.2mm","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.8,"min_quantity":1}],"weight":"0","compare_at_price":"26.4","price":"19.80","retail_price":"26.4","available":true,"url":"\/products\/gm-welding-wire-material-d2-for-cold-working-of-0-2-0-3-0-4-0-5-0-6mm-mold-laser-welding-filler-200pcs-1-tube-gmd2-jz1c?variant=bf8009a9-f08a-4777-a9a7-f186dab63eda","available_quantity":999999999,"options":[{"name":"Diameter","value":"0.2mm"}],"off_ratio":"25","flashsale_info":{"variant_id":"bf8009a9-f08a-4777-a9a7-f186dab63eda","product_id":"","quantity":0,"discount_id":"5073d610-2ede-4575-8de1-0d7df7088160","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":100,"discount_sales_rate":"50","discount_stock":-1,"ends_at":-1,"starts_at":1721119274,"allow_oversold":"uncheck","allocation_method":"none","price":"19.80","compare_at_price":"26.40","discount_price":"19.80","customary_saved_price":"6.60","customary_off_ratio":"25","discount_saved_price":"6.60","discount_off_ratio":"25","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"FLASH SELL","discount_quantity":0,"is_need_split":false},"sales":2};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}