10-Piece Indoor/Outdoor Dining Table Set, Garden Patio Rattan Set with w/Tempered Glass Tabletop with Removable Cushions and Umbrella Cutout for Patio, Backyard,8 Chairs - Red 10Pcs-Set Red
${function() {
const variantData = data.variant || {"id":"a82c1796-4981-4639-b3ae-266911adb686","product_id":"7bac2ca5-38e0-4d19-8126-7b25ee94394d","title":"5Pcs-Set-Sand","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"5Pcs-Set","option2":"Sand","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2020cb697fe357e1ea64638bd2b65335.jpeg","path":"2020cb697fe357e1ea64638bd2b65335.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":291.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"291.99","retail_price":"0","available":true,"url":"\/products\/10-piece-indoor-outdoor-dining-table-set-garden-patio-rattan-set-with-w-tempered-glass-tabletop-with-removable-cushions-and-umbrella-cutout-for-patio-backyard-8-chairs-red-10pcs-set-red?variant=a82c1796-4981-4639-b3ae-266911adb686","available_quantity":999999999,"options":[{"name":"Size","value":"5Pcs-Set"},{"name":"Color","value":"Sand"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
5Pcs-Set
${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}
`
}()}
Color:
Sand
${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
$291.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":"a82c1796-4981-4639-b3ae-266911adb686","product_id":"7bac2ca5-38e0-4d19-8126-7b25ee94394d","title":"5Pcs-Set-Sand","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"5Pcs-Set","option2":"Sand","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2020cb697fe357e1ea64638bd2b65335.jpeg","path":"2020cb697fe357e1ea64638bd2b65335.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":291.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"291.99","retail_price":"0","available":true,"url":"\/products\/10-piece-indoor-outdoor-dining-table-set-garden-patio-rattan-set-with-w-tempered-glass-tabletop-with-removable-cushions-and-umbrella-cutout-for-patio-backyard-8-chairs-red-10pcs-set-red?variant=a82c1796-4981-4639-b3ae-266911adb686","available_quantity":999999999,"options":[{"name":"Size","value":"5Pcs-Set"},{"name":"Color","value":"Sand"}],"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.
${function(){
const variantData = data.variant || {"id":"a82c1796-4981-4639-b3ae-266911adb686","product_id":"7bac2ca5-38e0-4d19-8126-7b25ee94394d","title":"5Pcs-Set-Sand","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"5Pcs-Set","option2":"Sand","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2020cb697fe357e1ea64638bd2b65335.jpeg","path":"2020cb697fe357e1ea64638bd2b65335.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":291.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"291.99","retail_price":"0","available":true,"url":"\/products\/10-piece-indoor-outdoor-dining-table-set-garden-patio-rattan-set-with-w-tempered-glass-tabletop-with-removable-cushions-and-umbrella-cutout-for-patio-backyard-8-chairs-red-10pcs-set-red?variant=a82c1796-4981-4639-b3ae-266911adb686","available_quantity":999999999,"options":[{"name":"Size","value":"5Pcs-Set"},{"name":"Color","value":"Sand"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
`
}()}