Answer the question
In order to leave comments, you need to log in
How to discount second Woocommerce item?
The task is as follows, if a person buys 1 product, then the price does not change, but if he buys 2 products, then the next one receives a discount, for example, 25%. How to implement or tell me a plugin for implementation
Answer the question
In order to leave comments, you need to log in
Haven't seen any plugins yet. However, you can write your own.
The main thing here is to understand the mechanics of the catalog, basket and order:
1. the catalog contains products
2. the basket contains data about the products
3. order elements (order_item) get into the order
This means that almost any data can be changed at all these stages.
For example, you can check if there is 1 product at the time of adding to the cart. And if there is then the 2nd and then add at a discount.
If this is understood, then an average programmer will be able to figure it out further.
Are you interested in how to write it yourself, or a discount management plugin? I would advise you to use the second option, since in the case of self-writing this is not a very trivial task, since even in the case of such a simple discount, in a good way, you need to make it manageable through the site admin panel, and this grows to a serious task.
Plugins that solve your problem:
WooCommerce Dynamic Pricing - $129.
WooCommerce Bulk Discount - free.
Pricing Deals for WooCommerce - free with Pro version.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question