Forums / Developer / [closed] ezorder api in php
scrieler _
Friday 03 July 2009 3:38:35 am
heya,
how to use the ezorder api in php? I want to count and return order info of current product. To do this, I use the wrap_operator to use my own php.But don't know how to start..
Rainer Krauss
Friday 03 July 2009 5:21:33 am
Sorry, no idea. I've been developing with the API for the past few days, but only using content and users. Did you had a browse of http://pubsvn.ez.no/doxygen/4.1/html/ yet? If you need basic information to get started at all: There are two ways to run the PHP you make yourself: either as module of an extension, or using the Command Line Interface using bin/php/ezexec.php Please ask should you need any more information. Best wishes,Rainer
Heath
Friday 03 July 2009 5:41:33 am
Hello,
You might want to take a look at eZ's PHP API Documentation,
<i>http://pubsvn.ez.no/doxygen/4.0/html/classeZOrder.html</i>
<i>http://pubsvn.ez.no/doxygen/4.0/html/classeZOrderItem.html</i>
<i>http://pubsvn.ez.no/doxygen/4.0/html/classeZProductCollection.html</i>
<i>http://ez.no/doc/ez_publish/technical_manual/4_0/reference/objects/ezorder</i>
<i>http://ezpedia.org/ez/wrap_operator</i>
Hope this helps ...
Cheers,Heath
Brookins Consulting | http://brookinsconsulting.com/ Certified | http://auth.ez.no/certification/verify/380350 Solutions | http://projects.ez.no/users/community/brookins_consulting eZpedia community documentation project | http://ezpedia.org
Monday 06 July 2009 12:53:13 am
thanks!
I got it! I copy the code of orderstatistic php file in my wrap operator script. After loading my wrap function I got my $quantity_text =)