New Bicycle Decorative Flower Basket Design Flower Basket Storage Party Decoration Pots
${function() {
const variantData = data.variant || {"id":"973b0779-1a77-4ef3-92de-81af5adad86b","product_id":"0b28454c-64ff-4fb3-8fe6-d2d60ff6288b","title":"2pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"Bicycle-Decorative-Flower-Basket-2pcs","barcode":"","position":1,"option1":"2pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/176b529ab26e830a8c8ef8b012abdfe2.jpg","path":"176b529ab26e830a8c8ef8b012abdfe2.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"23.99","retail_price":"49.99","available":true,"url":"\/products\/new-bicycle-decorative-flower-basket-newest-plastic-white-tricycle-bike-design-flower-basket-storage-party-decoration-pots?variant=973b0779-1a77-4ef3-92de-81af5adad86b","available_quantity":999999999,"options":[{"name":"Qty","value":"2pcs"}],"off_ratio":52,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Qty:
2pcs
${function(){
const optName = "Qty";
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
$23.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":"973b0779-1a77-4ef3-92de-81af5adad86b","product_id":"0b28454c-64ff-4fb3-8fe6-d2d60ff6288b","title":"2pcs","weight_unit":"kg","inventory_quantity":1000,"sku":"Bicycle-Decorative-Flower-Basket-2pcs","barcode":"","position":1,"option1":"2pcs","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/176b529ab26e830a8c8ef8b012abdfe2.jpg","path":"176b529ab26e830a8c8ef8b012abdfe2.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"49.99","price":"23.99","retail_price":"49.99","available":true,"url":"\/products\/new-bicycle-decorative-flower-basket-newest-plastic-white-tricycle-bike-design-flower-basket-storage-party-decoration-pots?variant=973b0779-1a77-4ef3-92de-81af5adad86b","available_quantity":999999999,"options":[{"name":"Qty","value":"2pcs"}],"off_ratio":52,"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.