${function() {
const variantData = data.variant || {"id":"17486982-79f2-4c6e-967e-f4ecb4ab6f7a","product_id":"3da32ce5-5321-485b-bd98-88332ae59c06","title":"As Picture-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542986818621833216","barcode":"","position":1,"option1":"As Picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42e5d28d069182332e0b85f1d42c9cdc.jpeg","path":"42e5d28d069182332e0b85f1d42c9cdc.jpeg","width":600,"height":800,"alt":"Casual Cute Dogs Graphic Print Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"39.99","price":"23.99","retail_price":"39.99","available":true,"url":"\/products\/casual-cute-dogs-graphic-print-raglan-sleeve-sweatshirt?variant=17486982-79f2-4c6e-967e-f4ecb4ab6f7a","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":5};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: As Picture
${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}
`
}()}
Size
: S
${function(){
const optName = "Size";
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
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"17486982-79f2-4c6e-967e-f4ecb4ab6f7a","product_id":"3da32ce5-5321-485b-bd98-88332ae59c06","title":"As Picture-S","weight_unit":"kg","inventory_quantity":999,"sku":"K542986818621833216","barcode":"","position":1,"option1":"As Picture","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42e5d28d069182332e0b85f1d42c9cdc.jpeg","path":"42e5d28d069182332e0b85f1d42c9cdc.jpeg","width":600,"height":800,"alt":"Casual Cute Dogs Graphic Print Raglan Sleeve Sweatshirt","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.15","compare_at_price":"39.99","price":"23.99","retail_price":"39.99","available":true,"url":"\/products\/casual-cute-dogs-graphic-print-raglan-sleeve-sweatshirt?variant=17486982-79f2-4c6e-967e-f4ecb4ab6f7a","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture"},{"name":"Size","value":"S"}],"off_ratio":40,"flashsale_info":[],"sales":5};
return `
`
}()}