MUX VIE Prijouhe Men's Harem Pants, Baggy Wide Leg Hip Hop Pants, Cotton
${function() {
const variantData = data.variant || {"id":"4940fbfb-e215-4e72-91ad-3e3e3f7aaf1e","product_id":"00e970ea-7db4-4e19-b4c9-0c2559924bdf","title":"04-black-Small","weight_unit":"kg","inventory_quantity":930,"sku":"","barcode":"","position":1,"option1":"04-black","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ade2a97e08a52fbbf26126e13e4b55e.jpeg","path":"0ade2a97e08a52fbbf26126e13e4b55e.jpeg","width":370,"height":800,"alt":"","aspect_ratio":0.4625},"wholesale_price":[{"price":35.1,"min_quantity":1}],"weight":"0.01","compare_at_price":"54","price":"35.1","retail_price":"54","available":true,"url":"\/products\/mux-vie-prijouhe-men-39-s-harem-pants-baggy-wide-leg-hip-hop-pants-cotton?variant=4940fbfb-e215-4e72-91ad-3e3e3f7aaf1e","available_quantity":999999999,"options":[{"name":"Color","value":"04-black"},{"name":"Size","value":"Small"}],"off_ratio":35,"flashsale_info":[],"sales":831};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
04-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:
Small
${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
$35.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":"4940fbfb-e215-4e72-91ad-3e3e3f7aaf1e","product_id":"00e970ea-7db4-4e19-b4c9-0c2559924bdf","title":"04-black-Small","weight_unit":"kg","inventory_quantity":930,"sku":"","barcode":"","position":1,"option1":"04-black","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ade2a97e08a52fbbf26126e13e4b55e.jpeg","path":"0ade2a97e08a52fbbf26126e13e4b55e.jpeg","width":370,"height":800,"alt":"","aspect_ratio":0.4625},"wholesale_price":[{"price":35.1,"min_quantity":1}],"weight":"0.01","compare_at_price":"54","price":"35.1","retail_price":"54","available":true,"url":"\/products\/mux-vie-prijouhe-men-39-s-harem-pants-baggy-wide-leg-hip-hop-pants-cotton?variant=4940fbfb-e215-4e72-91ad-3e3e3f7aaf1e","available_quantity":999999999,"options":[{"name":"Color","value":"04-black"},{"name":"Size","value":"Small"}],"off_ratio":35,"flashsale_info":[],"sales":831};
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.