GAR BETHE Men's Sports Swimwear, Sexy Beach Shorts, Surfboard Pants, Breathable And Comfortable For Summer Fishing In 202420242024
${function() {
const variantData = data.variant || {"id":"59c840cb-6f65-435e-aee6-5b0a092ad6e4","product_id":"1ff6cd2d-35f9-4bf9-818e-4bddd3d94e97","title":"Image Color3-S","weight_unit":"g","inventory_quantity":759,"sku":"","barcode":"","position":13,"option1":"Image Color3","option2":"S","option3":"","note":"","image":{"src":"\/\/imgpro.staticdj.com\/3d4b8173ef2570447b2f4d1e851e3f7a.jpeg","path":"3d4b8173ef2570447b2f4d1e851e3f7a.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.2,"min_quantity":1}],"weight":"100","compare_at_price":"20.4","price":"10.2","retail_price":"20.4","available":true,"url":"\/products\/gar-bethe-mens-sports-swimwear-sexy-beach-shorts-surfboard-pants-breathable-and-comfortable-for-summer-fishing-in-202420242024?variant=59c840cb-6f65-435e-aee6-5b0a092ad6e4","available_quantity":999999999,"options":[{"name":"Color","value":"Image Color3"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[]};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Image Color3
${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:
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}
`
}()}
Add to cart
$10.20
${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":"59c840cb-6f65-435e-aee6-5b0a092ad6e4","product_id":"1ff6cd2d-35f9-4bf9-818e-4bddd3d94e97","title":"Image Color3-S","weight_unit":"g","inventory_quantity":759,"sku":"","barcode":"","position":13,"option1":"Image Color3","option2":"S","option3":"","note":"","image":{"src":"\/\/imgpro.staticdj.com\/3d4b8173ef2570447b2f4d1e851e3f7a.jpeg","path":"3d4b8173ef2570447b2f4d1e851e3f7a.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.2,"min_quantity":1}],"weight":"100","compare_at_price":"20.4","price":"10.2","retail_price":"20.4","available":true,"url":"\/products\/gar-bethe-mens-sports-swimwear-sexy-beach-shorts-surfboard-pants-breathable-and-comfortable-for-summer-fishing-in-202420242024?variant=59c840cb-6f65-435e-aee6-5b0a092ad6e4","available_quantity":999999999,"options":[{"name":"Color","value":"Image Color3"},{"name":"Size","value":"S"}],"off_ratio":50,"flashsale_info":[]};
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.