GAR BETHE Retro Red Plaid Shirt Jacket Men's Spring Casual Top Zipper
${function() {
const variantData = data.variant || {"id":"99ac35b8-1040-4012-81ba-652aaefcb9b1","product_id":"0d372e11-2e5b-4e71-9ca4-836db96b1c36","title":"Quilted-L","weight_unit":"g","inventory_quantity":850,"sku":"","barcode":"","position":1,"option1":"Quilted","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76011c4948dd18cabd2b5c4e62bb0844.png","path":"76011c4948dd18cabd2b5c4e62bb0844.png","width":379,"height":414,"alt":"","aspect_ratio":0.9154589371980676},"wholesale_price":[{"price":79.4,"min_quantity":1}],"weight":"880","compare_at_price":"79.4","price":"79.4","retail_price":"79.4","available":true,"url":"\/products\/gar-bethe-retro-red-plaid-shirt-jacket-mens-spring-casual-top-zipper?variant=99ac35b8-1040-4012-81ba-652aaefcb9b1","available_quantity":999999999,"options":[{"name":"style","value":"Quilted"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":327};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
Quilted
${function(){
const optName = "style";
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:
L
${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
$79.40
${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":"99ac35b8-1040-4012-81ba-652aaefcb9b1","product_id":"0d372e11-2e5b-4e71-9ca4-836db96b1c36","title":"Quilted-L","weight_unit":"g","inventory_quantity":850,"sku":"","barcode":"","position":1,"option1":"Quilted","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76011c4948dd18cabd2b5c4e62bb0844.png","path":"76011c4948dd18cabd2b5c4e62bb0844.png","width":379,"height":414,"alt":"","aspect_ratio":0.9154589371980676},"wholesale_price":[{"price":79.4,"min_quantity":1}],"weight":"880","compare_at_price":"79.4","price":"79.4","retail_price":"79.4","available":true,"url":"\/products\/gar-bethe-retro-red-plaid-shirt-jacket-mens-spring-casual-top-zipper?variant=99ac35b8-1040-4012-81ba-652aaefcb9b1","available_quantity":999999999,"options":[{"name":"style","value":"Quilted"},{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":327};
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.