Japanese Art Shark Graphic Painting Art Linen Blend Pants
${function() {
const variantData = data.variant || {"id":"ec00e7f2-3043-40e3-b327-0b68d734cf7e","product_id":"71821f93-901f-4eb9-afdf-988bd9676969","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Navy-S-A00138163","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52e097190067165b04ec0467ba8ea1f3.jpeg","path":"52e097190067165b04ec0467ba8ea1f3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/japanese-art-shark-graphic-painting-art-linen-blend-pants642ee176-48a1-41c0-8fb2-637cacfd813b?variant=ec00e7f2-3043-40e3-b327-0b68d734cf7e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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:
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":"ec00e7f2-3043-40e3-b327-0b68d734cf7e","product_id":"71821f93-901f-4eb9-afdf-988bd9676969","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Navy-S-A00138163","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52e097190067165b04ec0467ba8ea1f3.jpeg","path":"52e097190067165b04ec0467ba8ea1f3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/japanese-art-shark-graphic-painting-art-linen-blend-pants642ee176-48a1-41c0-8fb2-637cacfd813b?variant=ec00e7f2-3043-40e3-b327-0b68d734cf7e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"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":"ec00e7f2-3043-40e3-b327-0b68d734cf7e","product_id":"71821f93-901f-4eb9-afdf-988bd9676969","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"YN-Navy-S-A00138163","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52e097190067165b04ec0467ba8ea1f3.jpeg","path":"52e097190067165b04ec0467ba8ea1f3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/japanese-art-shark-graphic-painting-art-linen-blend-pants642ee176-48a1-41c0-8fb2-637cacfd813b?variant=ec00e7f2-3043-40e3-b327-0b68d734cf7e","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}