SUCCESS SMARTU 2024 Spring Summer Men Korean Business Casual High Strech Slim Solid Shirts Simple Turn Down Collar Button Up Shirt Ropa Hombre
${function() {
const variantData = data.variant || {"id":"653ec7c4-a4f6-4b6b-9dc4-20caea450a7c","product_id":"13def766-ceb8-40ab-917d-2add521613f7","title":"Dark Gray-Asia S 47-51KG","weight_unit":"g","inventory_quantity":713,"sku":"","barcode":"","position":1,"option1":"Dark Gray","option2":"Asia S 47-51KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f41e160d13e98eefa3751e74ed51d0b0.jpeg","path":"f41e160d13e98eefa3751e74ed51d0b0.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.3,"min_quantity":1}],"weight":"350","compare_at_price":"60.6","price":"30.3","retail_price":"60.6","available":true,"url":"\/products\/success-smartu-2024-spring-summer-men-korean-business-casual-high-strech-slim-solid-shirts-simple-turn-down-collar-button-up-shirt-ropa-hombre?variant=653ec7c4-a4f6-4b6b-9dc4-20caea450a7c","available_quantity":999999999,"options":[{"name":"color","value":"Dark Gray"},{"name":"size","value":"Asia S 47-51KG"}],"off_ratio":50,"flashsale_info":[],"sales":260};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Dark Gray
${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:
Asia S 47-51KG
${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
$30.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":"653ec7c4-a4f6-4b6b-9dc4-20caea450a7c","product_id":"13def766-ceb8-40ab-917d-2add521613f7","title":"Dark Gray-Asia S 47-51KG","weight_unit":"g","inventory_quantity":713,"sku":"","barcode":"","position":1,"option1":"Dark Gray","option2":"Asia S 47-51KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f41e160d13e98eefa3751e74ed51d0b0.jpeg","path":"f41e160d13e98eefa3751e74ed51d0b0.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.3,"min_quantity":1}],"weight":"350","compare_at_price":"60.6","price":"30.3","retail_price":"60.6","available":true,"url":"\/products\/success-smartu-2024-spring-summer-men-korean-business-casual-high-strech-slim-solid-shirts-simple-turn-down-collar-button-up-shirt-ropa-hombre?variant=653ec7c4-a4f6-4b6b-9dc4-20caea450a7c","available_quantity":999999999,"options":[{"name":"color","value":"Dark Gray"},{"name":"size","value":"Asia S 47-51KG"}],"off_ratio":50,"flashsale_info":[],"sales":260};
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":"653ec7c4-a4f6-4b6b-9dc4-20caea450a7c","product_id":"13def766-ceb8-40ab-917d-2add521613f7","title":"Dark Gray-Asia S 47-51KG","weight_unit":"g","inventory_quantity":713,"sku":"","barcode":"","position":1,"option1":"Dark Gray","option2":"Asia S 47-51KG","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f41e160d13e98eefa3751e74ed51d0b0.jpeg","path":"f41e160d13e98eefa3751e74ed51d0b0.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.3,"min_quantity":1}],"weight":"350","compare_at_price":"60.6","price":"30.3","retail_price":"60.6","available":true,"url":"\/products\/success-smartu-2024-spring-summer-men-korean-business-casual-high-strech-slim-solid-shirts-simple-turn-down-collar-button-up-shirt-ropa-hombre?variant=653ec7c4-a4f6-4b6b-9dc4-20caea450a7c","available_quantity":999999999,"options":[{"name":"color","value":"Dark Gray"},{"name":"size","value":"Asia S 47-51KG"}],"off_ratio":50,"flashsale_info":[],"sales":260};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}