logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Wednesday, June 28, 2023 6:57:53 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
A client reported this and I don't really know how to verify it.

She said that the low inventory email always shows 0 for instock.

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Thursday, June 29, 2023 6:35:23 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 471

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Judy,

I tested on version 9.0.8 and the Qty in Stock is accurate.
lowinventory.png (13kb) downloaded 1 time(s).
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
judy at Web2Market  
#3 Posted : Friday, June 30, 2023 8:00:58 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
This client is on 9.0.5 and the template is OK. She forwarded me a copy of the email and it showed 0 in stock when the product had 93.Inventory level is by product. Where is the code that triggers sending the emails and populating the information? I have looked and just can't find it.
Thanks
shaharyar  
#4 Posted : Monday, July 3, 2023 5:30:44 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
The code that triggers the email is written in the file \CommerceBuilder\Services\OrderStatusService.cs.
See the code in the UpdateInventory method line#130

You can find the default event handling code in the file \CommerceBuilder\Eventing\DefaultEventsHandler.cs Line#46

Edited by user Monday, July 3, 2023 5:31:19 AM(UTC)  | Reason: Not specified

Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.