Welcome Guest, Not a member yet? Register   Sign In
flexi cart - A comprehensive shopping cart library for CodeIgniter
#96

[eluser]haseydesign[/eluser]
Quote:Hi, Rob, great work i must say on the flexi-cart framwork. It has made my work easy and professional. "Thumbs Up" . Is there a way to implement the wish list using the flexi cart?

@Ademola (via Email)

The flexi cart library does not include a 'wish list' feature, however, they are very easy to implement yourself.

All you would need to do is create a new database table with a column for item ids and another for customer ids. These columns would act as foreign keys to the related item and customer tables.

When a customer wishes to add an item to their wishlist, simply insert the item id and customers id (They would need to be a registered user) to the table.

Whenever they wish to view items on that list, you would do an SQL SELECT query to return all items that belong to the users id.

Hope that helps!


Messages In This Thread
flexi cart - A comprehensive shopping cart library for CodeIgniter - by El Forum - 02-01-2013, 09:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB