French Style Pearl Floral With Pendant Earrings & Ear Clip
${function() {
const variantData = data.variant || {"id":"ff810097-325a-4854-81a1-b5f61043c406","product_id":"3f5ffca8-97b5-4289-8a82-eac7198100bc","title":"Gold Earrings","weight_unit":"kg","inventory_quantity":0,"sku":"211201734-Gold Earrings","barcode":"","position":2,"option1":"Gold Earrings","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af21b6d4a5ca3c3b0b7e2650b2507a11.jpeg","path":"af21b6d4a5ca3c3b0b7e2650b2507a11.jpeg","width":800,"height":800,"alt":"French Style Pearl Floral With Pendant Earrings & Ear Clip","aspect_ratio":1},"wholesale_price":[{"price":18.97,"min_quantity":1}],"weight":"0.01","compare_at_price":"28.29","price":"18.97","retail_price":"28.29","available":true,"url":"\/products\/french-style-pearl-floral-with-pendant-earrings-ear-clip?variant=ff810097-325a-4854-81a1-b5f61043c406","available_quantity":999999999,"options":[{"name":"Color","value":"Gold Earrings"}],"off_ratio":33,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Gold Earrings
${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
$18.97
${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":"ff810097-325a-4854-81a1-b5f61043c406","product_id":"3f5ffca8-97b5-4289-8a82-eac7198100bc","title":"Gold Earrings","weight_unit":"kg","inventory_quantity":0,"sku":"211201734-Gold Earrings","barcode":"","position":2,"option1":"Gold Earrings","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/af21b6d4a5ca3c3b0b7e2650b2507a11.jpeg","path":"af21b6d4a5ca3c3b0b7e2650b2507a11.jpeg","width":800,"height":800,"alt":"French Style Pearl Floral With Pendant Earrings & Ear Clip","aspect_ratio":1},"wholesale_price":[{"price":18.97,"min_quantity":1}],"weight":"0.01","compare_at_price":"28.29","price":"18.97","retail_price":"28.29","available":true,"url":"\/products\/french-style-pearl-floral-with-pendant-earrings-ear-clip?variant=ff810097-325a-4854-81a1-b5f61043c406","available_quantity":999999999,"options":[{"name":"Color","value":"Gold Earrings"}],"off_ratio":33,"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.