GAR BETHE Male Pin Buckle Belt
${function() {
const variantData = data.variant || {"id":"66fa56eb-958a-4fe3-9e6b-72152a18c4dc","product_id":"1b07d16a-d848-49f4-9e44-c50c502d9d58","title":"Black-125cm","weight_unit":"g","inventory_quantity":627,"sku":"","barcode":"","position":1,"option1":"Black","option2":"125cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/357e6f54e70bd6e29f38f6f493a3051a.png","path":"357e6f54e70bd6e29f38f6f493a3051a.png","width":803,"height":804,"alt":"","aspect_ratio":0.9987562189054726},"wholesale_price":[{"price":22.7,"min_quantity":1}],"weight":"250","compare_at_price":"41.3","price":"22.7","retail_price":"41.3","available":true,"url":"\/products\/gar-bethe-male-pin-buckle-belt?variant=66fa56eb-958a-4fe3-9e6b-72152a18c4dc","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"125cm"}],"off_ratio":45,"flashsale_info":[],"sales":383};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${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}
`
}()}
Size:
125cm
${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}
`
}()}
Add to cart
$22.70
${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":"66fa56eb-958a-4fe3-9e6b-72152a18c4dc","product_id":"1b07d16a-d848-49f4-9e44-c50c502d9d58","title":"Black-125cm","weight_unit":"g","inventory_quantity":627,"sku":"","barcode":"","position":1,"option1":"Black","option2":"125cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/357e6f54e70bd6e29f38f6f493a3051a.png","path":"357e6f54e70bd6e29f38f6f493a3051a.png","width":803,"height":804,"alt":"","aspect_ratio":0.9987562189054726},"wholesale_price":[{"price":22.7,"min_quantity":1}],"weight":"250","compare_at_price":"41.3","price":"22.7","retail_price":"41.3","available":true,"url":"\/products\/gar-bethe-male-pin-buckle-belt?variant=66fa56eb-958a-4fe3-9e6b-72152a18c4dc","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"125cm"}],"off_ratio":45,"flashsale_info":[],"sales":383};
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.