SAYO TOMASYON New Casual Wide Leg Sports Pants Men Summer Solid Black Breathable Drawstring Trousers Male Slim Quick Drying Sweatpants
${function() {
const variantData = data.variant || {"id":"db91c831-1088-4a4e-9fc2-2ad7b1b49aa4","product_id":"61e6fbd5-c457-46d1-960b-84b8f17b1758","title":"30-Black","weight_unit":"g","inventory_quantity":900,"sku":"","barcode":"","position":1,"option1":"30","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d8795d447d021ba01ea78f173a8fb37.jpeg","path":"9d8795d447d021ba01ea78f173a8fb37.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.3,"min_quantity":1}],"weight":"550","compare_at_price":"26.3","price":"26.3","retail_price":"26.3","available":true,"url":"\/products\/sayo-tomasyon-new-casual-wide-leg-sports-pants-men-summer-solid-black-breathable-drawstring-trousers-male-slim-quick-drying-sweatpants?variant=db91c831-1088-4a4e-9fc2-2ad7b1b49aa4","available_quantity":999999999,"options":[{"name":"size","value":"30"},{"name":"color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":322};
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
$26.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":"db91c831-1088-4a4e-9fc2-2ad7b1b49aa4","product_id":"61e6fbd5-c457-46d1-960b-84b8f17b1758","title":"30-Black","weight_unit":"g","inventory_quantity":900,"sku":"","barcode":"","position":1,"option1":"30","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9d8795d447d021ba01ea78f173a8fb37.jpeg","path":"9d8795d447d021ba01ea78f173a8fb37.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.3,"min_quantity":1}],"weight":"550","compare_at_price":"26.3","price":"26.3","retail_price":"26.3","available":true,"url":"\/products\/sayo-tomasyon-new-casual-wide-leg-sports-pants-men-summer-solid-black-breathable-drawstring-trousers-male-slim-quick-drying-sweatpants?variant=db91c831-1088-4a4e-9fc2-2ad7b1b49aa4","available_quantity":999999999,"options":[{"name":"size","value":"30"},{"name":"color","value":"Black"}],"off_ratio":0,"flashsale_info":[],"sales":322};
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.