Gray Casual Men's Large Size Jumpsuit
${function() {
const variantData = data.variant || {"id":"e8a774b8-9a25-48e0-b59b-a48e7e40a757","product_id":"7865de93-d120-40cf-abf0-6651c2826596","title":"Gray-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"JH0219021907-Gray-2XL","barcode":"","position":1,"option1":"Gray","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9e25a3e8ea5e43aa82b5d0e4c55bff4.png","path":"b9e25a3e8ea5e43aa82b5d0e4c55bff4.png","width":928,"height":1232,"alt":"","aspect_ratio":0.7532467532467533},"wholesale_price":[{"price":51.99,"min_quantity":1}],"weight":"750","compare_at_price":"51.99","price":"51.99","retail_price":"51.99","available":true,"url":"\/products\/gray-casual-mens-large-size-jumpsuit?variant=e8a774b8-9a25-48e0-b59b-a48e7e40a757","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":34};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
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:
2XL
${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
$51.99
${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":"e8a774b8-9a25-48e0-b59b-a48e7e40a757","product_id":"7865de93-d120-40cf-abf0-6651c2826596","title":"Gray-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"JH0219021907-Gray-2XL","barcode":"","position":1,"option1":"Gray","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9e25a3e8ea5e43aa82b5d0e4c55bff4.png","path":"b9e25a3e8ea5e43aa82b5d0e4c55bff4.png","width":928,"height":1232,"alt":"","aspect_ratio":0.7532467532467533},"wholesale_price":[{"price":51.99,"min_quantity":1}],"weight":"750","compare_at_price":"51.99","price":"51.99","retail_price":"51.99","available":true,"url":"\/products\/gray-casual-mens-large-size-jumpsuit?variant=e8a774b8-9a25-48e0-b59b-a48e7e40a757","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":34};
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.
Sku : JH0219021907-Gray-2XL
${function(){
const variantData = data.variant || {"id":"e8a774b8-9a25-48e0-b59b-a48e7e40a757","product_id":"7865de93-d120-40cf-abf0-6651c2826596","title":"Gray-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"JH0219021907-Gray-2XL","barcode":"","position":1,"option1":"Gray","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9e25a3e8ea5e43aa82b5d0e4c55bff4.png","path":"b9e25a3e8ea5e43aa82b5d0e4c55bff4.png","width":928,"height":1232,"alt":"","aspect_ratio":0.7532467532467533},"wholesale_price":[{"price":51.99,"min_quantity":1}],"weight":"750","compare_at_price":"51.99","price":"51.99","retail_price":"51.99","available":true,"url":"\/products\/gray-casual-mens-large-size-jumpsuit?variant=e8a774b8-9a25-48e0-b59b-a48e7e40a757","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"2XL"}],"off_ratio":0,"flashsale_info":[],"sales":34};
return `
Sku : ${variantData && variantData.sku}
Barcode : ${variantData && variantData.barcode}
`
}()}