GAR BETHE Ins Abstinence Department Eight-point Suit Pants Male Hong Kong Style Pure Black Wide-leg Daddy Pants Nine-point Straight Casual
${function() {
const variantData = data.variant || {"id":"fa5d0daf-4ef6-478c-b5a7-1f44da28c26b","product_id":"957eaaa0-0a64-418a-84d6-aaaa21622c39","title":"M-Black","weight_unit":"kg","inventory_quantity":746,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c8938d3cb0fd889c15a65330a1fa060.jpeg","path":"4c8938d3cb0fd889c15a65330a1fa060.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.1,"min_quantity":1}],"weight":"0.9","compare_at_price":"76.2","price":"38.1","retail_price":"76.2","available":true,"url":"\/products\/gar-bethe-ins-abstinence-department-eight-point-suit-pants-male-hong-kong-style-pure-black-wide-leg-daddy-pants-nine-point-straight-casual?variant=fa5d0daf-4ef6-478c-b5a7-1f44da28c26b","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":386};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
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
$38.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":"fa5d0daf-4ef6-478c-b5a7-1f44da28c26b","product_id":"957eaaa0-0a64-418a-84d6-aaaa21622c39","title":"M-Black","weight_unit":"kg","inventory_quantity":746,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4c8938d3cb0fd889c15a65330a1fa060.jpeg","path":"4c8938d3cb0fd889c15a65330a1fa060.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":38.1,"min_quantity":1}],"weight":"0.9","compare_at_price":"76.2","price":"38.1","retail_price":"76.2","available":true,"url":"\/products\/gar-bethe-ins-abstinence-department-eight-point-suit-pants-male-hong-kong-style-pure-black-wide-leg-daddy-pants-nine-point-straight-casual?variant=fa5d0daf-4ef6-478c-b5a7-1f44da28c26b","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":386};
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.