Don't Let Other People Write Your Script Print Short Sleeve T-Shirt
${function() {
const variantData = data.variant || {"id":"85b03071-7f30-4d63-9f95-084bf04b94d7","product_id":"d96c8237-4601-4db8-8517-c3586b5d5989","title":"White-S","weight_unit":"g","inventory_quantity":999,"sku":"XHCufzn9N-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2237c059e21a7676d1425f87051ed4c.jpeg","path":"f2237c059e21a7676d1425f87051ed4c.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"19.89","retail_price":"29","available":true,"url":"\/products\/dont-let-other-people-write-your-script-print-short-sleeve-t-shirt?variant=85b03071-7f30-4d63-9f95-084bf04b94d7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":26};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy 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 `
`;
}()}