PLUS LOFTS Casual Men's Jeans Pants Summer Thin Stretch Jeans Color Men's Jeans Pants Solid Casual Straight Blue Black Pants
${function() {
const variantData = data.variant || {"id":"b427817e-e15e-4d11-b84e-91b1f12547ed","product_id":"d463cea1-3377-4b64-8fe0-07cf032e9c9a","title":"Blue Black-28","weight_unit":"kg","inventory_quantity":892,"sku":"","barcode":"","position":1,"option1":"Blue Black","option2":"28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19c9720537920b0faa1747661b6fdcfe.jpeg","path":"19c9720537920b0faa1747661b6fdcfe.jpeg","width":430,"height":430,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.3,"min_quantity":1}],"weight":"0.9","compare_at_price":"48.2","price":"31.3","retail_price":"48.2","available":true,"url":"\/products\/plus-lofts-casual-mens-jeans-pants-summer-thin-stretch-jeans-color-mens-jeans-pants-solid-casual-straight-blue-black-pants?variant=b427817e-e15e-4d11-b84e-91b1f12547ed","available_quantity":999999999,"options":[{"name":"color","value":"Blue Black"},{"name":"size","value":"28"}],"off_ratio":35,"flashsale_info":[],"sales":407};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Blue 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:
28
${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
$31.30
${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":"b427817e-e15e-4d11-b84e-91b1f12547ed","product_id":"d463cea1-3377-4b64-8fe0-07cf032e9c9a","title":"Blue Black-28","weight_unit":"kg","inventory_quantity":892,"sku":"","barcode":"","position":1,"option1":"Blue Black","option2":"28","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19c9720537920b0faa1747661b6fdcfe.jpeg","path":"19c9720537920b0faa1747661b6fdcfe.jpeg","width":430,"height":430,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":31.3,"min_quantity":1}],"weight":"0.9","compare_at_price":"48.2","price":"31.3","retail_price":"48.2","available":true,"url":"\/products\/plus-lofts-casual-mens-jeans-pants-summer-thin-stretch-jeans-color-mens-jeans-pants-solid-casual-straight-blue-black-pants?variant=b427817e-e15e-4d11-b84e-91b1f12547ed","available_quantity":999999999,"options":[{"name":"color","value":"Blue Black"},{"name":"size","value":"28"}],"off_ratio":35,"flashsale_info":[],"sales":407};
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.