Table of contents:
This is a Stub article. Help the eZ Publish community by expanding it!
I am using the xrowecommerce extension from xrow and the paymentgateway directebanking which is written by all2e in order of us (wirverbindenwelten).
For a special shopmodification I need to have a paymentlimitaion by productclass.
This example is using a modified xrowecommerce extension.
in the paymentgateway event php I add the following to the execute function
$productPayment = $order->attribute( 'product_items' );
Also add the variable $productPayment to template through $process->Template['templateVars']
$process->Template['templateVars'] = array( 'event' => $event, 'product_gateway_limitation' => $productPayment );
After this I check my product class in the template file selectgateway.tpl
by looping the product items in my $productPayment array as needed.
If u need help u are welcome in irc://irc.freenode.net#ezpublish and irc://irc.freenode.net#ezpublish.de
Article provided by eZpedia
All text is available under the terms of the GNU Free Documentation License
Powered by eZ Publish Community Project 4.2011
Hosted by Swiss eZ Publish partner YMC