Author Topic: Call Virtuemart Functions from external script  (Read 1286 times)

BulletProof47

  • Beginner
  • *
  • Posts: 8
Call Virtuemart Functions from external script
« on: November 20, 2014, 09:46:00 am »
HI,I want to call virtuemart function from external script.How can I do that?
for example I want to call store() method of a model,how can I do that from an external php file? Thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10637
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Call Virtuemart Functions from external script
« Reply #1 on: November 20, 2014, 11:48:16 am »
look at how say one of the VM modules calls the VM framework - but you will also need to "bootstrap" the script into Joomla - plenty of examples on Google
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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