Hi Tom,
The string which is posted to protx is absolutely ok IF it gets the cart contents from
$products_array[] = array('id' => $products_id,
'name' => $products['products_name'],
'model' => $products['products_model'],
'image' => $products['products_image'],
'price' => $products_price,
'quantity' => $this->contents[$products_id]['qty'],
'weight' => $products['products_weight'],
'final_price' => ($products_price + $this->attributes_price($products_id)),
'tax_class_id' => $products['products_tax_class_id'],
// OTF contrib begins
//'attributes' => (isset($this->contents[$products_id]['attributes']) ? $this->contents[$products_id]['attributes'] : ''));
'attributes' => (isset($this->contents[$products_id]['attributes']) ? $this->contents[$products_id]['attributes'] : ''),
'attributes_values' => (isset($this->contents[$products_id]['attributes_values']) ? $this->contents[$products_id]['attributes_values'] : ''));
// OTF contrib ends
}
I set up a duplicate shop on another server (same files and same db data) and it seems to work properly... so I guess the problem is php/mysql related :(
The differences are:
Server 1 (live shop - managed server)
php - 4.2.2
mysql - 3.23.52
ssl - yes
protex link - live transactions
Server 2 (test server - shared hosting with 1and1)
php - 4.4.7
mysql - 4.0.25
ssl - no
protex link - test server (not simulator)
Chaman