Disabled location
-
Hi Alaxandre,
I found something and I think it is a bug, but you may have special reasons for this.
If I have activated multiple locations for a product, and they are all stocked. When I deactivate one location, in the
postmeta
table in the database themeta_key
remains. As a result, the stock remains in the database.I ran into this problem because I work with custom queries. I’ve added the link to the website I’m currently working on so you can see what I’m talking about.
I first retrieve all existing locations from the database and then look up the stock. This ensures that a location is also shown when they have no stock / are not activated.
The page I need help with: [log in to see the link]
- The topic ‘Disabled location’ is closed to new replies.