The paid package does not lower the counter

Hello, I found an error.

Steps to reproduce

Install memberships and paid lising
Create a product ABC for the bundle
Set the package for 1 ad and for x days.
Connect the ABC product with woo.
Set the membership package to x days and connect the same product.

Register as a seller → post an ad → buy a package

Actual result

Both the membership package and the announcement package (1 pcs) are added.

The ad comes for review by the admin.

After approval, it appears on the website as standard, while the counter of other ads to be added is still 1. Only the second ad reduces the counter to 0.

Expected result

I would like the purchase of a package for 1 advertisement to be for 1 advertisement and not for 2 in total.

Extra details

I have set the maximum number of ads to 2.

Assumptions:
I am using the memberships package to enable offer to request.

Exactly the same situation is at the time of renewal of the listing. The ad is extended but the counter does not update and show 1

Please send more details that may help to detect or reproduce this issue (e.g., a link to your site, screenshots, or the error message you get).

If you have set the maximum number of ads to 2 as you have written above, then it seems to be ok if it allows adding two listings before the package is needed to buy again

No, just not. The package is for 1 ad, for the second one you will have to pay again.
The setting is that the seller can have a maximum of 2 ads.




After add news listing (new user) choose pakiet

And pay
Ads its wait for aprove

I have plan memberships:

And package of ads

After publish listing


but the counter did not reset

Only adding another listings lowers the counter, but the customer should pay for it.

Thanks for reporting this, the bug is confirmed and we’ll fix it as soon as possible.