BA-BK4 4-leaf barn door kit, to be installed on front of the standard bowens reflector in the package.
${function() {
const variantData = data.variant || {"id":"b93c5a84-ade2-4ac4-a5da-7ac791f3c551","product_id":"ae166125-e76b-4796-87a2-89de438aa4e5","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"BA-BK4","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":44,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"44","retail_price":"88","available":true,"url":"\/products\/ba-bk4-4-leaf-barn-door-kit-to-be-installed-on-front-of-the-standard-bowens-reflector-in-the-package?variant=b93c5a84-ade2-4ac4-a5da-7ac791f3c551","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":3};
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('')}
`;
}()}
Product was out of stock.
Product does not exist
${function(){
const variantData = data.variant || {"id":"b93c5a84-ade2-4ac4-a5da-7ac791f3c551","product_id":"ae166125-e76b-4796-87a2-89de438aa4e5","title":"","weight_unit":"kg","inventory_quantity":0,"sku":"BA-BK4","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":44,"min_quantity":1}],"weight":"0","compare_at_price":"88","price":"44","retail_price":"88","available":true,"url":"\/products\/ba-bk4-4-leaf-barn-door-kit-to-be-installed-on-front-of-the-standard-bowens-reflector-in-the-package?variant=b93c5a84-ade2-4ac4-a5da-7ac791f3c551","available_quantity":999999999,"options":[],"off_ratio":50,"flashsale_info":[],"sales":3};
return `
SKU : ${variantData && variantData.sku}
`
}()}