COUPON CHOR Men's 3d Digital Printing Casual Round Neck Short Sleeves
Apparel & Accessories > Clothing > Shirts & Tops
${function() {
const variantData = data.variant || {"id":"3ebc4f1d-e5a0-45f0-bc07-2bf19d8b4f1f","product_id":"2088fbb7-8dd9-46d0-b2d4-9e6baf26f01c","title":"Red-3XL","weight_unit":"g","inventory_quantity":975,"sku":"","barcode":"","position":1,"option1":"Red","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba06fec4ac8f9f430b7bfd1dc46e023f.jpeg","path":"ba06fec4ac8f9f430b7bfd1dc46e023f.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"150","compare_at_price":"16","price":"16","retail_price":"16","available":true,"url":"\/products\/coupon-chor-mens-3d-digital-printing-casual-round-neck-short-sleeves?variant=3ebc4f1d-e5a0-45f0-bc07-2bf19d8b4f1f","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":710};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Red
${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:
3XL
${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
$16.00
${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":"3ebc4f1d-e5a0-45f0-bc07-2bf19d8b4f1f","product_id":"2088fbb7-8dd9-46d0-b2d4-9e6baf26f01c","title":"Red-3XL","weight_unit":"g","inventory_quantity":975,"sku":"","barcode":"","position":1,"option1":"Red","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba06fec4ac8f9f430b7bfd1dc46e023f.jpeg","path":"ba06fec4ac8f9f430b7bfd1dc46e023f.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"150","compare_at_price":"16","price":"16","retail_price":"16","available":true,"url":"\/products\/coupon-chor-mens-3d-digital-printing-casual-round-neck-short-sleeves?variant=3ebc4f1d-e5a0-45f0-bc07-2bf19d8b4f1f","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":710};
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":"3ebc4f1d-e5a0-45f0-bc07-2bf19d8b4f1f","product_id":"2088fbb7-8dd9-46d0-b2d4-9e6baf26f01c","title":"Red-3XL","weight_unit":"g","inventory_quantity":975,"sku":"","barcode":"","position":1,"option1":"Red","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ba06fec4ac8f9f430b7bfd1dc46e023f.jpeg","path":"ba06fec4ac8f9f430b7bfd1dc46e023f.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"150","compare_at_price":"16","price":"16","retail_price":"16","available":true,"url":"\/products\/coupon-chor-mens-3d-digital-printing-casual-round-neck-short-sleeves?variant=3ebc4f1d-e5a0-45f0-bc07-2bf19d8b4f1f","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"size","value":"3XL"}],"off_ratio":0,"flashsale_info":[],"sales":710};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}