GAR BETHE Workwear Jacket Men's Retro Functional Jacket Loose Hip-hop Stitching Casual Top
${function() {
const variantData = data.variant || {"id":"6df4c8d4-7c84-414c-a305-ed2532bc12b8","product_id":"154a6dd3-5a0e-4bc1-bfc2-107573132ebb","title":"Navy Blue-M","weight_unit":"g","inventory_quantity":636,"sku":"","barcode":"","position":1,"option1":"Navy Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab3cf452b1fa33286e15e73ba7b5d5a8.jpeg","path":"ab3cf452b1fa33286e15e73ba7b5d5a8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.9,"min_quantity":1}],"weight":"370","compare_at_price":"76.8","price":"49.9","retail_price":"76.8","available":true,"url":"\/products\/gar-bethe-workwear-jacket-mens-retro-functional-jacket-loose-hip-hop-stitching-casual-top-7jmx?variant=6df4c8d4-7c84-414c-a305-ed2532bc12b8","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"M"}],"off_ratio":35,"flashsale_info":[],"sales":456};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Navy Blue
${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
$49.90
${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":"6df4c8d4-7c84-414c-a305-ed2532bc12b8","product_id":"154a6dd3-5a0e-4bc1-bfc2-107573132ebb","title":"Navy Blue-M","weight_unit":"g","inventory_quantity":636,"sku":"","barcode":"","position":1,"option1":"Navy Blue","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ab3cf452b1fa33286e15e73ba7b5d5a8.jpeg","path":"ab3cf452b1fa33286e15e73ba7b5d5a8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":49.9,"min_quantity":1}],"weight":"370","compare_at_price":"76.8","price":"49.9","retail_price":"76.8","available":true,"url":"\/products\/gar-bethe-workwear-jacket-mens-retro-functional-jacket-loose-hip-hop-stitching-casual-top-7jmx?variant=6df4c8d4-7c84-414c-a305-ed2532bc12b8","available_quantity":999999999,"options":[{"name":"Color","value":"Navy Blue"},{"name":"Size","value":"M"}],"off_ratio":35,"flashsale_info":[],"sales":456};
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.