Skip to Content
Menu

Whatsapp Product Inquiry In Website

by
Odoo
v 18.0 Third Party 520
Download for v 18.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies eCommerce (website_sale)
Website (website)
Invoicing (account)
Discuss (mail)
Lines of code 100
Technical Name whatsapp_product_inquiry
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 15.0 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies eCommerce (website_sale)
Website (website)
Invoicing (account)
Discuss (mail)
Lines of code 100
Technical Name whatsapp_product_inquiry
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 15.0 16.0 17.0 18.0
Community
Enterprise
Odoo.sh

This Module Helps for Customers can Inquire Website Product Details Through Whatsapp.

Whatsapp Product Inquiry In Website

Key Highlights

Instant Product Inquiries via WhatsApp

Customers can inquire Product details through Whatsapp.

Product URL included in WhatsApp message

Product Url will be attached with the Whatsapp Message.

Customizable default WhatsApp message

It is possible to change the Default Whatsapp Message.

Supports Community, Enterprise, Odoo.sh

Compatible with Community, Enterprise, and Odoo.sh.

Whatsapp Product Inquiry In Website

Are you ready to make your business more organized?
Improve now!

odoo@cybrosys.com +91 9074270811
acc_bg

Whatsapp Product Inquiry In Website

Shop page before adding Company Whatsapp Number.

Set Whatsapp Number and Message.

Set Whatsapp Number and Message inside Company

Website Whatsapp Button

If Company WhatsApp Number is added, an INQUIRE button will appear on the shop product page.

Redirects to Whatsapp

Redirects to Whatsapp web page.

Send Message in Whatsapp

Instant Product Inquiries via WhatsApp

Product URL included in WhatsApp message

Customizable default WhatsApp message.

Supports Community, Enterprise, Odoo.sh

After installing the module, an "Inquire" button will appear on the product page. When customers click on it, they will be redirected to WhatsApp, where they can send a pre-filled message to inquire about the product.

Yes, customers must have WhatsApp installed on their mobile or desktop to use the "Inquire via WhatsApp" feature.

Yes, the default inquiry message can be customized to include relevant product details like name, price, or any additional information you want customers to send.

While this feature allows customers to contact you via WhatsApp, tracking inquiries would depend on WhatsApp's interface. However, you can manage communication within the app itself.

Latest Release 18.0.1.0.0

1st October, 2024
Add
  • Initial Commit

Our Services

....

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
RE: Never worked on Odoo 18(500: Internal Server Error) Python 3.12
by
rungenesamuel@yahoo.com
on 5/26/25, 4:24 AM

Removing '/n' on whatsapp_product_inquiry/controllers/whatsapp_product_inquiry.py file:

solved my issue:

import werkzeug

from odoo import http

from odoo.http import request

from odoo.addons.website_sale.controllers.main import WebsiteSale



class WebsiteSale(WebsiteSale):
    """For adding the Whatsapp Inquiry function"""

    @http.route(['/whatsapp/inquiry/<int:product>'], type='http',
                auth="public", website=True)
    def whatsapp_product_inquiry(self, **kw):
        """Redirect to whatsapp web page"""
        return werkzeug.utils.redirect("https://wa.me/%s?text=%s" % (
            request.website.get_current_website().company_id.whatsapp_number,
            request.website.get_current_website().company_id.message +
            ' url: ' +
            request.website.get_base_url() +
            request.env['product.product'].browse(kw['product']).website_url))
Re: RE: Never worked on Odoo 18(500: Internal Server Error) Python 3.12
by
Cybrosys Technologies
on 6/6/25, 7:04 AM Author

Thanks for reporting. We have updated the app. Please get the latest version


RE: Never worked on Odoo 18(500: Internal Server Error) Python 3.12
by
rungenesamuel@yahoo.com
on 5/25/25, 6:32 AM

Unfortunately the issue persist: The below line seems to be where the error originates

whatsapp_product_inquiry.py", line 34

werkzeug Vesrion


Name: Werkzeug

Version: 3.0.1


Error:

File "/opt/odoo18/odoo/addons/whatsapp_product_inquiry/controllers/whatsapp_product_inquiry.py", line 34, in whatsapp_product_inquiry
    return werkzeug.utils.redirect("https://wa.me/%s?text=%s" % (
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo18/odoo/.venv/lib/python3.12/site-packages/werkzeug/utils.py", line 277, in redirect
    response.headers["Location"] = location
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/opt/odoo18/odoo/.venv/lib/python3.12/site-packages/werkzeug/datastructures/headers.py", line 383, in __setitem__
    self.set(key, value)
  File "/opt/odoo18/odoo/.venv/lib/python3.12/site-packages/werkzeug/datastructures/headers.py", line 305, in set
    _value = _str_header_value(_value)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/odoo18/odoo/.venv/lib/python3.12/site-packages/werkzeug/datastructures/headers.py", line 462, in _str_header_value
    raise ValueError("Header values must not contain newline characters.")
ValueError: Header values must not contain newline characters.

Please look into it. Thanks for your immense contribution to the community.


Re: RE: Never worked on Odoo 18(500: Internal Server Error) Python 3.12
by
Cybrosys Technologies
on 6/6/25, 7:05 AM Author

Thanks for reporting. We have updated the app. Please get the latest version


Never worked on Odoo 18(500: Internal Server Error) Python 3.12
by
rungenesamuel@yahoo.com
on 4/24/25, 7:07 AM
  File "/opt/odoo18/odoo/.venv/lib/python3.12/site-packages/werkzeug/datastructures/headers.py", line 462, in _str_header_value
    raise ValueError("Header values must not contain newline characters.")
ValueError: Header values must not contain newline characters.
Re: Never worked on Odoo 18(500: Internal Server Error) Python 3.12
by
Cybrosys Technologies
on 5/3/25, 12:21 AM Author

We tested the app using Python 3.12 without encountering any errors. We believe the issue may be related to the Python packages. Could you please try reinstalling the Werkzeug package and let us know if the problem persists.