Prevents adding the product to a wishlist (uc_wishlist)

sammys - June 2, 2009 - 02:07
Project:Ubercart Out of stock Notification
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi there,

Thanks for a great module. Works pretty well so far and there's only a small thing getting in the way of deployment. I can't add out of stock products to the wishlist. I believe it should be possible since the user is not ordering the product.

#1

hanoii - June 2, 2009 - 15:58

You may want to try 1.3. That version will work better with uc_wishlist, however, there is only one caveat, which is that the wishlist module will let you add out of stock items to the cart from within the wishlist interface. While I can plug with that module and validate that as well, it's a bit of annoying because it means one more thing to support that may change in the future. The ubercart validations are already subject to change if ubercart form changes.

I will have to think more about it and see what other users think, also will post a support request in the wishlist module to see what the maintainer (same as ubercart) thinks.

#2

hanoii - June 2, 2009 - 19:05
Category:bug report» feature request

The module does not conflict with any other module now, so I am flagging this as a feature request because it's not a bug any more. Now the validation must be added in some other way, either something change on the uc_wishlist or something here to validate their form, but I would expect a patch for it, I won't be working on that ATM.

Related to #479850: wrong use of hook_add_to_cart, thoughts about cart validation of ubercart?

 
 

Drupal is a registered trademark of Dries Buytaert.