GAR BETHE Men Summer Denim Thin Shirt Short Sleeve Soft Cotton Two Pockets Slim Slight Elastic Jeans Cowboy Shirt Clothing 2024
${function() {
const variantData = data.variant || {"id":"58209b54-9e1b-4360-ae61-1586f635778a","product_id":"88da0db5-af18-4142-a1e8-1b76763b4ed5","title":"Dark Blue-Asian Size M","weight_unit":"kg","inventory_quantity":926,"sku":"","barcode":"","position":1,"option1":"Dark Blue","option2":"Asian Size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52992a3dfeb4dc7221e2afd44e06428c.jpeg","path":"52992a3dfeb4dc7221e2afd44e06428c.jpeg","width":400,"height":483,"alt":"","aspect_ratio":0.8281573498964804},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0.4","compare_at_price":"37.1","price":"26","retail_price":"37.1","available":true,"url":"\/products\/gar-bethe-men-summer-denim-thin-shirt-short-sleeve-soft-cotton-two-pockets-slim-slight-elastic-jeans-cowboy-shirt-clothing-2024?variant=58209b54-9e1b-4360-ae61-1586f635778a","available_quantity":999999999,"options":[{"name":"color","value":"Dark Blue"},{"name":"size","value":"Asian Size M"}],"off_ratio":30,"flashsale_info":[],"sales":478};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Dark 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:
Asian 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
$26.00
${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":"58209b54-9e1b-4360-ae61-1586f635778a","product_id":"88da0db5-af18-4142-a1e8-1b76763b4ed5","title":"Dark Blue-Asian Size M","weight_unit":"kg","inventory_quantity":926,"sku":"","barcode":"","position":1,"option1":"Dark Blue","option2":"Asian Size M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/52992a3dfeb4dc7221e2afd44e06428c.jpeg","path":"52992a3dfeb4dc7221e2afd44e06428c.jpeg","width":400,"height":483,"alt":"","aspect_ratio":0.8281573498964804},"wholesale_price":[{"price":26,"min_quantity":1}],"weight":"0.4","compare_at_price":"37.1","price":"26","retail_price":"37.1","available":true,"url":"\/products\/gar-bethe-men-summer-denim-thin-shirt-short-sleeve-soft-cotton-two-pockets-slim-slight-elastic-jeans-cowboy-shirt-clothing-2024?variant=58209b54-9e1b-4360-ae61-1586f635778a","available_quantity":999999999,"options":[{"name":"color","value":"Dark Blue"},{"name":"size","value":"Asian Size M"}],"off_ratio":30,"flashsale_info":[],"sales":478};
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.