GAR BETHE Hip Hop Style Jacket Men Women Streetwear Print Baseball Jackets
${function() {
const variantData = data.variant || {"id":"015d8ae3-c7ff-4343-b71e-9364cf5c02d2","product_id":"7bf26264-2fcd-4a16-94a1-4cf509144f5c","title":"XXL-White","weight_unit":"kg","inventory_quantity":683,"sku":"","barcode":"","position":1,"option1":"XXL","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0569fe575be11bd7b8723f8dc08c85de.jpeg","path":"0569fe575be11bd7b8723f8dc08c85de.jpeg","width":750,"height":499,"alt":"","aspect_ratio":1.503006012024048},"wholesale_price":[{"price":45.6,"min_quantity":1}],"weight":"0.58","compare_at_price":"76","price":"45.6","retail_price":"76","available":true,"url":"\/products\/gar-bethe-hip-hop-style-jacket-men-women-streetwear-print-baseball-jackets?variant=015d8ae3-c7ff-4343-b71e-9364cf5c02d2","available_quantity":999999999,"options":[{"name":"Size","value":"XXL"},{"name":"Color","value":"White"}],"off_ratio":40,"flashsale_info":[],"sales":721};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
XXL
${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:
White
${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.60
${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":"015d8ae3-c7ff-4343-b71e-9364cf5c02d2","product_id":"7bf26264-2fcd-4a16-94a1-4cf509144f5c","title":"XXL-White","weight_unit":"kg","inventory_quantity":683,"sku":"","barcode":"","position":1,"option1":"XXL","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0569fe575be11bd7b8723f8dc08c85de.jpeg","path":"0569fe575be11bd7b8723f8dc08c85de.jpeg","width":750,"height":499,"alt":"","aspect_ratio":1.503006012024048},"wholesale_price":[{"price":45.6,"min_quantity":1}],"weight":"0.58","compare_at_price":"76","price":"45.6","retail_price":"76","available":true,"url":"\/products\/gar-bethe-hip-hop-style-jacket-men-women-streetwear-print-baseball-jackets?variant=015d8ae3-c7ff-4343-b71e-9364cf5c02d2","available_quantity":999999999,"options":[{"name":"Size","value":"XXL"},{"name":"Color","value":"White"}],"off_ratio":40,"flashsale_info":[],"sales":721};
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.