VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: EvanGR on April 12, 2019, 10:54:48 AM

Title: Integrate Products from 3rd party Databases / API
Post by: EvanGR on April 12, 2019, 10:54:48 AM
Hello, we have the following scenario we want to accomplis:

We want to integrate 3rd party product databases (via a search module + API calls), to provide our customers 1000s of extra products via our suppliers.
The products will not be in our Virtuemart database, they will be available via realtime API calls, triggered by customer search.

We want the customer to be able to add these products to the Virtuemart cart, and complete the order.

Is this possible? Any pointers on what information we need for this task?

Thanks in advance
Title: Re: Integrate Products from 3rd party Databases / API
Post by: Studio 42 on June 07, 2019, 21:51:40 PM
I see the request a little late.
But it's possible with a product custom field to add search from a api using ajax and get the ID for eg, to set the product informations in the cart with price and other information if needed.
Of course you have to know how virtuemart  product custom field trigger work.
You can check for eg. text input custom field as example.
I can or some other devs in the forum do the plugin of course.