跳至内容
菜单
此问题已终结
1 回复
313 查看

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!

形象
丢弃
最佳答案

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 

形象
丢弃
相关帖文 回复 查看 活动
0
10月 24
1060
1
9月 24
1196
1
5月 24
1467
0
8月 23
1516
2
1月 23
6634