SAYO TOMASYON Men's Harem Pants Spring Summer Thin Streetwear Trousers Male Cotton Jogging Sports Sweatpants Men Clothing Joggers 2024
${function() {
const variantData = data.variant || {"id":"fc9a38a9-835c-416b-9756-6e3bfe464662","product_id":"3d943a3a-7dd5-4dbc-9630-42eb74ec9c27","title":"M-Black U01","weight_unit":"g","inventory_quantity":689,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black U01","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6616e25a5bbd969a0ead7e855fea78e.webp","path":"b6616e25a5bbd969a0ead7e855fea78e.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.7,"min_quantity":1}],"weight":"450","compare_at_price":"19.7","price":"19.7","retail_price":"19.7","available":true,"url":"\/products\/sayo-tomasyon-mens-harem-pants-spring-summer-thin-streetwear-trousers-male-cotton-jogging-sports-sweatpants-men-clothing-joggers-2024?variant=fc9a38a9-835c-416b-9756-6e3bfe464662","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black U01"}],"off_ratio":0,"flashsale_info":[],"sales":469};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
M
${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 U01
${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
$19.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":"fc9a38a9-835c-416b-9756-6e3bfe464662","product_id":"3d943a3a-7dd5-4dbc-9630-42eb74ec9c27","title":"M-Black U01","weight_unit":"g","inventory_quantity":689,"sku":"","barcode":"","position":1,"option1":"M","option2":"Black U01","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b6616e25a5bbd969a0ead7e855fea78e.webp","path":"b6616e25a5bbd969a0ead7e855fea78e.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.7,"min_quantity":1}],"weight":"450","compare_at_price":"19.7","price":"19.7","retail_price":"19.7","available":true,"url":"\/products\/sayo-tomasyon-mens-harem-pants-spring-summer-thin-streetwear-trousers-male-cotton-jogging-sports-sweatpants-men-clothing-joggers-2024?variant=fc9a38a9-835c-416b-9756-6e3bfe464662","available_quantity":999999999,"options":[{"name":"size","value":"M"},{"name":"color","value":"Black U01"}],"off_ratio":0,"flashsale_info":[],"sales":469};
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.