Baseball Grandma T-shirt-013443
${function() {
const variantData = data.variant || {"id":"ea8d2268-a975-4f0d-8031-fed2283a0de8","product_id":"3a39c289-c67c-45e2-8db1-853bdc4234b1","title":"S-Rose Gold","weight_unit":"g","inventory_quantity":0,"sku":"713351.01","barcode":"","position":1,"option1":"S","option2":"Rose Gold","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b089b0144e0b72ed707dea018aba0d0.jpeg","path":"3b089b0144e0b72ed707dea018aba0d0.jpeg","width":1001,"height":1001,"alt":"Baseball Grandma T-shirt-013443-Guru-buzz","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"18.99","retail_price":"24.99","available":true,"url":"\/products\/im-not-just-his-grandma-im-his-1-fan-t-shirt-tee-013443-gge8?variant=ea8d2268-a975-4f0d-8031-fed2283a0de8","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Rose Gold"}],"off_ratio":24,"flashsale_info":[],"sales":17};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
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}
`
}()}
Color:
Rose Gold
${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}
`
}()}
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":"ea8d2268-a975-4f0d-8031-fed2283a0de8","product_id":"3a39c289-c67c-45e2-8db1-853bdc4234b1","title":"S-Rose Gold","weight_unit":"g","inventory_quantity":0,"sku":"713351.01","barcode":"","position":1,"option1":"S","option2":"Rose Gold","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3b089b0144e0b72ed707dea018aba0d0.jpeg","path":"3b089b0144e0b72ed707dea018aba0d0.jpeg","width":1001,"height":1001,"alt":"Baseball Grandma T-shirt-013443-Guru-buzz","aspect_ratio":1},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"24.99","price":"18.99","retail_price":"24.99","available":true,"url":"\/products\/im-not-just-his-grandma-im-his-1-fan-t-shirt-tee-013443-gge8?variant=ea8d2268-a975-4f0d-8031-fed2283a0de8","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Rose Gold"}],"off_ratio":24,"flashsale_info":[],"sales":17};
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.