Oxford Cloth Wardrobe Door Storage Hanging Bag
${function(){
const variantData = data.variant || {"id":"aec0e5f6-bd41-49a5-b1fb-7b7e0dc31f82","product_id":"8420faa7-92d8-43f7-9cfd-48cb69d85971","title":"Dark Grey","weight_unit":"g","inventory_quantity":409,"sku":"CJFZ134817202BY","barcode":"","position":1,"option1":"Dark Grey","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1428dd34e974b00cdfa3a3f74756913f.jpeg","path":"1428dd34e974b00cdfa3a3f74756913f.jpeg","width":664,"height":665,"alt":"","aspect_ratio":0.9984962406015038},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"240","compare_at_price":"0","price":"15.99","retail_price":"0","available":true,"url":"\/products\/oxford-cloth-wardrobe-door-storage-hanging-bag?variant=aec0e5f6-bd41-49a5-b1fb-7b7e0dc31f82","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}
${function() {
const variantData = data.variant || {"id":"aec0e5f6-bd41-49a5-b1fb-7b7e0dc31f82","product_id":"8420faa7-92d8-43f7-9cfd-48cb69d85971","title":"Dark Grey","weight_unit":"g","inventory_quantity":409,"sku":"CJFZ134817202BY","barcode":"","position":1,"option1":"Dark Grey","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1428dd34e974b00cdfa3a3f74756913f.jpeg","path":"1428dd34e974b00cdfa3a3f74756913f.jpeg","width":664,"height":665,"alt":"","aspect_ratio":0.9984962406015038},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"240","compare_at_price":"0","price":"15.99","retail_price":"0","available":true,"url":"\/products\/oxford-cloth-wardrobe-door-storage-hanging-bag?variant=aec0e5f6-bd41-49a5-b1fb-7b7e0dc31f82","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Dark Grey
${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
$15.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":"aec0e5f6-bd41-49a5-b1fb-7b7e0dc31f82","product_id":"8420faa7-92d8-43f7-9cfd-48cb69d85971","title":"Dark Grey","weight_unit":"g","inventory_quantity":409,"sku":"CJFZ134817202BY","barcode":"","position":1,"option1":"Dark Grey","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1428dd34e974b00cdfa3a3f74756913f.jpeg","path":"1428dd34e974b00cdfa3a3f74756913f.jpeg","width":664,"height":665,"alt":"","aspect_ratio":0.9984962406015038},"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"240","compare_at_price":"0","price":"15.99","retail_price":"0","available":true,"url":"\/products\/oxford-cloth-wardrobe-door-storage-hanging-bag?variant=aec0e5f6-bd41-49a5-b1fb-7b7e0dc31f82","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Grey"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.