add out of stock items to wishlist
- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
add out of stock items to wishlist
was this a option someplace that I cant seem to find now?
Re: add out of stock items to wishlist
no application doesn't allow out of stock items to be added to whishlist.
Re: add out of stock items to wishlist
Mine does.mazhar wrote:no application doesn't allow out of stock items to be added to whishlist.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: add out of stock items to wishlist
What is your application version?AbleMods wrote:Mine does.mazhar wrote:no application doesn't allow out of stock items to be added to whishlist.
Re: add out of stock items to wishlist
7.0.3
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: add out of stock items to wishlist
Well I checked functionality on same build but for me If product is out of stock no add to cart or wishlist button appears on product details. Could you explain how you setup product for test?
Re: add out of stock items to wishlist
Fresh AC 7.0.3 install with sample store data. Inventory Management enabled in admin side. Inventory tracking set to product on some, disabled on others. Add to Wishlist works fine on all of them. Even variants.
I found something else interesting...
When inventory is turned on for a product and allow backorder is enabled, the out-of-stock message is not displayed when stock level is set to 0. The item is out of stock and so the out-of-stock message should show on the product page.
I found something else interesting...
When inventory is turned on for a product and allow backorder is enabled, the out-of-stock message is not displayed when stock level is set to 0. The item is out of stock and so the out-of-stock message should show on the product page.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: add out of stock items to wishlist
It's the allow backorder checkbox on the edit product page. If backorders aren't allowed, BOTH buttons are hidden from view.
Technically, only the add-to-cart should be removed, wishlists have nothing to do with inventory levels or product availability.
Technically, only the add-to-cart should be removed, wishlists have nothing to do with inventory levels or product availability.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: add out of stock items to wishlist
Thanks for clarification, we have already logged it
http://bugs.ablecommerce.com/show_bug.cgi?id=8325
http://bugs.ablecommerce.com/show_bug.cgi?id=8325
Re: add out of stock items to wishlist
Easy workaround.
Modify the BuyProductDialog.ascx.cs file. Find this section of code:
and comment out the reference to add to wishlistbutton like this:
Now the add-to-wishlist will show regardless whether the add-to-basket button is visible 
Modify the BuyProductDialog.ascx.cs file. Find this section of code:
Code: Select all
private void HideAddToBasket()
{
AddToBasketButton.Visible = false;
AddToWishlistButton.Visible = false;
rowQuantity.Visible = false;
}
Code: Select all
private void HideAddToBasket()
{
AddToBasketButton.Visible = false;
//AddToWishlistButton.Visible = false;
rowQuantity.Visible = false;
}

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: add out of stock items to wishlist
Nice work Joe 

- compunerdy
- Admiral (ADM)
- Posts: 1283
- Joined: Sun Nov 18, 2007 3:55 pm
Re: add out of stock items to wishlist
Thanks Joe!!
Re: add out of stock items to wishlist
Glad to help. Sad as it may sound, the BuyProductDialog control is my home-away-from-home 

Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com