givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
239 stars 49 forks source link

Create Product Categories assigned wrong taxonomy ID #101

Open Twilight-Computer opened 3 months ago

Twilight-Computer commented 3 months ago

If you create a Product Category via the Ecommerce > Products > Category > Add Item, the taxonomy_id is assigned as "1" (Category -Post) instead of "4" (Category - Product).

Work around is to update the taxonomy_item table in SQL

givanz commented 3 months ago

I'm unable to reproduce this bug, can you please check if the request includes taxonomy_id like in the attached screenshot?

I added fallback code to get taxonomy_id from the page get parameters if it's missing in the post request https://github.com/givanz/Vvveb/commit/6b5d30b3ba953b6c5433c7ef56a0ece25cec5543.

categories