Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Favorites (Not Bookmarks)


Recommended Posts

I have duplicated shopping_cart.php => favorites.php in the classes dir

I have added a table called customers_favorites

I duplicated shopping_cart.pgp => favorites.php in the catalog root

I can add to favorites, but cannot remove from favorites


in application top, I have duplicated the cart functions add_product and update_product and renamed the remove() function to remove_favorites()


I am stumped how to remove from favorites


Any idead? Many thanks!

Link to comment
Share on other sites

you should not rename the class functions. Leave them as is. Just make sure in application_top.php you use the right class object (not the $cart but the class object that is instantiated by your new class).

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...