Site Builder
Editing:
readme.txt
writable 0666
=== Business Listing Subscription for WooCommerce === Contributors: johncoates, bestdealon Donate link: https://bestdealon.com Tags: woocommerce, subscriptions, directory, business-listing Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.1.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Self-service directory subscription product for WooCommerce. Businesses sign up via a front-end form; phone number enforced as unique SKU. == Description == Business Listing Subscription lets businesses create paid directory listings as a WooCommerce Subscription product. Customers log in, fill out a form with address, hours, social & marketplace links, service/location tags and a “Best Deal” coupon, then subscribe in one step. Each phone number acts as the SKU and can only be claimed once. Includes: * Auto-creation of a “Business Sign-Up” page (`[business_listing_signup]` shortcode) * High-Performance Order Storage (HPOS) compatibility * Full admin meta (address, description, hours, socials, tags, coupon) * One-time purchase enforcement (stock locked at 0) * Sanitized inputs, nonces, and escaping for security * Fully internationalized (Text Domain: `business-listing-subscription`) == Installation == 1. Upload the `business-listing-subscription` folder to `/wp-content/plugins/`. 2. Activate **Business Listing Subscription** in **Plugins**. 3. Ensure **WooCommerce** & **WooCommerce Subscriptions** are installed & active. 4. A “Business Sign-Up” page will be created automatically. 5. Businesses log in, visit `/business-signup/`, complete the form & subscribe. == Frequently Asked Questions == = Can I change the subscription price? = Yes—open `business-listing-subscription.php` and adjust the `$product->set_price()` / `$product->set_regular_price()` values in the form handler. = How do I display listings on the front end? = Query products of type `business_listing_subscription` and loop through their `_bls_…` meta. You can build a custom shortcode or template. = Can a business update their own listing? = By default only admins can edit products. You can extend the plugin to add a front-end “edit listing” form or grant specific capabilities. == Changelog == = 1.1.4 = * Updated “Tested up to” and “Stable tag” for WordPress 6.8 * Fixed translator comments for all placeholders * Security enhancements: nonces, sanitization & escaping = 1.1.3 = * Corrected plugin header URLs and version * Added global PHPCS disable during dev = 1.0.0 = * Initial release: custom subscription product, unique-SKU enforcement, front-end signup == Upgrade Notice == = 1.1.4 = No database changes. Just bump your version—nothing else required.
Save changes
Create folder
writable 0777
Create
Cancel