Return to Snippet

Revision: 50789
at September 2, 2011 18:10 by yegnold


Initial Code
/* In file gateways/paypal.php approx. line 198 I REPLACED:
* $paypal_args['item_name_'.$item_loop] = $_product->get_title(); 
* $paypal_args['quantity_'.$item_loop] = $item['qty']; 
* $paypal_args['amount_'.$item_loop] = $_product->get_price_excluding_tax(); 
*
* WITH:
*/

$paypal_args['item_name_'.$item_loop] = $item['name']; 
$paypal_args['quantity_'.$item_loop] = $item['qty']; 
$paypal_args['amount_'.$item_loop] = $item['cost'];

Initial URL

                                

Initial Description

                                

Initial Title
Jigoshop Paypal - pass prices calculated for order items rather than refetching from products

Initial Tags

                                

Initial Language
PHP