Popular
+ runners are looking at this right now
STAPLE x Adrenaline GTS 4
${function() {
const variantData = data.variant || {"id":"a260d11a-092a-4fb8-bc3c-988b5649318b","product_id":"0c996784-6868-4434-9f59-b5aa5bbd1f22","title":"042 - Black\/White\/Pigeon Pink-37.5-3 pairs of socks","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"042 - Black\/White\/Pigeon Pink","option2":"37.5","option3":"3 pairs of socks","note":"","image":null,"wholesale_price":[{"price":97,"min_quantity":1}],"weight":"0","compare_at_price":"175","price":"97","retail_price":"175","available":true,"url":"\/products\/glycerin-max-042m-j1h6-5zmt-tvk7-a5tc-cyoq?variant=a260d11a-092a-4fb8-bc3c-988b5649318b","available_quantity":999999999,"options":[{"name":"COLOR","value":"042 - Black\/White\/Pigeon Pink"},{"name":"SELECT A SIZE","value":"37.5"},{"name":"PROMOTIONAL GIIFTS","value":"3 pairs of socks"}],"off_ratio":45,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
042 - Black/White/Pigeon Pink
${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}
`
}()}
Select A Size:
37.5
${function(){
const optName = "SELECT A 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}
`
}()}
Promotional Giifts:
3 pairs of socks
${function(){
const optName = "PROMOTIONAL GIIFTS";
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
€97.00
${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":"a260d11a-092a-4fb8-bc3c-988b5649318b","product_id":"0c996784-6868-4434-9f59-b5aa5bbd1f22","title":"042 - Black\/White\/Pigeon Pink-37.5-3 pairs of socks","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"042 - Black\/White\/Pigeon Pink","option2":"37.5","option3":"3 pairs of socks","note":"","image":null,"wholesale_price":[{"price":97,"min_quantity":1}],"weight":"0","compare_at_price":"175","price":"97","retail_price":"175","available":true,"url":"\/products\/glycerin-max-042m-j1h6-5zmt-tvk7-a5tc-cyoq?variant=a260d11a-092a-4fb8-bc3c-988b5649318b","available_quantity":999999999,"options":[{"name":"COLOR","value":"042 - Black\/White\/Pigeon Pink"},{"name":"SELECT A SIZE","value":"37.5"},{"name":"PROMOTIONAL GIIFTS","value":"3 pairs of socks"}],"off_ratio":45,"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":"a260d11a-092a-4fb8-bc3c-988b5649318b","product_id":"0c996784-6868-4434-9f59-b5aa5bbd1f22","title":"042 - Black\/White\/Pigeon Pink-37.5-3 pairs of socks","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"042 - Black\/White\/Pigeon Pink","option2":"37.5","option3":"3 pairs of socks","note":"","image":null,"wholesale_price":[{"price":97,"min_quantity":1}],"weight":"0","compare_at_price":"175","price":"97","retail_price":"175","available":true,"url":"\/products\/glycerin-max-042m-j1h6-5zmt-tvk7-a5tc-cyoq?variant=a260d11a-092a-4fb8-bc3c-988b5649318b","available_quantity":999999999,"options":[{"name":"COLOR","value":"042 - Black\/White\/Pigeon Pink"},{"name":"SELECT A SIZE","value":"37.5"},{"name":"PROMOTIONAL GIIFTS","value":"3 pairs of socks"}],"off_ratio":45,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}