GAR BETHE Swim Shorts Men's Five-speed Dry Waterproof Swimming Trunks Men's Large Size Leather Swimwear Men's Swimming Goggles Set
${function() {
const variantData = data.variant || {"id":"df81313d-cb8a-40e2-bd62-4e70ff2e0992","product_id":"bbe75ccc-18fa-4502-8c9c-da28006bfb44","title":"Plating black-XL-Q5 piece","weight_unit":"g","inventory_quantity":986,"sku":"","barcode":"","position":1,"option1":"Plating black","option2":"XL","option3":"Q5 piece","note":"","image":{"src":"\/\/img.staticdj.com\/042cef026e2ca4366914dfa0751b0c4f.png","path":"042cef026e2ca4366914dfa0751b0c4f.png","width":389,"height":405,"alt":"","aspect_ratio":0.9604938271604938},"wholesale_price":[{"price":25.5,"min_quantity":1}],"weight":"410","compare_at_price":"36.4","price":"25.5","retail_price":"36.4","available":true,"url":"\/products\/gar-bethe-swim-shorts-mens-five-speed-dry-waterproof-swimming-trunks-mens-large-size-leather-swimwear-mens-swimming-goggles-set?variant=df81313d-cb8a-40e2-bd62-4e70ff2e0992","available_quantity":999999999,"options":[{"name":"Color","value":"Plating black"},{"name":"Size","value":"XL"},{"name":"Quantity","value":"Q5 piece"}],"off_ratio":30,"flashsale_info":[],"sales":638};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Plating 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:
XL
${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:
Q5 piece
${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}
`
}()}
Add to cart
$25.50
${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":"df81313d-cb8a-40e2-bd62-4e70ff2e0992","product_id":"bbe75ccc-18fa-4502-8c9c-da28006bfb44","title":"Plating black-XL-Q5 piece","weight_unit":"g","inventory_quantity":986,"sku":"","barcode":"","position":1,"option1":"Plating black","option2":"XL","option3":"Q5 piece","note":"","image":{"src":"\/\/img.staticdj.com\/042cef026e2ca4366914dfa0751b0c4f.png","path":"042cef026e2ca4366914dfa0751b0c4f.png","width":389,"height":405,"alt":"","aspect_ratio":0.9604938271604938},"wholesale_price":[{"price":25.5,"min_quantity":1}],"weight":"410","compare_at_price":"36.4","price":"25.5","retail_price":"36.4","available":true,"url":"\/products\/gar-bethe-swim-shorts-mens-five-speed-dry-waterproof-swimming-trunks-mens-large-size-leather-swimwear-mens-swimming-goggles-set?variant=df81313d-cb8a-40e2-bd62-4e70ff2e0992","available_quantity":999999999,"options":[{"name":"Color","value":"Plating black"},{"name":"Size","value":"XL"},{"name":"Quantity","value":"Q5 piece"}],"off_ratio":30,"flashsale_info":[],"sales":638};
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.