Sugerins - Sivan Glam Stylish Sequin Dress
${function() {
const variantData = data.variant || {"id":"392b08f7-5ff6-4a90-b58e-ecb8f47382c4","product_id":"a5d86a59-1dc7-4d56-b655-9c45f12ed66e","title":"ROSE GOLD-XS","weight_unit":"kg","inventory_quantity":50,"sku":"sugerin145455","barcode":"","position":1,"option1":"ROSE GOLD","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/506f8b2aad7c472c1e2b08107f5cf76b.jpeg","path":"506f8b2aad7c472c1e2b08107f5cf76b.jpeg","width":2560,"height":2145,"alt":"","aspect_ratio":1.1934731934731935},"wholesale_price":[{"price":82.03,"min_quantity":1}],"weight":"0","compare_at_price":"79.9","price":"82.03","retail_price":"79.9","available":true,"url":"\/products\/princessaceladyocc242?variant=392b08f7-5ff6-4a90-b58e-ecb8f47382c4","available_quantity":50,"options":[{"name":"Color","value":"ROSE GOLD"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
ROSE GOLD
${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:
XS
${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
$82.03
${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":"392b08f7-5ff6-4a90-b58e-ecb8f47382c4","product_id":"a5d86a59-1dc7-4d56-b655-9c45f12ed66e","title":"ROSE GOLD-XS","weight_unit":"kg","inventory_quantity":50,"sku":"sugerin145455","barcode":"","position":1,"option1":"ROSE GOLD","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/506f8b2aad7c472c1e2b08107f5cf76b.jpeg","path":"506f8b2aad7c472c1e2b08107f5cf76b.jpeg","width":2560,"height":2145,"alt":"","aspect_ratio":1.1934731934731935},"wholesale_price":[{"price":82.03,"min_quantity":1}],"weight":"0","compare_at_price":"79.9","price":"82.03","retail_price":"79.9","available":true,"url":"\/products\/princessaceladyocc242?variant=392b08f7-5ff6-4a90-b58e-ecb8f47382c4","available_quantity":50,"options":[{"name":"Color","value":"ROSE GOLD"},{"name":"Size","value":"XS"}],"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.
${function(){
const variantData = data.variant || {"id":"392b08f7-5ff6-4a90-b58e-ecb8f47382c4","product_id":"a5d86a59-1dc7-4d56-b655-9c45f12ed66e","title":"ROSE GOLD-XS","weight_unit":"kg","inventory_quantity":50,"sku":"sugerin145455","barcode":"","position":1,"option1":"ROSE GOLD","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/506f8b2aad7c472c1e2b08107f5cf76b.jpeg","path":"506f8b2aad7c472c1e2b08107f5cf76b.jpeg","width":2560,"height":2145,"alt":"","aspect_ratio":1.1934731934731935},"wholesale_price":[{"price":82.03,"min_quantity":1}],"weight":"0","compare_at_price":"79.9","price":"82.03","retail_price":"79.9","available":true,"url":"\/products\/princessaceladyocc242?variant=392b08f7-5ff6-4a90-b58e-ecb8f47382c4","available_quantity":50,"options":[{"name":"Color","value":"ROSE GOLD"},{"name":"Size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}