SUCCESS SMARTU American Running Training Quick-drying Summer Breathable Casual Fifth Pants Thin
Apparel & Accessories > Clothing > Shorts
${function() {
const variantData = data.variant || {"id":"6019298b-f43d-4735-808c-40a8151565be","product_id":"11081b97-0334-45f9-aca1-93b6d0d74b24","title":"S-Pure White","weight_unit":"g","inventory_quantity":984,"sku":"","barcode":"","position":1,"option1":"S","option2":"Pure White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09b738f5a95a09948fe85b97e85569cd.jpeg","path":"09b738f5a95a09948fe85b97e85569cd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.3,"min_quantity":1}],"weight":"540","compare_at_price":"43.8","price":"26.3","retail_price":"43.8","available":true,"url":"\/products\/success-smartu-american-running-training-quick-drying-summer-breathable-casual-fifth-pants-thin-9uml?variant=6019298b-f43d-4735-808c-40a8151565be","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"Color","value":"Pure White"}],"off_ratio":40,"flashsale_info":[],"sales":849};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
S
${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:
Pure White
${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":"6019298b-f43d-4735-808c-40a8151565be","product_id":"11081b97-0334-45f9-aca1-93b6d0d74b24","title":"S-Pure White","weight_unit":"g","inventory_quantity":984,"sku":"","barcode":"","position":1,"option1":"S","option2":"Pure White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09b738f5a95a09948fe85b97e85569cd.jpeg","path":"09b738f5a95a09948fe85b97e85569cd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.3,"min_quantity":1}],"weight":"540","compare_at_price":"43.8","price":"26.3","retail_price":"43.8","available":true,"url":"\/products\/success-smartu-american-running-training-quick-drying-summer-breathable-casual-fifth-pants-thin-9uml?variant=6019298b-f43d-4735-808c-40a8151565be","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"Color","value":"Pure White"}],"off_ratio":40,"flashsale_info":[],"sales":849};
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":"6019298b-f43d-4735-808c-40a8151565be","product_id":"11081b97-0334-45f9-aca1-93b6d0d74b24","title":"S-Pure White","weight_unit":"g","inventory_quantity":984,"sku":"","barcode":"","position":1,"option1":"S","option2":"Pure White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09b738f5a95a09948fe85b97e85569cd.jpeg","path":"09b738f5a95a09948fe85b97e85569cd.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.3,"min_quantity":1}],"weight":"540","compare_at_price":"43.8","price":"26.3","retail_price":"43.8","available":true,"url":"\/products\/success-smartu-american-running-training-quick-drying-summer-breathable-casual-fifth-pants-thin-9uml?variant=6019298b-f43d-4735-808c-40a8151565be","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"Color","value":"Pure White"}],"off_ratio":40,"flashsale_info":[],"sales":849};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}