News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

API Virtuemart

Started by Kuubs, June 07, 2022, 10:10:21 AM

Previous topic - Next topic

Kuubs

Hello,

Does the Virtuemart provide some sort of API or something else to inject orders to the database? I have another portal that gets orders, but i'd like to have everything in one spot, the Virtuemart environment. Is there some sort of way to programmatically insert these orders into the database?

pinochico

QuoteDoes the Virtuemart provide some sort of API or something else to inject orders to the database? I have another portal that gets orders, but i'd like to have everything in one spot, the Virtuemart environment. Is there some sort of way to programmatically insert these orders into the database?


Yes,

we used to use trigger calls to store orders from the mobile app, including client information, into the VirtueMart DB
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Kuubs

Quote from: pinochico on June 07, 2022, 10:41:49 AM
QuoteDoes the Virtuemart provide some sort of API or something else to inject orders to the database? I have another portal that gets orders, but i'd like to have everything in one spot, the Virtuemart environment. Is there some sort of way to programmatically insert these orders into the database?


Yes,

we used to use trigger calls to store orders from the mobile app, including client information, into the VirtueMart DB

Ok awesome, do you have any documentation or something describing the API?

pinochico

We have own plugin VM API.

In this plugin we created custom function (userLogin, createOrder)  and if mobile app created json (order), then we catch him and call all VM triggers which we need (add to cart, ...)

That is all what I know, for me is enough, because Im not developer, only project manager, and this info is ok for developers.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Kuubs

Quote from: pinochico on June 07, 2022, 23:47:23 PM
We have own plugin VM API.

In this plugin we created custom function (userLogin, createOrder)  and if mobile app created json (order), then we catch him and call all VM triggers which we need (add to cart, ...)

That is all what I know, for me is enough, because Im not developer, only project manager, and this info is ok for developers.

Okay, care to share that plugin?

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products