![]() |
Array Question
Hi Everyone,
I have this array: Code:
Array Code:
Array I looked on php.net, but either I am missing it or it doesn't exist. Hopefully someone knows how to do this. Thanks :!: |
Hi,
If you look within cart.php there is already a function there that does this kind of thing. I guess you are looking to do an add multiple products to cart or something. If you are it is easier to add all the products/amounts to the array that you are referring to then loop through the cart.php for each element of the array - this will sort the add multiple products side for you plus look at the product options elements aswell. |
FD,
Actually I am making a module that compares what you have in your cart to what people have bought in the past and then recommends products you should consider. I am thinking that I'll put it on the cart.php page and the individual products page. Thanks for the tip :!: |
All times are GMT -8. The time now is 09:50 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.