SUCCESS SMARTU 2024 Men Beach Shorts Hawaii Summer Tropical Polynesian Kanaka Women Board Shorts 3d Print Swim Trunks Ropa Hombre Short Pants
Apparel & Accessories > Clothing > Pants
${function() {
const variantData = data.variant || {"id":"8aa0e962-408d-4b3e-a779-a70dc543e785","product_id":"266fbe5a-1c4d-478b-968e-a35e6c421178","title":"Shorts-PYA30997-XXS","weight_unit":"g","inventory_quantity":776,"sku":"","barcode":"","position":1,"option1":"Shorts-PYA30997","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6365cff57efd105a55ebb1ef89a7f9b3.png","path":"6365cff57efd105a55ebb1ef89a7f9b3.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":11.8,"min_quantity":1}],"weight":"200","compare_at_price":"11.8","price":"11.8","retail_price":"11.8","available":true,"url":"\/products\/success-smartu-2024-men-beach-shorts-hawaii-summer-tropical-polynesian-kanaka-women-board-shorts-3d-print-swim-trunks-ropa-hombre-short-pants-llo0?variant=8aa0e962-408d-4b3e-a779-a70dc543e785","available_quantity":999999999,"options":[{"name":"color","value":"Shorts-PYA30997"},{"name":"size","value":"XXS"}],"off_ratio":0,"flashsale_info":[],"sales":870};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Shorts-PYA30997
${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:
XXS
${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
$11.80
${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":"8aa0e962-408d-4b3e-a779-a70dc543e785","product_id":"266fbe5a-1c4d-478b-968e-a35e6c421178","title":"Shorts-PYA30997-XXS","weight_unit":"g","inventory_quantity":776,"sku":"","barcode":"","position":1,"option1":"Shorts-PYA30997","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6365cff57efd105a55ebb1ef89a7f9b3.png","path":"6365cff57efd105a55ebb1ef89a7f9b3.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":11.8,"min_quantity":1}],"weight":"200","compare_at_price":"11.8","price":"11.8","retail_price":"11.8","available":true,"url":"\/products\/success-smartu-2024-men-beach-shorts-hawaii-summer-tropical-polynesian-kanaka-women-board-shorts-3d-print-swim-trunks-ropa-hombre-short-pants-llo0?variant=8aa0e962-408d-4b3e-a779-a70dc543e785","available_quantity":999999999,"options":[{"name":"color","value":"Shorts-PYA30997"},{"name":"size","value":"XXS"}],"off_ratio":0,"flashsale_info":[],"sales":870};
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.
${function(){
const variantData = data.variant || {"id":"8aa0e962-408d-4b3e-a779-a70dc543e785","product_id":"266fbe5a-1c4d-478b-968e-a35e6c421178","title":"Shorts-PYA30997-XXS","weight_unit":"g","inventory_quantity":776,"sku":"","barcode":"","position":1,"option1":"Shorts-PYA30997","option2":"XXS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6365cff57efd105a55ebb1ef89a7f9b3.png","path":"6365cff57efd105a55ebb1ef89a7f9b3.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":11.8,"min_quantity":1}],"weight":"200","compare_at_price":"11.8","price":"11.8","retail_price":"11.8","available":true,"url":"\/products\/success-smartu-2024-men-beach-shorts-hawaii-summer-tropical-polynesian-kanaka-women-board-shorts-3d-print-swim-trunks-ropa-hombre-short-pants-llo0?variant=8aa0e962-408d-4b3e-a779-a70dc543e785","available_quantity":999999999,"options":[{"name":"color","value":"Shorts-PYA30997"},{"name":"size","value":"XXS"}],"off_ratio":0,"flashsale_info":[],"sales":870};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}