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

virtuemart_parser.php in VM2

Started by mike75, May 11, 2011, 14:01:02 PM

Previous topic - Next topic

mike75

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?


Milbo

Lets work it out. Just tell us, what you need and we find a solution.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mike75

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


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

mike75

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?

Milbo

When you just need a file to add, we can do that. But atm we dont plan extensive soap development
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

ronrazib

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?

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/