Flower Long Sleeve See-through Beach Cardigan
${function() {
const variantData = data.variant || {"id":"e292b189-b3ab-4e49-96c7-cf8fa5337f55","product_id":"7e1a5373-f621-43bc-a62c-ab08687d11d3","title":"As Picture1-Free Size","weight_unit":"kg","inventory_quantity":197,"sku":"YJ6230-As Picture1-Free Size","barcode":"","position":1,"option1":"As Picture1","option2":"Free Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a7b5ef759cdb22c3d59dc445b7e9de6.jpeg","path":"4a7b5ef759cdb22c3d59dc445b7e9de6.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/vintage-bohemian-print-long-sleeve-cardigan-28?variant=e292b189-b3ab-4e49-96c7-cf8fa5337f55","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture1"},{"name":"Size","value":"Free Size"}],"off_ratio":20,"flashsale_info":[],"sales":2};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
As Picture1
${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:
Free 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
$39.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":"e292b189-b3ab-4e49-96c7-cf8fa5337f55","product_id":"7e1a5373-f621-43bc-a62c-ab08687d11d3","title":"As Picture1-Free Size","weight_unit":"kg","inventory_quantity":197,"sku":"YJ6230-As Picture1-Free Size","barcode":"","position":1,"option1":"As Picture1","option2":"Free Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a7b5ef759cdb22c3d59dc445b7e9de6.jpeg","path":"4a7b5ef759cdb22c3d59dc445b7e9de6.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/vintage-bohemian-print-long-sleeve-cardigan-28?variant=e292b189-b3ab-4e49-96c7-cf8fa5337f55","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture1"},{"name":"Size","value":"Free Size"}],"off_ratio":20,"flashsale_info":[],"sales":2};
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":"e292b189-b3ab-4e49-96c7-cf8fa5337f55","product_id":"7e1a5373-f621-43bc-a62c-ab08687d11d3","title":"As Picture1-Free Size","weight_unit":"kg","inventory_quantity":197,"sku":"YJ6230-As Picture1-Free Size","barcode":"","position":1,"option1":"As Picture1","option2":"Free Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a7b5ef759cdb22c3d59dc445b7e9de6.jpeg","path":"4a7b5ef759cdb22c3d59dc445b7e9de6.jpeg","width":600,"height":750,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"49.99","price":"39.99","retail_price":"49.99","available":true,"url":"\/products\/vintage-bohemian-print-long-sleeve-cardigan-28?variant=e292b189-b3ab-4e49-96c7-cf8fa5337f55","available_quantity":999999999,"options":[{"name":"Color","value":"As Picture1"},{"name":"Size","value":"Free Size"}],"off_ratio":20,"flashsale_info":[],"sales":2};
return `
`
}()}