${function() {
const variantData = data.variant || {"id":"a13e9b1b-6be9-461a-834c-4f65f253bd28","product_id":"ed6d6f7a-f322-424d-8f11-4bfa45e73f1c","title":"NY6-02","weight_unit":"kg","inventory_quantity":998,"sku":"NY6-02","barcode":"","position":1,"option1":"NY6-02","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d607129409ffe47bcdb2adbf64e0629.jpeg","path":"5d607129409ffe47bcdb2adbf64e0629.jpeg","width":1000,"height":1000,"alt":"Solid Cream Gel Polish| Macaron |NY6-02","aspect_ratio":1},"wholesale_price":[{"price":23.25,"min_quantity":1}],"weight":"0.2","compare_at_price":"33.58","price":"23.25","retail_price":"33.58","available":true,"url":"\/products\/solid-cream-gel-ny601-10?variant=a13e9b1b-6be9-461a-834c-4f65f253bd28","available_quantity":998,"options":[{"name":"Color","value":"NY6-02"}],"off_ratio":31,"flashsale_info":[],"sales":341};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Why do the gel polish colors i orderd are different from the color shown on the website?
There are 3 factors may cause color variations.
The colors will appear difference on different screen/devices.
The colors may be different under different light source/ light condition.
Gel polish is a dye system,and electric device is a light system, some colors cannot be correctly shown on electric device.
PRICE DO NOT INCLUDE VAT(FOR EU COUNTRIES)
Color
: NY6-02
${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
€23.25
${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":"a13e9b1b-6be9-461a-834c-4f65f253bd28","product_id":"ed6d6f7a-f322-424d-8f11-4bfa45e73f1c","title":"NY6-02","weight_unit":"kg","inventory_quantity":998,"sku":"NY6-02","barcode":"","position":1,"option1":"NY6-02","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d607129409ffe47bcdb2adbf64e0629.jpeg","path":"5d607129409ffe47bcdb2adbf64e0629.jpeg","width":1000,"height":1000,"alt":"Solid Cream Gel Polish| Macaron |NY6-02","aspect_ratio":1},"wholesale_price":[{"price":23.25,"min_quantity":1}],"weight":"0.2","compare_at_price":"33.58","price":"23.25","retail_price":"33.58","available":true,"url":"\/products\/solid-cream-gel-ny601-10?variant=a13e9b1b-6be9-461a-834c-4f65f253bd28","available_quantity":998,"options":[{"name":"Color","value":"NY6-02"}],"off_ratio":31,"flashsale_info":[],"sales":341};
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 ? `
` : ' ';
}
}()}
Product was out of stock.
Product is unavailable.
Sku : NY6-02
Weight : 0.2kg
${function(){
const variantData = data.variant || {"id":"a13e9b1b-6be9-461a-834c-4f65f253bd28","product_id":"ed6d6f7a-f322-424d-8f11-4bfa45e73f1c","title":"NY6-02","weight_unit":"kg","inventory_quantity":998,"sku":"NY6-02","barcode":"","position":1,"option1":"NY6-02","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5d607129409ffe47bcdb2adbf64e0629.jpeg","path":"5d607129409ffe47bcdb2adbf64e0629.jpeg","width":1000,"height":1000,"alt":"Solid Cream Gel Polish| Macaron |NY6-02","aspect_ratio":1},"wholesale_price":[{"price":23.25,"min_quantity":1}],"weight":"0.2","compare_at_price":"33.58","price":"23.25","retail_price":"33.58","available":true,"url":"\/products\/solid-cream-gel-ny601-10?variant=a13e9b1b-6be9-461a-834c-4f65f253bd28","available_quantity":998,"options":[{"name":"Color","value":"NY6-02"}],"off_ratio":31,"flashsale_info":[],"sales":341};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}