Listing removed from site when customer upgrades to homepage or category feature
I've been running some tests with the hope that I can take my site live soon, but it seems that little kinks keep popping up that need fixing. The latest and most prominent is this one:
Moderate listings is enabled and I'm using v1.3.3
All listings are under a free unlimited plan. (I only intend to charge for homepage and category upgrades)
- User logs in and creates a listing
Listing doesn't automatically show on site.
- I'm notified of the listing through e-mail and I approve.
Listing goes live on site.
- User makes unlimited changes to their listing and I'm not notified or given an approval option.
- User UPGRADES the listing to include homepage or category feature.
- Listing is removed from the site until I manually approve it.
- Customer gets mad that they paid for an upgrade and instead their listing was removed entirely!
- I manually approve the listing and it shows back up on the site and their upgrade works as planned.
If I uncheck the "Moderate Listings" option, then everything works fine for step 5, but then step 2 becomes a problem because anyone can register and list anything they want without my approval.
I can't logically think of any reason why a listing would be removed from the site upon UPGRADE when it's already been manually approved.
Instead, I think the following would be a better flow of events:
- User logs in and creates a listing
Listing doesn't automatically show on site.
- I'm notified of the listing through e-mail and I approve.
Listing goes live on the site.
- User makes a change to their listing and I'm notified that the listing was changed.
Current listing stays on the site until I manually approve the new changes.
Current listing is updated to show the new changes (upon approval above).
- User UPGRADES the listing to include homepage or category feature.
Listing stays on the site, but the upgrade does NOT complete until order is accepted.
- I receive an e-mail stating the listing was upgraded and needs acceptance.
- Accept the order and the upgrade takes place.
UPGRADE goes live
- Customer stays happy because their listing was never removed and their upgrade is complete.
The site I'm having this problem on is test.cabinrentalshq.com
Yes, I've made changes to some of the code and I have other plugins installed, but I really don't think they're the issue here. The logic in the code is treating an UPGRADE like a NEW listing and throwing it in the "needs approval" bin instead of realizing it's already approved and was just an UPGRADE.
Respectfully,
Phil