First Communion White Princess Fluffy Skirt
${function() {
const variantData = data.variant || {"id":"21ecf42b-c310-43a0-a39e-9bb23be85300","product_id":"9f83b228-db54-410a-b43a-8e515a08c061","title":"WHITE-2-3 Years","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!161698-C1295A2830","barcode":"","position":1,"option1":"WHITE","option2":"2-3 Years","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53504bc1733aec60c6c63ed79752ccdc.jpeg","path":"53504bc1733aec60c6c63ed79752ccdc.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":103.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"103.99","price":"103.99","retail_price":"103.99","available":true,"url":"\/products\/first-communion-white-princess-fluffy-skirt?variant=21ecf42b-c310-43a0-a39e-9bb23be85300","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Age","value":"2-3 Years"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
WHITE
${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}
`
}()}
Age:
2-3 Years
${function(){
const optName = "Age";
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
€103.99
${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":"21ecf42b-c310-43a0-a39e-9bb23be85300","product_id":"9f83b228-db54-410a-b43a-8e515a08c061","title":"WHITE-2-3 Years","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!161698-C1295A2830","barcode":"","position":1,"option1":"WHITE","option2":"2-3 Years","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53504bc1733aec60c6c63ed79752ccdc.jpeg","path":"53504bc1733aec60c6c63ed79752ccdc.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":103.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"103.99","price":"103.99","retail_price":"103.99","available":true,"url":"\/products\/first-communion-white-princess-fluffy-skirt?variant=21ecf42b-c310-43a0-a39e-9bb23be85300","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Age","value":"2-3 Years"}],"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.
Sku : CY-!161698-C1295A2830
Weight : 0.5kg
${function(){
const variantData = data.variant || {"id":"21ecf42b-c310-43a0-a39e-9bb23be85300","product_id":"9f83b228-db54-410a-b43a-8e515a08c061","title":"WHITE-2-3 Years","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!161698-C1295A2830","barcode":"","position":1,"option1":"WHITE","option2":"2-3 Years","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/53504bc1733aec60c6c63ed79752ccdc.jpeg","path":"53504bc1733aec60c6c63ed79752ccdc.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":103.99,"min_quantity":1}],"weight":"0.5","compare_at_price":"103.99","price":"103.99","retail_price":"103.99","available":true,"url":"\/products\/first-communion-white-princess-fluffy-skirt?variant=21ecf42b-c310-43a0-a39e-9bb23be85300","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Age","value":"2-3 Years"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}