La La La Smartphone I12 Pro Max
${function() {
const variantData = data.variant || {"id":"69cb0a32-f75b-430f-b557-90750c06d6f6","product_id":"b62ff708-86da-4e19-b399-30fe325e9643","title":"Black-China-American","weight_unit":"kg","inventory_quantity":100000,"sku":"Black-China-AmericanA0224910","barcode":"","position":4,"option1":"Black","option2":"China","option3":"American","note":"","image":{"src":"\/\/img.staticdj.com\/fedfcfc89c803892de451617877fd8c6.jpeg","path":"fedfcfc89c803892de451617877fd8c6.jpeg","width":1500,"height":1500,"alt":"La La La Smartphone I12 Pro Max James Yang","aspect_ratio":1},"wholesale_price":[{"price":118,"min_quantity":1}],"weight":"5","compare_at_price":"236","price":"118","retail_price":"236","available":true,"url":"\/products\/smartphone-i12-pro-max-smart-phone-face-unlocked-5mp13mp-android-432g-ram-68inch-water-drop-screen-cell-phone-telephone-k5jc?variant=69cb0a32-f75b-430f-b557-90750c06d6f6","available_quantity":100000,"options":[{"name":"Color","value":"Black"},{"name":"Ships From","value":"China"},{"name":"Plug standard","value":"American"}],"off_ratio":50,"flashsale_info":[],"sales":1001};
const saveType = "amount";
const productLabelDiscountOn = true;
const map = {
B: ``,
C: ``,
A: `
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`
}
const price_group_arr = ["B","C","A"];
const price_str_arr = price_group_arr.map(type => map[type]);
return `
-
${price_str_arr.join('')}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const variantData = data.variant || {"id":"69cb0a32-f75b-430f-b557-90750c06d6f6","product_id":"b62ff708-86da-4e19-b399-30fe325e9643","title":"Black-China-American","weight_unit":"kg","inventory_quantity":100000,"sku":"Black-China-AmericanA0224910","barcode":"","position":4,"option1":"Black","option2":"China","option3":"American","note":"","image":{"src":"\/\/img.staticdj.com\/fedfcfc89c803892de451617877fd8c6.jpeg","path":"fedfcfc89c803892de451617877fd8c6.jpeg","width":1500,"height":1500,"alt":"La La La Smartphone I12 Pro Max James Yang","aspect_ratio":1},"wholesale_price":[{"price":118,"min_quantity":1}],"weight":"5","compare_at_price":"236","price":"118","retail_price":"236","available":true,"url":"\/products\/smartphone-i12-pro-max-smart-phone-face-unlocked-5mp13mp-android-432g-ram-68inch-water-drop-screen-cell-phone-telephone-k5jc?variant=69cb0a32-f75b-430f-b557-90750c06d6f6","available_quantity":100000,"options":[{"name":"Color","value":"Black"},{"name":"Ships From","value":"China"},{"name":"Plug standard","value":"American"}],"off_ratio":50,"flashsale_info":[],"sales":1001};
return `
Inventory : ${variantData && variantData.available_quantity}
`
}()}
Product was out of stock.
Product does not exist
SKU : Black-China-AmericanA0224910
Weight : 5kg
${function(){
const variantData = data.variant || {"id":"69cb0a32-f75b-430f-b557-90750c06d6f6","product_id":"b62ff708-86da-4e19-b399-30fe325e9643","title":"Black-China-American","weight_unit":"kg","inventory_quantity":100000,"sku":"Black-China-AmericanA0224910","barcode":"","position":4,"option1":"Black","option2":"China","option3":"American","note":"","image":{"src":"\/\/img.staticdj.com\/fedfcfc89c803892de451617877fd8c6.jpeg","path":"fedfcfc89c803892de451617877fd8c6.jpeg","width":1500,"height":1500,"alt":"La La La Smartphone I12 Pro Max James Yang","aspect_ratio":1},"wholesale_price":[{"price":118,"min_quantity":1}],"weight":"5","compare_at_price":"236","price":"118","retail_price":"236","available":true,"url":"\/products\/smartphone-i12-pro-max-smart-phone-face-unlocked-5mp13mp-android-432g-ram-68inch-water-drop-screen-cell-phone-telephone-k5jc?variant=69cb0a32-f75b-430f-b557-90750c06d6f6","available_quantity":100000,"options":[{"name":"Color","value":"Black"},{"name":"Ships From","value":"China"},{"name":"Plug standard","value":"American"}],"off_ratio":50,"flashsale_info":[],"sales":1001};
return `
SKU : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}