[Skip to main content](#vessel-content)

#   Stock level notify

##

- **[Devine](/forum/user/2915-devine "View Devine's Profile")**
- [![Devine's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2915-devine "View Devine's Profile") Topic Author
- [ Offline](/forum/user/2915-devine)

Less More

- Posts: 62
- Thank you received: 0
-
-

14 years 5 months ago [\#53889](#53889) by [Devine](/forum/user/2915-devine "View Devine's Profile")  *[Stock level notify](/forum/17-serial-how-to/53889-stock-level-notify#53889 "I'm not sure how to get the 'Stock level notify' property on a Serial Pack to work.  I have it set but am not receiving an email notification. Who does this email go to?  Is it sent to addresses in the HikaShop configuration or is it sent to Joomla users that receive system emails?  Neither of these seem to work for me.  Any Ideas?")* was created by *[Devine](/forum/user/2915-devine "View Devine's Profile")*

I'm not sure how to get the 'Stock level notify' property on a Serial Pack to work.

I have it set but am not receiving an email notification. Who does this email go to?

Is it sent to addresses in the HikaShop configuration or is it sent to Joomla users that receive system emails?

Neither of these seem to work for me.

Any Ideas?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vNTM4ODktc3RvY2stbGV2ZWwtbm90aWZ5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

14 years 5 months ago -  14 years 5 months ago [\#53948](#53948) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Stock level notify](/forum/17-serial-how-to/53889-stock-level-notify#53948 "I'm not sure how to get the 'Stock level notify' property on a Serial Pack to work.  I have it set but am not receiving an email notification. Who does this email go to?  Is it sent to addresses in the HikaShop configuration or is it sent to Joomla users that receive system emails?  Neither of these seem to work for me.  Any Ideas?")*

Hi,

Please modify the file administrator/com_hikaserial/classes/pack.php [line 71]
Change the "loadObject" into: Code:

$pack-&gt;current_quantity = $this-&gt;db-&gt;loadResult();

About the email, I change the content in order to remove blank spaces Code:

&lt;?php $url = HIKASERIAL_LIVE.'administrator/index.php?option=com_hikaserial&amp;ctrl=pack&amp;task=edit&amp;cid='; echo JText::sprintf('THE_PACK_STOCK_LEVEL_IS_LOW', $url.$data-&gt;pack_id, $data-&gt;pack_name, $data-&gt;current_quantity);

And I fixed the translation in the en-GB.com_hikaserial.ini file Code:

THE_PACK_STOCK_LEVEL_IS_LOW="&lt;a href='%s'&gt;The pack %s has a stock of only %s serials.&lt;/a&gt;"

The HikaSerial package is now up to date, so you can download the new version or update your files manually.

Regards and sorry for the inconvenient,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Last edit: 14 years 5 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vNTM4ODktc3RvY2stbGV2ZWwtbm90aWZ5P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
