When I purchase the same package more than once, for example twice, it still shows only one package in ‘My Package’. Also, if a package includes 5 listings and I purchase it twice, it should show 10 listings, but right now it only shows 5. Why is this happening?
Hi,
Please note that Paid Listings doesn’t have an upgrade feature. When a user tries to purchase the same package again, the amounts don’t add together. At the same time, users shouldn’t be able to purchase a new package if they already have one — in this case, the button should be inactive. Also, the Select Package option should not appear on the Add Listing page if the user still has available packages.
If you need an upgrade process, please consider using the Memberships plugin instead. It has the same features as Paid Listings, but currently doesn’t support category-specific plans [though we plan to add this in future updates].
If the user already has a package, then the button should remain disabled. Why isn’t this implemented in the theme by default, and how can I do this?
Please tell me how I can make it so that if a user already has a package and still has listings left to add, the button is either disabled or the price card itself is not shown.
Unfortunately there’s no simple code snippet to change this behavior in Paid Listings. There are a few possible workarounds:
- If you’re familiar with coding or have a developer, I can provide general dev guidance for this (e.g. where the button is located, how to check the current user packages)
- You can avoid using the Listing Packages block on pages, then users can purchase packages via the Select Package page that appears when the listing is exceeded and otherwise they will not be able to double purchase the package.
- You can consider switching to Memberships if you don’t need category-specific packages yet, the Memberships extension has the upgrade functionality.
Please let me know which option works for you.
/var/www/html/globade/wp-content/plugins/hivepress-paid-listings/templates/listing-package/view/listing-package-select-button.php
I want to override this template in my child theme but not override please check
/var/www/html/globade/wp-content/themes/rentalhive-child/hivepress-paid-listings/templates/listing-package/view/listing-package-select-button.php
not working
Please try this file path instead:
rentalhive-child/hivepress/listing-package/view/listing-package-select-button.php
The file path should be the same relative to the plugin/extension folder, but with “hivepress” instead of “templates”.