Flowers Pearl Earrings
Sku : HRUSCGZL221161 Silver One Size
${function(){
const variantData = data.variant || {"id":"d5d5e215-24be-41de-a9c1-3c4e0d46099f","product_id":"44d81f74-b297-4730-afd7-1e860a0de544","title":"Silver-One Size","weight_unit":"g","inventory_quantity":99999,"sku":"HRUSCGZL221161 Silver One Size","barcode":"","position":1,"option1":"Silver","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12e1f67bd10147d0ec13e4b4ef9086fe.jpeg","path":"12e1f67bd10147d0ec13e4b4ef9086fe.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"200","compare_at_price":"15","price":"15","retail_price":"15","available":true,"url":"\/products\/flowers-pearl-earrings?variant=d5d5e215-24be-41de-a9c1-3c4e0d46099f","available_quantity":99999,"options":[{"name":"Color","value":"Silver"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
`
}()}
${function() {
const variantData = data.variant || {"id":"d5d5e215-24be-41de-a9c1-3c4e0d46099f","product_id":"44d81f74-b297-4730-afd7-1e860a0de544","title":"Silver-One Size","weight_unit":"g","inventory_quantity":99999,"sku":"HRUSCGZL221161 Silver One Size","barcode":"","position":1,"option1":"Silver","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12e1f67bd10147d0ec13e4b4ef9086fe.jpeg","path":"12e1f67bd10147d0ec13e4b4ef9086fe.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"200","compare_at_price":"15","price":"15","retail_price":"15","available":true,"url":"\/products\/flowers-pearl-earrings?variant=d5d5e215-24be-41de-a9c1-3c4e0d46099f","available_quantity":99999,"options":[{"name":"Color","value":"Silver"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Silver
${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}
`
}()}
Size:
One Size
${function(){
const optName = "Size";
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
$15.00
${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":"d5d5e215-24be-41de-a9c1-3c4e0d46099f","product_id":"44d81f74-b297-4730-afd7-1e860a0de544","title":"Silver-One Size","weight_unit":"g","inventory_quantity":99999,"sku":"HRUSCGZL221161 Silver One Size","barcode":"","position":1,"option1":"Silver","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/12e1f67bd10147d0ec13e4b4ef9086fe.jpeg","path":"12e1f67bd10147d0ec13e4b4ef9086fe.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":15,"min_quantity":1}],"weight":"200","compare_at_price":"15","price":"15","retail_price":"15","available":true,"url":"\/products\/flowers-pearl-earrings?variant=d5d5e215-24be-41de-a9c1-3c4e0d46099f","available_quantity":99999,"options":[{"name":"Color","value":"Silver"},{"name":"Size","value":"One Size"}],"off_ratio":0,"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.