🐱Handcrafted Metal Cat and Recycled Glass Fish Wind Chime🎏
Quantity-
Buy 1
${function(){
const optName = "Quantity";
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
const optName = "Quantity";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a Quantity
`;
}()}
${function() {
const variantData = data.variant || {"id":"16a971a4-a85b-4b39-9d56-f08c3998e398","product_id":"f858b6da-ab9c-4ed7-a380-55f701419ca8","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"PH21113006MAO","barcode":"978199643028","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":22.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.96","retail_price":"0","available":true,"url":"\/products\/\ud83d\udc31handcrafted-metal-cat-and-recycled-glass-fish-wind-chime\ud83c\udf8f?variant=16a971a4-a85b-4b39-9d56-f08c3998e398","available_quantity":999999999,"options":[{"name":"Quantity","value":"Buy 1"}],"off_ratio":0,"flashsale_info":[],"sales":184};
const saveType = "amount";
const productSaveLabel = true;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- ` }
`; }()}
Free shipping on international orders of $49.99+
Add to cart
- $22.96
${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]) || Object.keys(data).length > 1 ? data : null;
const productVariant = {"id":"16a971a4-a85b-4b39-9d56-f08c3998e398","product_id":"f858b6da-ab9c-4ed7-a380-55f701419ca8","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"PH21113006MAO","barcode":"978199643028","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":22.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"22.96","retail_price":"0","available":true,"url":"\/products\/\ud83d\udc31handcrafted-metal-cat-and-recycled-glass-fish-wind-chime\ud83c\udf8f?variant=16a971a4-a85b-4b39-9d56-f08c3998e398","available_quantity":999999999,"options":[{"name":"Quantity","value":"Buy 1"}],"off_ratio":0,"flashsale_info":[],"sales":184};
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 it now
Product was out of stock.
Product is unavailable.