qbcore-framework / qb-shops

Shops For QB-Core
GNU General Public License v3.0
27 stars 215 forks source link

[BUG] Shop Inventory saves changes to all shops within the category #148

Closed GpKkek closed 9 months ago

GpKkek commented 1 year ago

Describe the bug Shop Inventory when using Config.UseTruckerJob = true is persistent for all shops per "products" category. For example, if you buy from one 24/7, then check another you will notice the inventory has dropped for both. Shouldn't this only deduct from the current shop you are checking. This happens with Hardware, Liquor, Ammunition and Normal categories.

To Reproduce Steps to reproduce the behavior:

  1. Go to 247supermarket
  2. Purchase an item
  3. Go to 247supermarket2
  4. Item has reduced from this store as well

Expected behavior Item reduces from current shop's inventory, not all.

Questions (please complete the following information):

eygi commented 1 year ago

have you fixed this? i have same issue

github-actions[bot] commented 10 months ago

This issue has had 60 days of inactivity & will close within 7 days