Smart Directory Pro – WooCommerce Integration
This guide will help you set up WooCommerce integration with Smart Directory Pro to offer paid listing packages to your directory users.
Overview
Smart Directory Pro integrates seamlessly with WooCommerce to provide:
- Paid Listing Packages – Create different tiers of listing packages with varying features and prices
- Free Listings Option – Enable/disable free listings alongside paid options
- Custom Package Features – Control duration, featured status, and image limits for each package
- Automatic Processing – Listings are automatically activated when payment is completed
Setting Up Listing Packages
Creating Default Packages
The easiest way to get started is to use the built-in default packages:
- Go to Smart Directory Pro Forms > Listing Packages
- Click the Create Default Packages button
- Four default packages will be created (Basic, Standard, Premium, and Annual Subscription)
Creating Custom Packages
To create your own custom listing packages:
- Go to WooCommerce > Products > Add New
- Enter a title and description for your package
- Under Product Data:
- Select Simple product
- Check the Virtual box (this is a digital product)
- Check the Listing Package box (shows when Smart Directory Pro is active)
- Set your price
- Configure listing package settings:
- Duration – Days listing stays active (0 = unlimited)
- Featured Listing – Check if this package includes featured status
- Image Limit – Max number of images allowed (0 = unlimited)
- Add a description in the main editor
- Add a featured image
- Click Publish
Configuring WooCommerce Integration Settings
- Go to Smart Directory Pro Forms > WooCommerce Integration
- Adjust these settings:
- Enable Free Listing
- Submit Listing Page
- Free Listing Duration
- Payment Messaging
Available Shortcodes
Shortcode | Description |
---|---|
[smart_directory_pro_submit_form] | Full submission form with package selection |
[smart_directory_pro_packages] | Displays only the package selection interface |
[smart_directory_pro_submit_form skip_package="yes"] | Submission form without package selection |
Note: Old shortcodes
[directory_pro_submit_form]
and[directory_pro_packages]
still work, but the updated versions are recommended.
Smart Directory Pro Theme Integration
This WooCommerce integration is fully compatible with the Smart Directory Pro theme. Make sure both the theme and plugin use the same WooCommerce products for listing packages.
Integration with the Submit Form
Once WooCommerce integration is active:
- Users will see a Free Listing tab (if enabled)
- Paid packages show under Premium Packages
- Users select a package before submitting
- Paid users are redirected to checkout
- After payment, listings are published automatically
Order Processing
When a user purchases a package:
- Listing is created with pending status
- Redirected to WooCommerce checkout
- On successful payment, listing is published
- Expiry date is calculated
- Featured status is applied (if included)
Managing Listing Packages
Manage your packages just like regular WooCommerce products:
- Go to WooCommerce > Products
- Edit, deactivate, or delete as needed
- Update descriptions, pricing, features
- Set up sales or promo pricing
Renewals and Upgrades
When a listing is nearing expiry:
- The owner receives an email alert
- They can renew the same package
- Or upgrade to a higher-tier option
- Renewals extend the expiration from the current date
Troubleshooting
If things aren’t working:
- Ensure WooCommerce and Smart Directory Pro are both up to date
- Double-check the Listing Package checkbox is selected
- Verify your submit form page is correctly set
- Ensure your payment gateway is configured
- Look for any failed payments in WooCommerce Orders
Support
- Read the docs at Smart Directory Pro Documentation
- Email our team at support@smartdirectorypro.com