GAR BETHE Spring Autumn Korean Business Casual Long Sleeve Polo Shirt Men's Lapel Print Button Patchwork Screw Thread Loose Cotton Tops
${function() {
const variantData = data.variant || {"id":"0d3ec3ce-57ff-4074-8c8b-69901a9f0d55","product_id":"721889e1-3627-499e-8b5c-72c762061936","title":"black-M (50KG)","weight_unit":"kg","inventory_quantity":611,"sku":"","barcode":"","position":1,"option1":"black","option2":"M (50KG)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0a867c2a4f8f85ed163c35ddb2840f5.jpeg","path":"d0a867c2a4f8f85ed163c35ddb2840f5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.1,"min_quantity":1}],"weight":"0.45","compare_at_price":"45.9","price":"32.1","retail_price":"45.9","available":true,"url":"\/products\/gar-bethe-spring-autumn-korean-business-casual-long-sleeve-polo-shirt-mens-lapel-print-button-patchwork-screw-thread-loose-cotton-tops-jt6s?variant=0d3ec3ce-57ff-4074-8c8b-69901a9f0d55","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"M (50KG)"}],"off_ratio":30,"flashsale_info":[],"sales":604};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
black
${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 (50KG)
${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
$32.10
${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":"0d3ec3ce-57ff-4074-8c8b-69901a9f0d55","product_id":"721889e1-3627-499e-8b5c-72c762061936","title":"black-M (50KG)","weight_unit":"kg","inventory_quantity":611,"sku":"","barcode":"","position":1,"option1":"black","option2":"M (50KG)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0a867c2a4f8f85ed163c35ddb2840f5.jpeg","path":"d0a867c2a4f8f85ed163c35ddb2840f5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":32.1,"min_quantity":1}],"weight":"0.45","compare_at_price":"45.9","price":"32.1","retail_price":"45.9","available":true,"url":"\/products\/gar-bethe-spring-autumn-korean-business-casual-long-sleeve-polo-shirt-mens-lapel-print-button-patchwork-screw-thread-loose-cotton-tops-jt6s?variant=0d3ec3ce-57ff-4074-8c8b-69901a9f0d55","available_quantity":999999999,"options":[{"name":"color","value":"black"},{"name":"size","value":"M (50KG)"}],"off_ratio":30,"flashsale_info":[],"sales":604};
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.