Hand-sewn Rhinestone-encrusted Ultra-thin Socks
SP240312EUWW
${function() {
const variantData = data.variant || {"id":"b01a92ff-0009-4116-afd3-d25bb51752af","product_id":"dfd80983-1373-4a94-9166-4208a0188ec0","title":"Grey-One Size","weight_unit":"kg","inventory_quantity":0,"sku":"SP240312EUWW","barcode":"","position":1,"option1":"Grey","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3ae8695a37641e6a1ec88ee298251de.jpg","path":"a3ae8695a37641e6a1ec88ee298251de.jpg","width":1313,"height":1678,"alt":"Hand-sewn Rhinestone-encrusted Ultra-thin Socks Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":49.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.95","retail_price":"0","available":true,"url":"\/products\/hand-sewn-rhinestone-encrusted-ultra-thin-socks?variant=b01a92ff-0009-4116-afd3-d25bb51752af","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"b01a92ff-0009-4116-afd3-d25bb51752af","product_id":"dfd80983-1373-4a94-9166-4208a0188ec0","title":"Grey-One Size","weight_unit":"kg","inventory_quantity":0,"sku":"SP240312EUWW","barcode":"","position":1,"option1":"Grey","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a3ae8695a37641e6a1ec88ee298251de.jpg","path":"a3ae8695a37641e6a1ec88ee298251de.jpg","width":1313,"height":1678,"alt":"Hand-sewn Rhinestone-encrusted Ultra-thin Socks Techwear Shop","aspect_ratio":0.7824791418355185},"wholesale_price":[{"price":49.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49.95","retail_price":"0","available":true,"url":"\/products\/hand-sewn-rhinestone-encrusted-ultra-thin-socks?variant=b01a92ff-0009-4116-afd3-d25bb51752af","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}
${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 `
`;
}()}