Sea Waves Ripples Japanese Lino Art Linen Blend Hooded Shirt
${function() {
const variantData = data.variant || {"id":"2cfd4209-d95f-4057-be12-7214cb91527e","product_id":"56b43511-dca4-4e3c-9e1f-741053063da3","title":"Navy-M","weight_unit":"kg","inventory_quantity":999,"sku":"YN2706-Navy-M","barcode":"","position":1,"option1":"Navy","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a7a0e57eee67cc9d03bbefba678b1b61.jpeg","path":"a7a0e57eee67cc9d03bbefba678b1b61.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"30.99","retail_price":"58","available":true,"url":"\/products\/sea-waves-ripples-japanese-lino-art-linen-blend-hooded-shirtaa11a8d4-d7fa-4fc7-bcab-4d70ce4a098b?variant=2cfd4209-d95f-4057-be12-7214cb91527e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"M"}],"off_ratio":47,"flashsale_info":[],"sales":2};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Navy
${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:
M
${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
$30.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":"2cfd4209-d95f-4057-be12-7214cb91527e","product_id":"56b43511-dca4-4e3c-9e1f-741053063da3","title":"Navy-M","weight_unit":"kg","inventory_quantity":999,"sku":"YN2706-Navy-M","barcode":"","position":1,"option1":"Navy","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a7a0e57eee67cc9d03bbefba678b1b61.jpeg","path":"a7a0e57eee67cc9d03bbefba678b1b61.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"30.99","retail_price":"58","available":true,"url":"\/products\/sea-waves-ripples-japanese-lino-art-linen-blend-hooded-shirtaa11a8d4-d7fa-4fc7-bcab-4d70ce4a098b?variant=2cfd4209-d95f-4057-be12-7214cb91527e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"M"}],"off_ratio":47,"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":"2cfd4209-d95f-4057-be12-7214cb91527e","product_id":"56b43511-dca4-4e3c-9e1f-741053063da3","title":"Navy-M","weight_unit":"kg","inventory_quantity":999,"sku":"YN2706-Navy-M","barcode":"","position":1,"option1":"Navy","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a7a0e57eee67cc9d03bbefba678b1b61.jpeg","path":"a7a0e57eee67cc9d03bbefba678b1b61.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.99,"min_quantity":1}],"weight":"0","compare_at_price":"58","price":"30.99","retail_price":"58","available":true,"url":"\/products\/sea-waves-ripples-japanese-lino-art-linen-blend-hooded-shirtaa11a8d4-d7fa-4fc7-bcab-4d70ce4a098b?variant=2cfd4209-d95f-4057-be12-7214cb91527e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"M"}],"off_ratio":47,"flashsale_info":[],"sales":2};
return `
`
}()}