Simulación de maceta de varios cabezales
${function() {
const variantData = data.variant || {"id":"2d9850d4-07ec-443d-87ff-852262697325","product_id":"ebe57cbc-3169-4eea-8eb7-b082bf546bed","title":"Rosa","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!148599-C1253","barcode":"","position":1,"option1":"Rosa","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7fa4ebd6704dde9c8fd5f8e207f0981d.jpeg","path":"7fa4ebd6704dde9c8fd5f8e207f0981d.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":100,"min_quantity":1}],"weight":"0.05","compare_at_price":"190","price":"100","retail_price":"190","available":true,"url":"\/products\/simulacion-de-maceta-de-varios-cabezales?variant=2d9850d4-07ec-443d-87ff-852262697325","available_quantity":999999999,"options":[{"name":"Color","value":"Rosa"}],"off_ratio":47,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Por favor seleccione un {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
El producto estaba agotado.
El producto no está disponible.
Sku : CY-!148599-C1253
Peso : 0.05kg
${function(){
const variantData = data.variant || {"id":"2d9850d4-07ec-443d-87ff-852262697325","product_id":"ebe57cbc-3169-4eea-8eb7-b082bf546bed","title":"Rosa","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!148599-C1253","barcode":"","position":1,"option1":"Rosa","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7fa4ebd6704dde9c8fd5f8e207f0981d.jpeg","path":"7fa4ebd6704dde9c8fd5f8e207f0981d.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":100,"min_quantity":1}],"weight":"0.05","compare_at_price":"190","price":"100","retail_price":"190","available":true,"url":"\/products\/simulacion-de-maceta-de-varios-cabezales?variant=2d9850d4-07ec-443d-87ff-852262697325","available_quantity":999999999,"options":[{"name":"Color","value":"Rosa"}],"off_ratio":47,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Peso : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Código de barras : ${variantData && variantData.barcode}
`
}()}