Custom Large Desk Pad with Photo Text Personalized Picture Logo Non-Slip Game Computer Mouse Mat Customized Office Supplies (12in x 31.5in)
${function() {
const variantData = data.variant || {"id":"0faa5a47-72b1-46fe-bfc3-75bb13cfa0d2","product_id":"4ed3cc8c-fcd4-4f74-9d7c-0a98d4f695c3","title":"29.5\" x 16\"","weight_unit":"kg","inventory_quantity":1000,"sku":"B0DJKJNZL1","barcode":"","position":1,"option1":"29.5\" x 16\"","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5cef21f188fd60ab9d1235a8d92f65e5.jpeg","path":"5cef21f188fd60ab9d1235a8d92f65e5.jpeg","width":1481,"height":1500,"alt":"","aspect_ratio":0.9873333333333333},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"13.99","price":"13.99","retail_price":"13.99","available":true,"url":"\/products\/custom-large-desk-pad-with-photo-text-personalized-picture-logo-non-slip-game-computer-mouse-mat-customized-office-supplies-12in-x-31-5in-b0cyzlm7wy?variant=0faa5a47-72b1-46fe-bfc3-75bb13cfa0d2","available_quantity":1000,"options":[{"name":"Size","value":"29.5\" x 16\""}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
29.5" x 16"
${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
$13.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":"0faa5a47-72b1-46fe-bfc3-75bb13cfa0d2","product_id":"4ed3cc8c-fcd4-4f74-9d7c-0a98d4f695c3","title":"29.5\" x 16\"","weight_unit":"kg","inventory_quantity":1000,"sku":"B0DJKJNZL1","barcode":"","position":1,"option1":"29.5\" x 16\"","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5cef21f188fd60ab9d1235a8d92f65e5.jpeg","path":"5cef21f188fd60ab9d1235a8d92f65e5.jpeg","width":1481,"height":1500,"alt":"","aspect_ratio":0.9873333333333333},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"13.99","price":"13.99","retail_price":"13.99","available":true,"url":"\/products\/custom-large-desk-pad-with-photo-text-personalized-picture-logo-non-slip-game-computer-mouse-mat-customized-office-supplies-12in-x-31-5in-b0cyzlm7wy?variant=0faa5a47-72b1-46fe-bfc3-75bb13cfa0d2","available_quantity":1000,"options":[{"name":"Size","value":"29.5\" x 16\""}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"0faa5a47-72b1-46fe-bfc3-75bb13cfa0d2","product_id":"4ed3cc8c-fcd4-4f74-9d7c-0a98d4f695c3","title":"29.5\" x 16\"","weight_unit":"kg","inventory_quantity":1000,"sku":"B0DJKJNZL1","barcode":"","position":1,"option1":"29.5\" x 16\"","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5cef21f188fd60ab9d1235a8d92f65e5.jpeg","path":"5cef21f188fd60ab9d1235a8d92f65e5.jpeg","width":1481,"height":1500,"alt":"","aspect_ratio":0.9873333333333333},"wholesale_price":[{"price":13.99,"min_quantity":1}],"weight":"0","compare_at_price":"13.99","price":"13.99","retail_price":"13.99","available":true,"url":"\/products\/custom-large-desk-pad-with-photo-text-personalized-picture-logo-non-slip-game-computer-mouse-mat-customized-office-supplies-12in-x-31-5in-b0cyzlm7wy?variant=0faa5a47-72b1-46fe-bfc3-75bb13cfa0d2","available_quantity":1000,"options":[{"name":"Size","value":"29.5\" x 16\""}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}