Wishlist Notes / Comments

  • Posts: 6
  • Thank you received: 0
9 years 10 months ago #186527

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.36

Hi,

It appears that wishlists don't have facility for notes or comments and I'm looking to extend wishlists to also store a note per item and per wishlist. I'm in the early definition stage of this and was looking to get an idea of the scope of this and hopefully get a bit of feedback from the authors.

* Does a module exist that does this?
* If not, my initial plan of attack would be a custom plugin that would update some custom tables when an wishlist insert / update / delete operation has been detected - does that make sense?
* Are there any suggestions you can make towards keeping this extension compatible with hikashop when updated?

Thanks in advance :)

Tony

Last edit: 9 years 10 months ago by tonytaylor.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 10 months ago #186596

Hi,

This will require the edition of the views "cart / showcarts" and/or "cart / showcart" in order to add the desired fields.
And then yes, create a plugin based on the wishlist operations.

You can potentially use the trigger: onBeforeCartUpdate();
www.hikashop.com/support/support/documen...l#onBeforeCartUpdate

And in that function, get the data and store it in the database. You can create new columns in the desired tables.

The following user(s) said Thank You: tonytaylor

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds
Powered by Kunena Forum