Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/muhammad-afaque/quotebasket-pro/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Quote Basket Plugin
A WordPress plugin that enables quote request functionality with basket/cart features for WooCommerce products.
Core Features
Quote Management
- Add products to quote basket
- Multiple quote requests per user
- Quote history tracking
- Quote status management
- Email notifications
- Admin quote review system
Frontend Features
- Quote basket widget/sidebar
- Add to quote button on products
- Quote form with custom fields
- Quote list view for users
- Real-time basket updates via AJAX
- Mobile responsive design
Admin Features
- Quote management dashboard
- Quote status updates
- Email template customization
- Quote history logs
- Export quotes to CSV/PDF
- Bulk quote actions
Installation
- Upload to
/wp-content/plugins/quote-basket/ - Activate through WordPress plugins page
- Configure settings under WooCommerce > Quote Settings
Configuration Steps
Basic Setup
- Enable quote functionality for specific products
- Configure email templates
- Set up quote form fields
- Customize button texts and labels
- Set quote expiration time (optional)
Email Templates
- Quote Request Confirmation (Customer)
- New Quote Notification (Admin)
- Quote Status Update
- Quote Approved/Rejected
Usage Guide
For Customers
- Browse products and click "Add to Quote"
- View quote basket in sidebar
- Fill quote request form
- Submit quote request
- Track quote status in account
For Admins
- Access Quote Dashboard
- Review new quote requests
- Update quote statuses
- Send responses to customers
- Export quote data
Shortcodes
[quote_basket] // Displays quote basket
[quote_list] // Shows user's quote history
[quote_form] // Renders quote request form
Template Functions
// Check if product can be quoted
is_quotable($product_id);
// Get quote basket contents
get_quote_basket();
// Add item to quote
add_to_quote($product_id, $quantity);
Action Hooks
// After quote submission
add_action('after_quote_submit', 'your_function');
// Before quote status change
add_action('before_quote_status_update', 'your_function');
// Quote approved
add_action('quote_approved', 'your_function');
Filter Hooks
// Modify quote form fields
add_filter('quote_form_fields', 'your_function');
// Change quote email content
add_filter('quote_email_content', 'your_function');
// Adjust quote validation
add_filter('quote_validation_rules', 'your_function');
Database Tables
- wp_quote_requests
- wp_quote_items
- wp_quote_meta
Options & Settings
General
- Enable/Disable quote system
- Quote expiration time
- Default quote status
- Required fields
Display Options
- Button position
- Basket location
- Form layout
- Success message
Email Settings
- Admin notification
- Customer notifications
- Email templates
- CC/BCC options
Requirements
- WordPress 5.0+
- WooCommerce 3.0+
- PHP 7.4+
- MySQL 5.6+
Best Practices
- Regular backup of quote data
- Monitor quote request volume
- Set up email delivery monitoring
- Regular review of pending quotes
- Update status promptly
Troubleshooting
Common issues and solutions:
-
Quote not submitting
- Check form validation
- Verify AJAX calls
- Review error logs
-
Emails not sending
- Check WordPress email settings
- Verify email templates
- Test with WP Mail SMTP
Support
For technical support and feature requests, contact plugin developer.
License
GPL v2 or later
Note: This plugin requires WooCommerce to be installed and activated.