Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
275 Zobrazení

We are using Odoo Online and want to integrate it with our custom web application.

Use Case:

We want to sell a software package via the Odoo website/shop to users of our own web app. In our web app, users will click a "Buy" button, which redirects them to the corresponding product page on our Odoo webshop.

We want to track which user in our system made the purchase, so our idea is to pass the internal UserID from our app as a URL parameter (e.g., ?uid=12345) when redirecting to Odoo.

Our requirements:

  • The UserID should be passed in the URL (done from our web app).
  • The UserID should be stored somewhere in the Sales Order (ideally in a custom field or notes).
  • We are using Odoo Online (not Odoo.sh or self-hosted), so we are limited in terms of custom code or modules.

Questions:

  1. Is there a way in Odoo Online to capture a URL parameter and store it in the Sales Order?
  2. Is there a workaround (e.g., using UTM parameters, custom questions during checkout, or modifying the lead source)?

Any help, tips, or workarounds are highly appreciated!

Thanks in advance!

Avatar
Zrušit
Nejlepší odpověď

Hi Tonto,


The easiest is to add an extra question in the checkout flow + a custom field on the Sale Order object. You put the responbility of supplying the UserID on your customer's side. So on the eCommerce, you can activate the "Extra info" feature
https://www.odoo.com/documentation/18.0/applications/websites/ecommerce/checkout.html#ecommerce-checkout-extra-step 

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
říj 24
998
1
zář 24
1175
1
kvě 24
1403
0
srp 23
1485
2
led 23
6602