Out of Stock Alert/Message

Support for coding, modules or other software issues
Post Reply
oldnava
Posts: 2
Joined: Mon Feb 18, 2013 12:09 pm

Out of Stock Alert/Message

Post by oldnava » Mon Feb 18, 2013 12:19 pm

Hello,

I´ve noticed that when a product is out of stock the following line comes out in the page:

"Undefined index: in /home/user/public_html/alegro/library/cart/weight.php on line 40"

1.- Is there a code to hide or avoid this notice on the page and/or instead give our customers an alert that the product is out of stock?

2.- Could we as Admins get an alert to get more in stock?

Regards,

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Out of Stock Alert/Message

Post by Brent » Mon Feb 18, 2013 1:16 pm

That means you don't have weights set up in admin.
Go to weight in admin and if you have more than one language, add settings for additional language. The error will disappear.
Also, in settings, you can set up the error handling, which I recommend so only your login address will see messages and they will also be logged do you can view in admin any errors. You can also set up email notification for errors.

oldnava
Posts: 2
Joined: Mon Feb 18, 2013 12:09 pm

Re: Out of Stock Alert/Message

Post by oldnava » Thu Feb 21, 2013 9:52 am

Thanks!

sajib006
Posts: 1
Joined: Sun Mar 10, 2013 10:06 am

Re: Out of Stock Alert/Message

Post by sajib006 » Sun Mar 10, 2013 10:09 am

I found that on my website customer only see a red signal on product details when it is sold out. How can add stock out tag on my products after it's stock out.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Out of Stock Alert/Message

Post by Brent » Mon Mar 11, 2013 6:48 am

That need to be incorporated into the Javascript as well. We will look at that and get back to you.

Post Reply