Zen Cart Logo
Forums / Addon Payment Modules / Google checkout question

Google checkout question

Locked

Views: 891

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
24 Nov 2008, 3:23 AM
#1
eljay avatar

eljay

New Zenner

Join Date:
Nov 2008
Posts:
9
Plugin Contributions:
0

Google checkout question

I would like to submit the manufacturer name to the checkout process when someone uses google checkout. I can currently get Qty, weight, etc according to the array that google chooses from but have no idea on how to add the manufacturer or any other field for that matter.

The files I was able to modify to see changes to the values passed are:
gcheckout.php around line 154

$products_name = $products[$i]['name'].' '.$products[$i]['model'];

responsehandler.php around line 371

$order->products[] = array (
              'qty' => $item['quantity']['VALUE'],
              'name' => $item['item-name']['VALUE'],
              'model' => $item['item-description']['VALUE'],
              'tax' => 0,
              'tax_description' => @$item['tax-table-selector']['VALUE'],
              'price' => $item['unit-price']['VALUE'],
              'final_price' => $item['unit-price']['VALUE'],
              'onetime_charges' => 0,
              'weight' => 0,
              'products_priced_by_attribute' => 0,
              'product_is_free' => 0,
              'products_discount_type' => 0,
              'products_discount_type_from' => 0,
              'id' => @$item['merchant-item-id']['VALUE']

scratching my head to figure out how I can add the manufacturer name to this. Any help would be greatly appreciated.

25 Nov 2008, 7:08 PM
#2
eljay avatar

eljay

New Zenner

Join Date:
Nov 2008
Posts:
9
Plugin Contributions:
0

Re: Google checkout question

Anybody got an idea on how to do this????:frusty: