Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How can I add a custom product to a shopping trolley with an API hit?

By
Alex Lake
on 11/21/16, 10:03 AM 113 views

I'm sorry if this is a silly question, but I'm very new to the idea of ODOO. If there is any documentation I should read to help better frame this question, don't hesitate to tell me where it is!

We have the requirement to enable people to buy things from a very large set of options (millions of possibilities) and I would like to know if it is possible for a separate program to make an API hit to the ODOO eCommerce system to create a "custom" variant of a product (with a dynamically determined price) and have that added to the customer's trolley?

One example might be that I'm selling cakes with custom writing on it. In this fictitious example only an expert external system can know what the charge for lettering is going to be. I'd like an external system to add this item to the trolley.

Is this possible?


I presume that it's a question of knowing what the object model is, and then creating the appropriate objects?

0
Alex Lake
On 11/21/16, 11:07 AM

...looking around some more, it seems that there are some good examples in here: https://www.odoo.com/documentation/9.0/howtos/web.html

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/21/16, 10:03 AM
Seen: 113 times
Last updated: 11/21/16, 11:07 AM