Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
276 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
oct 24
999
1
sept 24
1178
1
may 24
1405
0
ago 23
1486
2
ene 23
6603