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

#   Product Quantity Remaining is not displaying

##

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 2 months ago [\#119261](#119261) by [intown](/forum/user/26697-intown "View intown's Profile")  *[Product Quantity Remaining is not displaying](/forum/14-hikaserial/861168-product-quantity-remaining-is-not-displaying#119261 "Here is my product page  The product is a HikaSerial Number  When I click save on the product the quantity always resets itself to unlimited.  Pack Data is set to Pack SQL Data The serial pack uses a series generator SERIAL&#95;UNLIMITED&#95;QUANTITY is set to No  In the Series plugin I have a Min Value and Max Value set.  Any thoughts on what I have configured wrong?  I feel like if I can get the quantity to set correctly in the product settings then the quanity remaining on the front page would display correctly.  Thanks! -- Steven")* was created by *[intown](/forum/user/26697-intown "View intown's Profile")*

Here is my product page
[ ](http://www.charitymobi.org/amg-raffle/product/1-amg-raffle-ticket)[ www.charitymobi.org/amg-raffle/product/1-amg-raffle-ticket](http://www.charitymobi.org/amg-raffle/product/1-amg-raffle-ticket)

The product is a HikaSerial Number

When I click save on the product the quantity always resets itself to unlimited.

Pack Data is set to Pack SQL Data
The serial pack uses a series generator
SERIAL_UNLIMITED_QUANTITY is set to No

In the Series plugin I have a Min Value and Max Value set.

Any thoughts on what I have configured wrong?

I feel like if I can get the quantity to set correctly in the product settings then the quanity remaining on the front page would display correctly.

Thanks! -- Steven

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODYxMTY4LXByb2R1Y3QtcXVhbnRpdHktcmVtYWluaW5nLWlzLW5vdC1kaXNwbGF5aW5nP3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

13 years 2 months ago [\#119266](#119266) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product Quantity Remaining is not displaying](/forum/14-hikaserial/861168-product-quantity-remaining-is-not-displaying#119266 "Here is my product page  The product is a HikaSerial Number  When I click save on the product the quantity always resets itself to unlimited.  Pack Data is set to Pack SQL Data The serial pack uses a series generator SERIAL&#95;UNLIMITED&#95;QUANTITY is set to No  In the Series plugin I have a Min Value and Max Value set.  Any thoughts on what I have configured wrong?  I feel like if I can get the quantity to set correctly in the product settings then the quanity remaining on the front page would display correctly.  Thanks! -- Steven")*

Hi,

I think you have the option "link product quantity" activated.
[ www.hikashop.com/support/documentation/1...ink\_product\_quantity](http://www.hikashop.com/support/documentation/111-hikaserial-configuration.html#link_product_quantity)

> If the pack does not have a plugin generator, HikaSerial would count the "serials" stock and change the product quantity depending his link.

But that's not explain clearly (it is implicit), when the pack have a plugin generator, we consider that the product quantity is unlimited.
And you are right, the series generator have a limitation but when we create this option of link product quantity, we didn't though that it will be possible to have a no-unlimited generator.

I created an entry in my TODO list in order to fix it, which I consider as a bug (or a missing feature).

Regards,

---

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

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

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 2 months ago [\#119591](#119591) by [intown](/forum/user/26697-intown "View intown's Profile")  Replied by *[intown](/forum/user/26697-intown "View intown's Profile")* on topic *[Product Quantity Remaining is not displaying](/forum/14-hikaserial/861168-product-quantity-remaining-is-not-displaying#119591 "Here is my product page  The product is a HikaSerial Number  When I click save on the product the quantity always resets itself to unlimited.  Pack Data is set to Pack SQL Data The serial pack uses a series generator SERIAL&#95;UNLIMITED&#95;QUANTITY is set to No  In the Series plugin I have a Min Value and Max Value set.  Any thoughts on what I have configured wrong?  I feel like if I can get the quantity to set correctly in the product settings then the quanity remaining on the front page would display correctly.  Thanks! -- Steven")*

Thanks for the reply.

You are correct. I had enabled the "Link Product Quantity" in HikaSerial &gt; Configuration and I am using the Series Generator

I have found it a little confusing around the "Pack Data" option under HikaSerial &gt; Packs

1. Not sure if I should use "No pack data provider" or "Pack SQL Data" when using the series generator. Which is the correct setting.

2. If I have a simple series of numbers 1 - 1000 is it possible to add these serial numbers, so the quantity left works?

3. Any estimate on how long it might take to get this missing feature added?

Thanks! -- Steven

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODYxMTY4LXByb2R1Y3QtcXVhbnRpdHktcmVtYWluaW5nLWlzLW5vdC1kaXNwbGF5aW5nP3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

13 years 2 months ago [\#119613](#119613) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product Quantity Remaining is not displaying](/forum/14-hikaserial/861168-product-quantity-remaining-is-not-displaying#119613 "Here is my product page  The product is a HikaSerial Number  When I click save on the product the quantity always resets itself to unlimited.  Pack Data is set to Pack SQL Data The serial pack uses a series generator SERIAL&#95;UNLIMITED&#95;QUANTITY is set to No  In the Series plugin I have a Min Value and Max Value set.  Any thoughts on what I have configured wrong?  I feel like if I can get the quantity to set correctly in the product settings then the quanity remaining on the front page would display correctly.  Thanks! -- Steven")*

Hi,

1. If you use the "Pack SQL Data", it there is a generated serial available in the database, HikaSerial will use this serial and not generate a new serial using the generator.
So, it depends if you want that a previous generated serial can be "refund" and "reuse" by another user.

2. You can pre-generate serial, so there will be in the database.
At this moment, you have to set the "Pack SQL data" and remove the generator after the generation complete.
The linked quantity will be the number of available serials in the database (for this pack).

3. I start to implement something but we made a new release few days ago. We are currently focusing on the new release of HikaMarket before this new HikaSerial feature.
It is not a small development, it will require some tests and some algorithms. The plugin has to determine how many serial it can generate and how many serials are available in the database (if the "Pack SQL data" is used).
So for the "series generator" we have to add several SQL queries and we have to make them optimized before release it.

Regards,

---

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

The following user(s) said Thank You: [intown](/forum/user/26697-intown "View intown's Profile")

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

- **[intown](/forum/user/26697-intown "View intown's Profile")**
- [![intown's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/cat.png)](/forum/user/26697-intown "View intown's Profile") Topic Author
- [ Offline](/forum/user/26697-intown)

Less More

- Posts: 70
- Thank you received: 4
-
-
-

13 years 2 months ago [\#121135](#121135) by [intown](/forum/user/26697-intown "View intown's Profile")  Replied by *[intown](/forum/user/26697-intown "View intown's Profile")* on topic *[Product Quantity Remaining is not displaying](/forum/14-hikaserial/861168-product-quantity-remaining-is-not-displaying#121135 "Here is my product page  The product is a HikaSerial Number  When I click save on the product the quantity always resets itself to unlimited.  Pack Data is set to Pack SQL Data The serial pack uses a series generator SERIAL&#95;UNLIMITED&#95;QUANTITY is set to No  In the Series plugin I have a Min Value and Max Value set.  Any thoughts on what I have configured wrong?  I feel like if I can get the quantity to set correctly in the product settings then the quanity remaining on the front page would display correctly.  Thanks! -- Steven")*

Thanks so much for the reply and info. I have a much better understanding.

Here is what I did. I set up the series generator, and my pack, and then generated 1000 serial numbers. I then set pack data to 'Pack SQL Data' and the generator to none.

Now I can see the quantity left for the product and everything seems to be working.

What happens if I set pack data to NONE and the generator to none and have 1000 serials in the database?

Thanks! -- Steven

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODYxMTY4LXByb2R1Y3QtcXVhbnRpdHktcmVtYWluaW5nLWlzLW5vdC1kaXNwbGF5aW5nP3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

13 years 2 months ago [\#121145](#121145) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product Quantity Remaining is not displaying](/forum/14-hikaserial/861168-product-quantity-remaining-is-not-displaying#121145 "Here is my product page  The product is a HikaSerial Number  When I click save on the product the quantity always resets itself to unlimited.  Pack Data is set to Pack SQL Data The serial pack uses a series generator SERIAL&#95;UNLIMITED&#95;QUANTITY is set to No  In the Series plugin I have a Min Value and Max Value set.  Any thoughts on what I have configured wrong?  I feel like if I can get the quantity to set correctly in the product settings then the quanity remaining on the front page would display correctly.  Thanks! -- Steven")*

Hi,

See my previous post:
[ www.hikashop.com/forum/17-serial-how-to/...ion-work.html#121144](http://www.hikashop.com/forum/17-serial-how-to/861537-how-does-serial-pack-generation-work.html#121144)

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE0LWhpa2FzZXJpYWwvODYxMTY4LXByb2R1Y3QtcXVhbnRpdHktcmVtYWluaW5nLWlzLW5vdC1kaXNwbGF5aW5nP3RtcGw9bWFya2Rvd24=) 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.056 seconds

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