|
I needed to use an image for the
wishlist and found that the variable: $wishlist_button wasn't set using an
image. So I added this bit of code to the top of ADD_BASKET
to recognize it,
foreach($HTTP_POST_VARS as $key
=> $value) {
if (preg_match ("/wishlist_button/", $key)) { $wishlist_button = TRUE; } } My question is, is there a more
efficient way? This seems to work great without requiring any modification
to the ADD_BASKET action, but it just seems a little unnecessary to loop through
the all POST_VARS like that.
Any suggestions?
|
- Re: [FreeTrade] Wishlist Button Ron Dyck
- Re: [FreeTrade] Wishlist Button Paul Chamberlain
- Re: [FreeTrade] Wishlist Button Kevin Leavell
- Re: [FreeTrade] Wishlist Button Kevin Leavell
- Re: [FreeTrade] Wishlist Button Bob Hutchinson

