Floral Cotton Blends Shirt Collar Blouse
${function() {
const variantData = data.variant || {"id":"0f73ab9d-c20d-4ce1-bc75-5fa0725b705e","product_id":"40f26636-bfa0-4a97-8b9c-42501c710a9a","title":"Flower-S","weight_unit":"kg","inventory_quantity":1000,"sku":"http:\/\/static.cizito.com\/A1\/B8\/10.png?Flower-S","barcode":"","position":1,"option1":"Flower","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e72701ea33e22279002529e4693cebdb.png","path":"e72701ea33e22279002529e4693cebdb.png","width":428,"height":571,"alt":"","aspect_ratio":0.7495621716287215},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/floral-cotton-blends-shirt-collar-blouse?variant=0f73ab9d-c20d-4ce1-bc75-5fa0725b705e","available_quantity":1000,"options":[{"name":"color","value":"Flower"},{"name":"size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Flower
${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:
S
${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
$28.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":"0f73ab9d-c20d-4ce1-bc75-5fa0725b705e","product_id":"40f26636-bfa0-4a97-8b9c-42501c710a9a","title":"Flower-S","weight_unit":"kg","inventory_quantity":1000,"sku":"http:\/\/static.cizito.com\/A1\/B8\/10.png?Flower-S","barcode":"","position":1,"option1":"Flower","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e72701ea33e22279002529e4693cebdb.png","path":"e72701ea33e22279002529e4693cebdb.png","width":428,"height":571,"alt":"","aspect_ratio":0.7495621716287215},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/floral-cotton-blends-shirt-collar-blouse?variant=0f73ab9d-c20d-4ce1-bc75-5fa0725b705e","available_quantity":1000,"options":[{"name":"color","value":"Flower"},{"name":"size","value":"S"}],"off_ratio":33,"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":"0f73ab9d-c20d-4ce1-bc75-5fa0725b705e","product_id":"40f26636-bfa0-4a97-8b9c-42501c710a9a","title":"Flower-S","weight_unit":"kg","inventory_quantity":1000,"sku":"http:\/\/static.cizito.com\/A1\/B8\/10.png?Flower-S","barcode":"","position":1,"option1":"Flower","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e72701ea33e22279002529e4693cebdb.png","path":"e72701ea33e22279002529e4693cebdb.png","width":428,"height":571,"alt":"","aspect_ratio":0.7495621716287215},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"28.99","retail_price":"42.99","available":true,"url":"\/products\/floral-cotton-blends-shirt-collar-blouse?variant=0f73ab9d-c20d-4ce1-bc75-5fa0725b705e","available_quantity":1000,"options":[{"name":"color","value":"Flower"},{"name":"size","value":"S"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
`
}()}