GAR BETHE Green Black Jeans Men's Tight New Runway Perforated Slim Fit Elastic Hip Hop Straight Pants
${function() {
const variantData = data.variant || {"id":"c7c1c22b-5b17-481d-843f-1dcf9716a46c","product_id":"025f45e5-d371-4b9a-a181-32d9e0146a19","title":"B423 black-S-28","weight_unit":"kg","inventory_quantity":902,"sku":"","barcode":"","position":1,"option1":"B423 black","option2":"S-28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43540f84fadb6de99fc3fa361b2352c4.jpeg","path":"43540f84fadb6de99fc3fa361b2352c4.jpeg","width":418,"height":416,"alt":"","aspect_ratio":1.0048076923076923},"wholesale_price":[{"price":44,"min_quantity":1}],"weight":"1.8","compare_at_price":"62.9","price":"44","retail_price":"62.9","available":true,"url":"\/products\/gar-bethe-green-black-jeans-mens-tight-new-runway-perforated-slim-fit-elastic-hip-hop-straight-pants-tvo5?variant=c7c1c22b-5b17-481d-843f-1dcf9716a46c","available_quantity":999999999,"options":[{"name":"color","value":"B423 black"},{"name":"size","value":"S-28"}],"off_ratio":30,"flashsale_info":[],"sales":243};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
B423 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:
S-28
${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
$44.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":"c7c1c22b-5b17-481d-843f-1dcf9716a46c","product_id":"025f45e5-d371-4b9a-a181-32d9e0146a19","title":"B423 black-S-28","weight_unit":"kg","inventory_quantity":902,"sku":"","barcode":"","position":1,"option1":"B423 black","option2":"S-28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/43540f84fadb6de99fc3fa361b2352c4.jpeg","path":"43540f84fadb6de99fc3fa361b2352c4.jpeg","width":418,"height":416,"alt":"","aspect_ratio":1.0048076923076923},"wholesale_price":[{"price":44,"min_quantity":1}],"weight":"1.8","compare_at_price":"62.9","price":"44","retail_price":"62.9","available":true,"url":"\/products\/gar-bethe-green-black-jeans-mens-tight-new-runway-perforated-slim-fit-elastic-hip-hop-straight-pants-tvo5?variant=c7c1c22b-5b17-481d-843f-1dcf9716a46c","available_quantity":999999999,"options":[{"name":"color","value":"B423 black"},{"name":"size","value":"S-28"}],"off_ratio":30,"flashsale_info":[],"sales":243};
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.