Linen-Blend Wide-Leg Cargo Pant(BUY 2 FREE SHIPPING)
${function() {
const variantData = data.variant || {"id":"b3391910-244d-4dd8-9b7c-b39869e20ed5","product_id":"b6da9151-ec5e-428f-8af5-9dd04240869e","title":"Red-Regular-XS(0-2)","weight_unit":"kg","inventory_quantity":1000,"sku":"MMGZ1008","barcode":"","position":1,"option1":"Red","option2":"Regular","option3":"XS(0-2)","note":"","image":{"src":"\/\/img.staticdj.com\/0821f9dd4a3ea4c2b971c42bdd8dc8d8.jpg","path":"0821f9dd4a3ea4c2b971c42bdd8dc8d8.jpg","width":1080,"height":1440,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"61","price":"28","retail_price":"61","available":true,"url":"\/products\/linen-blend-wide-leg-cargo-pant-buy-2-free-shippinge1facb70-0b09-4aa4-af9e-f82cb0935f872a809ed8-4a77-4fdb-89ae-b87bfa7275b4?variant=b3391910-244d-4dd8-9b7c-b39869e20ed5","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"Regular"},{"name":"Inseam","value":"XS(0-2)"}],"off_ratio":54,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Red
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
Regular
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Inseam:
XS(0-2)
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$28.00
${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":"b3391910-244d-4dd8-9b7c-b39869e20ed5","product_id":"b6da9151-ec5e-428f-8af5-9dd04240869e","title":"Red-Regular-XS(0-2)","weight_unit":"kg","inventory_quantity":1000,"sku":"MMGZ1008","barcode":"","position":1,"option1":"Red","option2":"Regular","option3":"XS(0-2)","note":"","image":{"src":"\/\/img.staticdj.com\/0821f9dd4a3ea4c2b971c42bdd8dc8d8.jpg","path":"0821f9dd4a3ea4c2b971c42bdd8dc8d8.jpg","width":1080,"height":1440,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"61","price":"28","retail_price":"61","available":true,"url":"\/products\/linen-blend-wide-leg-cargo-pant-buy-2-free-shippinge1facb70-0b09-4aa4-af9e-f82cb0935f872a809ed8-4a77-4fdb-89ae-b87bfa7275b4?variant=b3391910-244d-4dd8-9b7c-b39869e20ed5","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"Regular"},{"name":"Inseam","value":"XS(0-2)"}],"off_ratio":54,"flashsale_info":[],"sales":0};
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.