PLUS LOFTS 2024 Quick Drying Summer Ice Silk Thin Pants Streetwear Men Straight Leg Casual Trousers Slim Fit Cotton Jogger Green
${function() {
const variantData = data.variant || {"id":"f886ca1b-fadd-4e86-8e0c-a53f8509a1de","product_id":"93361c96-34c2-41b6-88d6-f2c088b31098","title":"30-Black","weight_unit":"kg","inventory_quantity":975,"sku":"","barcode":"","position":1,"option1":"30","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cf71690e3772b1eb6f5d74b398017711.jpeg","path":"cf71690e3772b1eb6f5d74b398017711.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.7,"min_quantity":1}],"weight":"0.55","compare_at_price":"31.4","price":"15.7","retail_price":"31.4","available":true,"url":"\/products\/plus-lofts-2024-quick-drying-summer-ice-silk-thin-pants-streetwear-men-straight-leg-casual-trousers-slim-fit-cotton-jogger-green-bw3s?variant=f886ca1b-fadd-4e86-8e0c-a53f8509a1de","available_quantity":999999999,"options":[{"name":"size","value":"30"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":383};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
30
${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}
`
}()}
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}
`
}()}
Add to cart
$15.70
${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":"f886ca1b-fadd-4e86-8e0c-a53f8509a1de","product_id":"93361c96-34c2-41b6-88d6-f2c088b31098","title":"30-Black","weight_unit":"kg","inventory_quantity":975,"sku":"","barcode":"","position":1,"option1":"30","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cf71690e3772b1eb6f5d74b398017711.jpeg","path":"cf71690e3772b1eb6f5d74b398017711.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":15.7,"min_quantity":1}],"weight":"0.55","compare_at_price":"31.4","price":"15.7","retail_price":"31.4","available":true,"url":"\/products\/plus-lofts-2024-quick-drying-summer-ice-silk-thin-pants-streetwear-men-straight-leg-casual-trousers-slim-fit-cotton-jogger-green-bw3s?variant=f886ca1b-fadd-4e86-8e0c-a53f8509a1de","available_quantity":999999999,"options":[{"name":"size","value":"30"},{"name":"color","value":"Black"}],"off_ratio":50,"flashsale_info":[],"sales":383};
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.