Sometimes It Takes me all day to get nothing done Round Neck T-shirt-0025224
${function() {
const variantData = data.variant || {"id":"e45e9fa1-6624-40b9-83f0-7133b8c18824","product_id":"c34dc870-7cc2-4134-9f76-5ec25d42dd06","title":"Hemp Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"RoundNeckTshirt_29_0025224.07","barcode":"","position":7,"option1":"Hemp Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e37447212492bd366689ab73b4858c9f.jpeg","path":"e37447212492bd366689ab73b4858c9f.jpeg","width":1024,"height":1024,"alt":"Sometimes It Takes me all day to get nothing done Round Neck T-shirt-0025224-Guru-buzz","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"18.99","retail_price":"29.99","available":true,"url":"\/products\/sometimes-it-takes-me-all-day-to-get-nothing-done-round-neck-t-shirt-0025224?variant=e45e9fa1-6624-40b9-83f0-7133b8c18824","available_quantity":999999999,"options":[{"name":"Color","value":"Hemp Grey"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Hemp Grey
${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:
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}
`
}()}
Add to cart
$18.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":"e45e9fa1-6624-40b9-83f0-7133b8c18824","product_id":"c34dc870-7cc2-4134-9f76-5ec25d42dd06","title":"Hemp Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"RoundNeckTshirt_29_0025224.07","barcode":"","position":7,"option1":"Hemp Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e37447212492bd366689ab73b4858c9f.jpeg","path":"e37447212492bd366689ab73b4858c9f.jpeg","width":1024,"height":1024,"alt":"Sometimes It Takes me all day to get nothing done Round Neck T-shirt-0025224-Guru-buzz","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"18.99","retail_price":"29.99","available":true,"url":"\/products\/sometimes-it-takes-me-all-day-to-get-nothing-done-round-neck-t-shirt-0025224?variant=e45e9fa1-6624-40b9-83f0-7133b8c18824","available_quantity":999999999,"options":[{"name":"Color","value":"Hemp Grey"},{"name":"Size","value":"S"}],"off_ratio":37,"flashsale_info":[],"sales":0};
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.