Adding quantity to Favorites

3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: June 4, 2010   (RSS)

Re: [Toledoh] Adding quantity to Favorites

By Jason - June 3, 2010

Hi Tim,

Although it is possible to do what your asking, it would take some custom programming.

The table used for favorites can't be altered the same way a regular section can, so the "Quantity" field would have to be added using MySQL. You would also have to alter the plugin to allow it to add these values to the database.

The Favorites plugin has 2 basic functions, Add and Remove. So, if you wanted a customer to be able to update a quantity, you'd have to update a quantity, a new function would have to be written for that.

It would probably be easier to create a new section in your CMS that had fields for the item number, the quantity, and the customer who added it. This would probably be easier to maintain as well.

Hope this helps. Let me know if you have any other questions.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Adding quantity to Favorites

By Toledoh - June 4, 2010

OK - thanks for that.

I've actually got a custom job in the works at the moment for other aspects of this... I'll send a note to Ross with a link to this discussion and see how we go.

Thanks for your help!
Cheers,

Tim (toledoh.com.au)