Table of Contents
Problem Description #
You want the offer form to include a quantity field so customers can offer a price for a specified quantity, but the plugin only sends a price for a single unit.
Common symptoms:
- Offer emails lack quantity information.
- Store owners ask for bundled offers or per-quantity offers.
Cause:
The plugin’s current feature set centers on a price field; quantity handling is a requested enhancement in forum threads.
Solution – step-by-step #
- Check plugin settings for quantity option
- Search plugin settings and the WPFactory docs for any built-in “quantity” option (it may be a Pro feature or a requested enhancement). WPFactory
- If unsupported, add quantity via custom fields (developer)
Add a quantity input to the form using the plugin’s form hooks or by customizing the shortcode output. Example HTML snippet to add next to the price field (developer required):
<label>Quantity</label>
<input type=”number” name=”offer_quantity” min=”1″ value=”1″ />
- Hook into the offer submission handler to save offer_quantity and include it in emails.
- Use cart-based approach
- Alternatively, accept offers for a single unit, then allow accepted offer to add the product to cart where quantity can be adjusted before checkout.
- Request quantity feature from author
- Open a feature request in plugin support describing your use case; feature demand may prompt inclusion in a future release.
- Open a feature request in plugin support describing your use case; feature demand may prompt inclusion in a future release.
Prerequisites #
- Developer or ability to modify plugin templates/hooks, or acceptance of workaround.
Additional Notes / Prevention #
Ensure quantity is validated (min/max) to avoid invalid offers.
