Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Array ( [0] => Array ( [quantity] => 1 [product_id] => 5363 [category_id] => 209 [price] => 1 [tax] => 18.00 [tax_id] => 1 [description] => [product_name] => test2 [thumb_image] => [ean] => [attributes] => a:0:{} [attributes_value] => Array ( ) [weight] => 0.0000 [vendor_id] => 0 [files] => a:0:{} [freeattributes] => a:0:{} [dependent_attr_serrialize] => a:0:{} [href] => /kategorii/product/view/209/5363.html [free_attributes_value] => Array ( ) ) )
- Warning: current() [function.current]: Passed variable is not an array or object in ...
- $cart = JModel::getInstance('cart', 'jshop');
- $cart->load();
- $products=$cart->products;
- //$productos[0]['product_id'];
- print_r($products);
- $products[0]['product_id']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement