French Style Vintage Forest Green Oil Drop Earrings
${function() {
const variantData = data.variant || {"id":"4160883b-e219-4e93-a932-f3ff41a26822","product_id":"5e186d05-ce93-4e3f-830b-984da9e04316","title":"Vintage Green","weight_unit":"kg","inventory_quantity":0,"sku":"211201736- Vintage Green","barcode":"","position":1,"option1":"Vintage Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3d6e72bc801be9e35888207d45aad11.jpeg","path":"e3d6e72bc801be9e35888207d45aad11.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.55,"min_quantity":1}],"weight":"0.05","compare_at_price":"32.71","price":"21.55","retail_price":"32.71","available":true,"url":"\/products\/french-style-vintage-forest-green-oil-drop-earrings?variant=4160883b-e219-4e93-a932-f3ff41a26822","available_quantity":999999999,"options":[{"name":"Color","value":"Vintage Green"}],"off_ratio":34,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Vintage Green
${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
$21.55
${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":"4160883b-e219-4e93-a932-f3ff41a26822","product_id":"5e186d05-ce93-4e3f-830b-984da9e04316","title":"Vintage Green","weight_unit":"kg","inventory_quantity":0,"sku":"211201736- Vintage Green","barcode":"","position":1,"option1":"Vintage Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3d6e72bc801be9e35888207d45aad11.jpeg","path":"e3d6e72bc801be9e35888207d45aad11.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.55,"min_quantity":1}],"weight":"0.05","compare_at_price":"32.71","price":"21.55","retail_price":"32.71","available":true,"url":"\/products\/french-style-vintage-forest-green-oil-drop-earrings?variant=4160883b-e219-4e93-a932-f3ff41a26822","available_quantity":999999999,"options":[{"name":"Color","value":"Vintage Green"}],"off_ratio":34,"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.
Sku : 211201736- Vintage Green
Weight : 0.05kg
${function(){
const variantData = data.variant || {"id":"4160883b-e219-4e93-a932-f3ff41a26822","product_id":"5e186d05-ce93-4e3f-830b-984da9e04316","title":"Vintage Green","weight_unit":"kg","inventory_quantity":0,"sku":"211201736- Vintage Green","barcode":"","position":1,"option1":"Vintage Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e3d6e72bc801be9e35888207d45aad11.jpeg","path":"e3d6e72bc801be9e35888207d45aad11.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":21.55,"min_quantity":1}],"weight":"0.05","compare_at_price":"32.71","price":"21.55","retail_price":"32.71","available":true,"url":"\/products\/french-style-vintage-forest-green-oil-drop-earrings?variant=4160883b-e219-4e93-a932-f3ff41a26822","available_quantity":999999999,"options":[{"name":"Color","value":"Vintage Green"}],"off_ratio":34,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}