MUX VIE Solid Loose Wide Leg Pocket Pu Leather Pants
${function() {
const variantData = data.variant || {"id":"faa6b629-459d-4017-b6cb-a6435c578483","product_id":"f9e4ce38-61c6-4682-918f-00186a7d79f3","title":"Black-S","weight_unit":"g","inventory_quantity":615,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6323fbd1614a5415fe19c6db228b2ad8.jpeg","path":"6323fbd1614a5415fe19c6db228b2ad8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.4,"min_quantity":1}],"weight":"487","compare_at_price":"48.8","price":"24.4","retail_price":"48.8","available":true,"url":"\/products\/mux-vie-solid-loose-wide-leg-pocket-pu-leather-pants-qled?variant=faa6b629-459d-4017-b6cb-a6435c578483","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":455};
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:
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}
`
}()}
Add to cart
$24.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":"faa6b629-459d-4017-b6cb-a6435c578483","product_id":"f9e4ce38-61c6-4682-918f-00186a7d79f3","title":"Black-S","weight_unit":"g","inventory_quantity":615,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6323fbd1614a5415fe19c6db228b2ad8.jpeg","path":"6323fbd1614a5415fe19c6db228b2ad8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.4,"min_quantity":1}],"weight":"487","compare_at_price":"48.8","price":"24.4","retail_price":"48.8","available":true,"url":"\/products\/mux-vie-solid-loose-wide-leg-pocket-pu-leather-pants-qled?variant=faa6b629-459d-4017-b6cb-a6435c578483","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[],"sales":455};
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.