GAR BETHE White Casual Straight High Waist Retro Business Italian Style Paris Buttoned Trousers
${function() {
const variantData = data.variant || {"id":"b929c25e-9e9b-4d38-b20d-0593c683aef1","product_id":"028dfac6-cb1d-4aa9-91fc-693b8aedb1b4","title":"Black-29","weight_unit":"g","inventory_quantity":811,"sku":"","barcode":"","position":1,"option1":"Black","option2":"29","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8c50d6cbb6f1f729038a5e0fa70983a.jpeg","path":"d8c50d6cbb6f1f729038a5e0fa70983a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.4,"min_quantity":1}],"weight":"508","compare_at_price":"78.8","price":"39.4","retail_price":"78.8","available":true,"url":"\/products\/gar-bethe-white-casual-straight-high-waist-retro-business-italian-style-paris-buttoned-trousers?variant=b929c25e-9e9b-4d38-b20d-0593c683aef1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"29"}],"off_ratio":50,"flashsale_info":[],"sales":772};
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:
29
${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
$39.40
${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":"b929c25e-9e9b-4d38-b20d-0593c683aef1","product_id":"028dfac6-cb1d-4aa9-91fc-693b8aedb1b4","title":"Black-29","weight_unit":"g","inventory_quantity":811,"sku":"","barcode":"","position":1,"option1":"Black","option2":"29","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d8c50d6cbb6f1f729038a5e0fa70983a.jpeg","path":"d8c50d6cbb6f1f729038a5e0fa70983a.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.4,"min_quantity":1}],"weight":"508","compare_at_price":"78.8","price":"39.4","retail_price":"78.8","available":true,"url":"\/products\/gar-bethe-white-casual-straight-high-waist-retro-business-italian-style-paris-buttoned-trousers?variant=b929c25e-9e9b-4d38-b20d-0593c683aef1","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"29"}],"off_ratio":50,"flashsale_info":[],"sales":772};
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.