Waterproof Portable Drawstring Zipper Beach Bag🎒
${function() {
const variantData = data.variant || {"id":"bdfb5c72-a103-4af1-a22f-7ee227d03651","product_id":"f478ccf7-62c6-45f5-a713-6bcf493f8f39","title":"DEEP BLUE","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!82270-C1782","barcode":"","position":1,"option1":"DEEP BLUE","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b56bf1b77376ba57e53b6ed3fb3243eb.jpeg","path":"b56bf1b77376ba57e53b6ed3fb3243eb.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/waterproof-portable-drawstring-zipper-beach-bag\ud83c\udf92?variant=bdfb5c72-a103-4af1-a22f-7ee227d03651","available_quantity":999999999,"options":[{"name":"Color","value":"DEEP BLUE"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
DEEP BLUE
${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}
`
}()}
Add to cart
$21.99
${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":"bdfb5c72-a103-4af1-a22f-7ee227d03651","product_id":"f478ccf7-62c6-45f5-a713-6bcf493f8f39","title":"DEEP BLUE","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!82270-C1782","barcode":"","position":1,"option1":"DEEP BLUE","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b56bf1b77376ba57e53b6ed3fb3243eb.jpeg","path":"b56bf1b77376ba57e53b6ed3fb3243eb.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/waterproof-portable-drawstring-zipper-beach-bag\ud83c\udf92?variant=bdfb5c72-a103-4af1-a22f-7ee227d03651","available_quantity":999999999,"options":[{"name":"Color","value":"DEEP BLUE"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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.
Sku : CY-!82270-C1782
Weight : 0.35kg
${function(){
const variantData = data.variant || {"id":"bdfb5c72-a103-4af1-a22f-7ee227d03651","product_id":"f478ccf7-62c6-45f5-a713-6bcf493f8f39","title":"DEEP BLUE","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!82270-C1782","barcode":"","position":1,"option1":"DEEP BLUE","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b56bf1b77376ba57e53b6ed3fb3243eb.jpeg","path":"b56bf1b77376ba57e53b6ed3fb3243eb.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/waterproof-portable-drawstring-zipper-beach-bag\ud83c\udf92?variant=bdfb5c72-a103-4af1-a22f-7ee227d03651","available_quantity":999999999,"options":[{"name":"Color","value":"DEEP BLUE"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}