limit quantity
-
hi –
is there any way to limit quantity? example: limit it to quantity of just one ?
-
Thank you for reaching out to us.
is there any way to limit quantity?
Unfortunately that is currently not available in our plugin. We do have the following plugin that allows you to set up a limit quantity on products.
https://ww.wp.xz.cn/plugins/wp-express-checkout/
And the following documentation shows you how to set up a limit quantity for products.
Let me know if this helps and or you need more help.
Kind regards.
what about something as simple as this snippit?
form[style="display: inline"]:has(input[type="hidden"][name="wspsc_product"][value="Introductory Rate for first client"]) {
/* Your CSS styles here */
visibility: hidden;
}this seems to work.
Thank you for your snippet. I have submitted a message to the developers to investigate further your suggestion.
Kind regards.
If you just want to limit it to quantity of one, we have the following feature that should be helpful.
Go to the settings menu of the plugin and then enable the
Do Not Show Quantity in Cartcheckbox.but again, i need to be able to suppress the quantity for just one item, not all of them.
did you look at my css code? what did your developers think about that approach?
-
This reply was modified 8 months ago by
edwardsmark.
Okay, understood. I’m the developer. The CSS that you shared looks fine to me. You’re welcome to apply any custom CSS you’d like on your site. At this time, we don’t have plans to add this feature, but I’ve noted it on our wish list.
Since we manage many plugins and our team is quite small, it may take a while before we get a chance to look into it. The following post has info on things we consider for feature request:
That said, if you need any hooks, we can usually add those quickly. We’re very receptive to adding new action or filter hooks. If you have specific suggestions, please share the exact file and line number where you think a hook would be useful. Alternatively, you’re welcome to submit a pull request with your proposed hook on our GitHub repository.
-
This reply was modified 8 months ago by
The topic ‘limit quantity’ is closed to new replies.