Peacock Blue Fringe Earrings
${function() {
const variantData = data.variant || {"id":"9121b5e6-230a-46dd-b2ae-1ae1b1ae7539","product_id":"1b357f04-12d4-4c1b-a759-25975a69d899","title":"","weight_unit":"g","inventory_quantity":200,"sku":"QF0010","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"5.2","compare_at_price":"36.99","price":"16.99","retail_price":"36.99","available":true,"url":"\/products\/peacock-blue-fringe-earrings?variant=9121b5e6-230a-46dd-b2ae-1ae1b1ae7539","available_quantity":999999999,"options":[],"off_ratio":54,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
people are viewing this right now
Add to cart
$16.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":"9121b5e6-230a-46dd-b2ae-1ae1b1ae7539","product_id":"1b357f04-12d4-4c1b-a759-25975a69d899","title":"","weight_unit":"g","inventory_quantity":200,"sku":"QF0010","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"5.2","compare_at_price":"36.99","price":"16.99","retail_price":"36.99","available":true,"url":"\/products\/peacock-blue-fringe-earrings?variant=9121b5e6-230a-46dd-b2ae-1ae1b1ae7539","available_quantity":999999999,"options":[],"off_ratio":54,"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":"9121b5e6-230a-46dd-b2ae-1ae1b1ae7539","product_id":"1b357f04-12d4-4c1b-a759-25975a69d899","title":"","weight_unit":"g","inventory_quantity":200,"sku":"QF0010","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"5.2","compare_at_price":"36.99","price":"16.99","retail_price":"36.99","available":true,"url":"\/products\/peacock-blue-fringe-earrings?variant=9121b5e6-230a-46dd-b2ae-1ae1b1ae7539","available_quantity":999999999,"options":[],"off_ratio":54,"flashsale_info":[],"sales":0};
return `
`
}()}