GAR BETHE Strap Protection Type Shoulder Guard Adjustable Single Shoulder Strap
${function() {
const variantData = data.variant || {"id":"7b3fbe89-e4d2-4972-b1ab-9f23c0c56168","product_id":"904db103-5663-4ca9-aeaf-f7395ed32fc4","title":"Set","weight_unit":"g","inventory_quantity":762,"sku":"","barcode":"","position":1,"option1":"Set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a420b8c25fe66ec0e390e8b833ff9fa.png","path":"4a420b8c25fe66ec0e390e8b833ff9fa.png","width":340,"height":417,"alt":"","aspect_ratio":0.815347721822542},"wholesale_price":[{"price":24.6,"min_quantity":1}],"weight":"300","compare_at_price":"35.1","price":"24.6","retail_price":"35.1","available":true,"url":"\/products\/gar-bethe-strap-protection-type-shoulder-guard-adjustable-single-shoulder-strap?variant=7b3fbe89-e4d2-4972-b1ab-9f23c0c56168","available_quantity":999999999,"options":[{"name":"style","value":"Set"}],"off_ratio":30,"flashsale_info":[],"sales":470};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
Set
${function(){
const optName = "style";
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
$24.60
${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":"7b3fbe89-e4d2-4972-b1ab-9f23c0c56168","product_id":"904db103-5663-4ca9-aeaf-f7395ed32fc4","title":"Set","weight_unit":"g","inventory_quantity":762,"sku":"","barcode":"","position":1,"option1":"Set","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a420b8c25fe66ec0e390e8b833ff9fa.png","path":"4a420b8c25fe66ec0e390e8b833ff9fa.png","width":340,"height":417,"alt":"","aspect_ratio":0.815347721822542},"wholesale_price":[{"price":24.6,"min_quantity":1}],"weight":"300","compare_at_price":"35.1","price":"24.6","retail_price":"35.1","available":true,"url":"\/products\/gar-bethe-strap-protection-type-shoulder-guard-adjustable-single-shoulder-strap?variant=7b3fbe89-e4d2-4972-b1ab-9f23c0c56168","available_quantity":999999999,"options":[{"name":"style","value":"Set"}],"off_ratio":30,"flashsale_info":[],"sales":470};
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.