GAR BETHE Fashion Denim Shorts Men's Summer Slim Fit Casual Straight Sleeve Street Wear Youth Men's Over Knee Shorts Blue Black
${function() {
const variantData = data.variant || {"id":"de7aeb72-3ba1-42c0-a758-e55a7dda8b0b","product_id":"55ba28d9-a273-4b09-a606-de4a50a314bf","title":"Black-Asia S 45-52kg","weight_unit":"kg","inventory_quantity":933,"sku":"","barcode":"","position":1,"option1":"Black","option2":"Asia S 45-52kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5f5c5a4ca538a4061c9275b208f43805.jpeg","path":"5f5c5a4ca538a4061c9275b208f43805.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.9,"min_quantity":1}],"weight":"0.6","compare_at_price":"56.5","price":"33.9","retail_price":"56.5","available":true,"url":"\/products\/gar-bethe-fashion-denim-shorts-mens-summer-slim-fit-casual-straight-sleeve-street-wear-youth-mens-over-knee-shorts-blue-black?variant=de7aeb72-3ba1-42c0-a758-e55a7dda8b0b","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"Asia S 45-52kg"}],"off_ratio":40,"flashsale_info":[],"sales":133};
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:
Asia S 45-52kg
${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
$33.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":"de7aeb72-3ba1-42c0-a758-e55a7dda8b0b","product_id":"55ba28d9-a273-4b09-a606-de4a50a314bf","title":"Black-Asia S 45-52kg","weight_unit":"kg","inventory_quantity":933,"sku":"","barcode":"","position":1,"option1":"Black","option2":"Asia S 45-52kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5f5c5a4ca538a4061c9275b208f43805.jpeg","path":"5f5c5a4ca538a4061c9275b208f43805.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":33.9,"min_quantity":1}],"weight":"0.6","compare_at_price":"56.5","price":"33.9","retail_price":"56.5","available":true,"url":"\/products\/gar-bethe-fashion-denim-shorts-mens-summer-slim-fit-casual-straight-sleeve-street-wear-youth-mens-over-knee-shorts-blue-black?variant=de7aeb72-3ba1-42c0-a758-e55a7dda8b0b","available_quantity":999999999,"options":[{"name":"color","value":"Black"},{"name":"size","value":"Asia S 45-52kg"}],"off_ratio":40,"flashsale_info":[],"sales":133};
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.