VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: mike75 on May 11, 2011, 14:01:02 PM

Title: virtuemart_parser.php in VM2
Post by: mike75 on May 11, 2011, 14:01:02 PM
Hi,

I want to upgrade my component (SOAP webservices for virtuemart) to VM2

link : https://sourceforge.net/projects/soa-virtuemart/files/

In VM1 I used a lot components/com_virtuemart/virtuemart_parser.php to load VM classes and vars.

I don't find equivalent in VM2rc

Is there any way to do same things in VM2?

Title: Re: virtuemart_parser.php in VM2
Post by: Milbo on May 12, 2011, 21:35:47 PM
Lets work it out. Just tell us, what you need and we find a solution.
Title: Re: virtuemart_parser.php in VM2
Post by: mike75 on May 13, 2011, 12:34:10 PM
Thanks for answer.

What I would like its a solution to load/init classes and vars.

In VM1 I created webservices interface to communicate with VM.

For example I created a webservice called AddTax.

In VM1 it was "easy" because i called
components/com_virtuemart/virtuemart_parser.php

and after I could do that

require_once(CLASSPATH.'ps_tax.php');
$ps_tax = new ps_tax;
$ps_tax->add($d);

In VM2

I want to do same thing by calling controller or model

Title: Re: virtuemart_parser.php in VM2
Post by: Milbo on May 13, 2011, 20:52:43 PM
http://dev.virtuemart.net/projects/virtuemart/wiki
Title: Re: virtuemart_parser.php in VM2
Post by: mike75 on May 16, 2011, 11:51:37 AM
Ok thanks,

I think i will look to develop a VM2 plugin.

To be sure, you don't planned to develop SOAP webservices at this time?
Title: Re: virtuemart_parser.php in VM2
Post by: Milbo on May 16, 2011, 23:51:18 PM
When you just need a file to add, we can do that. But atm we dont plan extensive soap development
Title: Re: virtuemart_parser.php in VM2
Post by: ronrazib on June 18, 2012, 10:15:53 AM
hi,
i also worked with virtuemart parser in vm1.x but now i am stuck with vm2.x coz there is no virtuemartparser.php in the com_virtuemart folder. i need to display latest product, top saled product etc. what to do?
Title: Re: virtuemart_parser.php in VM2
Post by: Milbo on June 18, 2012, 12:46:17 PM
Read the manual, I would say http://dev.virtuemart.net/projects/virtuemart/wiki/Developing_a_module_or_plugin_for_VirtueMart_2