Don't Mess With Mamasaurus- Custom Mug🔥Buy 3 Get Free Shipping🔥
${function() {
const variantData = data.variant || {"id":"7480e9fb-e928-4ae0-a731-2213b87a9255","product_id":"d1edfbf3-62c2-4e72-9b31-c94e8857e1e1","title":"Common Mug-MAMASAURUS-1 Piece","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Common Mug","option2":"MAMASAURUS","option3":"1 Piece","note":"1\u4ef6-\u666e\u901a\u9a6c\u514b\u676f11oz\u63d0\u4f9b\u56fe\u6848\u5b9a\u5236","image":null,"wholesale_price":[{"price":37.9,"min_quantity":1}],"weight":"0.5","compare_at_price":"59","price":"37.9","retail_price":"59","available":true,"url":"\/products\/dont-mess-with-mamasaurus-custom-mug\ud83d\udd25buy-3-get-free-shipping\ud83d\udd25?variant=7480e9fb-e928-4ae0-a731-2213b87a9255","available_quantity":999999999,"options":[{"name":"Style","value":"Common Mug"},{"name":"Title Style","value":"MAMASAURUS"},{"name":"Package","value":"1 Piece"}],"off_ratio":36,"flashsale_info":[],"sales":171};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
people are viewing this right now
${function() {
const postageFreeAmount = 80;
const custom_text = "Buy {amount} more to enjoy FREE\nShipping.Or buy any 2 products and get FREE shipping.";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}
Style:
Common Mug
${function(){
const optName = "Style";
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}
`
}()}
Title Style:
MAMASAURUS
${function(){
const optName = "Title Style";
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}
`
}()}
Package:
1 Piece
${function(){
const optName = "Package";
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
$37.90
${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":"7480e9fb-e928-4ae0-a731-2213b87a9255","product_id":"d1edfbf3-62c2-4e72-9b31-c94e8857e1e1","title":"Common Mug-MAMASAURUS-1 Piece","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Common Mug","option2":"MAMASAURUS","option3":"1 Piece","note":"1\u4ef6-\u666e\u901a\u9a6c\u514b\u676f11oz\u63d0\u4f9b\u56fe\u6848\u5b9a\u5236","image":null,"wholesale_price":[{"price":37.9,"min_quantity":1}],"weight":"0.5","compare_at_price":"59","price":"37.9","retail_price":"59","available":true,"url":"\/products\/dont-mess-with-mamasaurus-custom-mug\ud83d\udd25buy-3-get-free-shipping\ud83d\udd25?variant=7480e9fb-e928-4ae0-a731-2213b87a9255","available_quantity":999999999,"options":[{"name":"Style","value":"Common Mug"},{"name":"Title Style","value":"MAMASAURUS"},{"name":"Package","value":"1 Piece"}],"off_ratio":36,"flashsale_info":[],"sales":171};
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.
Free shipping on orders over $80
30 days no reason to return