qbcore-framework/qb-shops

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

GpKkek opened this issue · 2 comments

GpKkek commented

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):

  • When you last updated: Yesterday
  • Are you using custom resource? which ones? No
  • Have you renamed qb- to something custom? No
eygi commented

have you fixed this? i have same issue