SUCCESS SMARTU Men's Suit Vest Black Grey Wool Tweed Waistcoat Jacket Slim Fit Like Beckham Business Groomman Clothing Man For Wedding Vests
${function() {
const variantData = data.variant || {"id":"6e35c59c-09d7-4a9d-845b-ed74a3c020cb","product_id":"e9292ee9-fb63-4160-ba3f-8f202b7ba693","title":"Black-XS","weight_unit":"g","inventory_quantity":738,"sku":"","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77ff4fda3010760bfca90cebc3226d22.jpeg","path":"77ff4fda3010760bfca90cebc3226d22.jpeg","width":1000,"height":1177,"alt":"","aspect_ratio":0.8496176720475785},"wholesale_price":[{"price":41.1,"min_quantity":1}],"weight":"0","compare_at_price":"74.7","price":"41.1","retail_price":"74.7","available":true,"url":"\/products\/success-smartu-mens-suit-vest-black-grey-wool-tweed-waistcoat-jacket-slim-fit-like-beckham-business-groomman-clothing-man-for-wedding-vests?variant=6e35c59c-09d7-4a9d-845b-ed74a3c020cb","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":45,"flashsale_info":[],"sales":511};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
Size:
XS
${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
$41.10
${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":"6e35c59c-09d7-4a9d-845b-ed74a3c020cb","product_id":"e9292ee9-fb63-4160-ba3f-8f202b7ba693","title":"Black-XS","weight_unit":"g","inventory_quantity":738,"sku":"","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77ff4fda3010760bfca90cebc3226d22.jpeg","path":"77ff4fda3010760bfca90cebc3226d22.jpeg","width":1000,"height":1177,"alt":"","aspect_ratio":0.8496176720475785},"wholesale_price":[{"price":41.1,"min_quantity":1}],"weight":"0","compare_at_price":"74.7","price":"41.1","retail_price":"74.7","available":true,"url":"\/products\/success-smartu-mens-suit-vest-black-grey-wool-tweed-waistcoat-jacket-slim-fit-like-beckham-business-groomman-clothing-man-for-wedding-vests?variant=6e35c59c-09d7-4a9d-845b-ed74a3c020cb","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":45,"flashsale_info":[],"sales":511};
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":"6e35c59c-09d7-4a9d-845b-ed74a3c020cb","product_id":"e9292ee9-fb63-4160-ba3f-8f202b7ba693","title":"Black-XS","weight_unit":"g","inventory_quantity":738,"sku":"","barcode":"","position":1,"option1":"Black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/77ff4fda3010760bfca90cebc3226d22.jpeg","path":"77ff4fda3010760bfca90cebc3226d22.jpeg","width":1000,"height":1177,"alt":"","aspect_ratio":0.8496176720475785},"wholesale_price":[{"price":41.1,"min_quantity":1}],"weight":"0","compare_at_price":"74.7","price":"41.1","retail_price":"74.7","available":true,"url":"\/products\/success-smartu-mens-suit-vest-black-grey-wool-tweed-waistcoat-jacket-slim-fit-like-beckham-business-groomman-clothing-man-for-wedding-vests?variant=6e35c59c-09d7-4a9d-845b-ed74a3c020cb","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"XS"}],"off_ratio":45,"flashsale_info":[],"sales":511};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}