GAR BETHE Ankle Support Brace Safety Running Basketball Sports Ankle Sleeves
${function() {
const variantData = data.variant || {"id":"0e291c89-0b02-40a0-885f-9be2ef9eaab9","product_id":"a7ccbbf2-4fa4-4060-9d94-3a9ec544dd18","title":"S-1pc-Right orange","weight_unit":"g","inventory_quantity":619,"sku":"","barcode":"","position":1,"option1":"S","option2":"1pc","option3":"Right orange","note":"","image":{"src":"\/\/img.staticdj.com\/a7e4336d302fadb764f5d44f0bf57ce1.jpeg","path":"a7e4336d302fadb764f5d44f0bf57ce1.jpeg","width":739,"height":739,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.4,"min_quantity":1}],"weight":"45","compare_at_price":"26.8","price":"17.4","retail_price":"26.8","available":true,"url":"\/products\/gar-bethe-ankle-support-brace-safety-running-basketball-sports-ankle-sleeves?variant=0e291c89-0b02-40a0-885f-9be2ef9eaab9","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"quantity","value":"1pc"},{"name":"Model","value":"Right orange"}],"off_ratio":35,"flashsale_info":[],"sales":846};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
S
${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}
`
}()}
Quantity:
1pc
${function(){
const optName = "quantity";
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}
`
}()}
Model:
Right orange
${function(){
const optName = "Model";
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
$17.40
${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":"0e291c89-0b02-40a0-885f-9be2ef9eaab9","product_id":"a7ccbbf2-4fa4-4060-9d94-3a9ec544dd18","title":"S-1pc-Right orange","weight_unit":"g","inventory_quantity":619,"sku":"","barcode":"","position":1,"option1":"S","option2":"1pc","option3":"Right orange","note":"","image":{"src":"\/\/img.staticdj.com\/a7e4336d302fadb764f5d44f0bf57ce1.jpeg","path":"a7e4336d302fadb764f5d44f0bf57ce1.jpeg","width":739,"height":739,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":17.4,"min_quantity":1}],"weight":"45","compare_at_price":"26.8","price":"17.4","retail_price":"26.8","available":true,"url":"\/products\/gar-bethe-ankle-support-brace-safety-running-basketball-sports-ankle-sleeves?variant=0e291c89-0b02-40a0-885f-9be2ef9eaab9","available_quantity":999999999,"options":[{"name":"Size","value":"S"},{"name":"quantity","value":"1pc"},{"name":"Model","value":"Right orange"}],"off_ratio":35,"flashsale_info":[],"sales":846};
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.