GAR BETHE Vintage Baseball Collar Jacket Youth Embroidery
${function() {
const variantData = data.variant || {"id":"8647b757-2321-47b7-89b2-65748b8d36ab","product_id":"1067351e-7c48-4223-86f9-1bcd152b8e1c","title":"4XL-2cream color","weight_unit":"g","inventory_quantity":980,"sku":"","barcode":"","position":1,"option1":"4XL","option2":"2cream color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4488037f48827cdecf58a364205c6d8.jpeg","path":"c4488037f48827cdecf58a364205c6d8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.4,"min_quantity":1}],"weight":"950","compare_at_price":"69.8","price":"45.4","retail_price":"69.8","available":true,"url":"\/products\/gar-bethe-vintage-baseball-collar-jacket-youth-embroidery?variant=8647b757-2321-47b7-89b2-65748b8d36ab","available_quantity":999999999,"options":[{"name":"Size","value":"4XL"},{"name":"Color","value":"2cream color"}],"off_ratio":35,"flashsale_info":[],"sales":641};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
4XL
${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}
`
}()}
Color:
2cream color
${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}
`
}()}
Add to cart
$45.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":"8647b757-2321-47b7-89b2-65748b8d36ab","product_id":"1067351e-7c48-4223-86f9-1bcd152b8e1c","title":"4XL-2cream color","weight_unit":"g","inventory_quantity":980,"sku":"","barcode":"","position":1,"option1":"4XL","option2":"2cream color","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c4488037f48827cdecf58a364205c6d8.jpeg","path":"c4488037f48827cdecf58a364205c6d8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.4,"min_quantity":1}],"weight":"950","compare_at_price":"69.8","price":"45.4","retail_price":"69.8","available":true,"url":"\/products\/gar-bethe-vintage-baseball-collar-jacket-youth-embroidery?variant=8647b757-2321-47b7-89b2-65748b8d36ab","available_quantity":999999999,"options":[{"name":"Size","value":"4XL"},{"name":"Color","value":"2cream color"}],"off_ratio":35,"flashsale_info":[],"sales":641};
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.