News:

Support the VirtueMart project and become a member

Main Menu

Documentation for component development

Started by borro, September 20, 2016, 10:30:23 AM

Previous topic - Next topic

borro

Hello!

I'm trying to develop a component which have to take data from VM3 database. Is there any documentation for solution this task? Should i use the standard Joomla documentation or there is a some specific knowledges for creating VM aimed component?
Wish you happiness!

GJC Web Design

the VM tables are just tables

if u are dev'ing a new component complete u just use the tables as your source

but just to get data from the VM tables can be done in many ways.. e.g. plugin to extend VM then u can use all the classes etc that are already there for VM
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

The best way is to learn from our code.

You can use anywhere the vmModel::getModel(myModelName) to get a vm model. You should also use vmJsApi to add js scripts and vmText. Also vRequest instead of JInput, so you will stay compatible to VM on WP
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/