VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: BulletProof47 on November 20, 2014, 09:46:00 AM

Title: Call Virtuemart Functions from external script
Post by: BulletProof47 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
Title: Re: Call Virtuemart Functions from external script
Post by: GJC Web Design 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