GAR BETHE Customized New Men's Original Designer Brand Nine-point Broad-legged Pants With Three Layers Deconstruction Irregular Pants
${function() {
const variantData = data.variant || {"id":"fd0b23c4-5aa2-4b57-82d9-a967f68f9af3","product_id":"b4719a70-ac2c-4c01-8f6a-7431d94e14b6","title":"S-Black","weight_unit":"kg","inventory_quantity":793,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/935b5b59a080e6124f06be0fdf90c555.jpeg","path":"935b5b59a080e6124f06be0fdf90c555.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":51.8,"min_quantity":1}],"weight":"1.5","compare_at_price":"79.7","price":"51.8","retail_price":"79.7","available":true,"url":"\/products\/gar-bethe-customized-new-mens-original-designer-brand-nine-point-broad-legged-pants-with-three-layers-deconstruction-irregular-pants?variant=fd0b23c4-5aa2-4b57-82d9-a967f68f9af3","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":35,"flashsale_info":[],"sales":706};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
S
${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}
`
}()}
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}
`
}()}
Add to cart
$51.80
${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":"fd0b23c4-5aa2-4b57-82d9-a967f68f9af3","product_id":"b4719a70-ac2c-4c01-8f6a-7431d94e14b6","title":"S-Black","weight_unit":"kg","inventory_quantity":793,"sku":"","barcode":"","position":1,"option1":"S","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/935b5b59a080e6124f06be0fdf90c555.jpeg","path":"935b5b59a080e6124f06be0fdf90c555.jpeg","width":750,"height":999,"alt":"","aspect_ratio":0.7507507507507507},"wholesale_price":[{"price":51.8,"min_quantity":1}],"weight":"1.5","compare_at_price":"79.7","price":"51.8","retail_price":"79.7","available":true,"url":"\/products\/gar-bethe-customized-new-mens-original-designer-brand-nine-point-broad-legged-pants-with-three-layers-deconstruction-irregular-pants?variant=fd0b23c4-5aa2-4b57-82d9-a967f68f9af3","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Black"}],"off_ratio":35,"flashsale_info":[],"sales":706};
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.