Custom discount rule in WooCommerce - wordpress

In WooCommerce (WordPress) I have a bundle which contains product A and product B and I set it to add to cart separately (When adding this bundle to cart, product A and B will be added to cart separately).
I wish to implement discount like this:
If 1 bundle added to cart, then %20 discount will be added to each product A and B, and if the customers changes both of them into 2 or 3 or ..., still gets 20% on these 2 products, but, if the customer for example adds 1 bundle then changes the number of product B into 2 (1 product A and 2 product B), then gets a %20 discount on 1 product A and 1 product B, and %0 discount on the second product B, again, if the number of product A changes into 2, then the %20 discount will be added to both of them.
I know I explained a little confusing 😅
How can I do that? I used WooCommerce Discount Rules (FlyCart) but couldn't find a solution to create desired rule.

Related

Split shipping cost in cart

I have Shipping costs based on the number of categories in cart. Base shipping is 250 and if the number of categories is more than 1 for every category is charged extra 50. At the moment everything is shown together in a cart, I would like to be extra cost visible with a label and new row.
It looks like you might need to modify the WooCommerce checkout template in the theme that you are using.

Customer product limit in NOP Commerce

How can create number limit for products for each customer in NOP Commerce? For example, buyable number of product P for customer c be 10.
You can use Maximum cart qty property in the Inventory section on the product detail page. It will restrict the customer and would not allow them to add more than the quantity defined at Maximum cart qty in the cart for each checkout.
I added some code to Nopcommerce source code that get product, user and user's limit for shopping product.

Gravity Forms - Conditional Result

I have a GF with 3 products at a set price. However, if the user purchases more than one, there's a $50 discount on each additional item.
EX: Product 1 = $500
User buys 2 items, $500 + $450 (total = $950). Is there a way to do this with native (or plugin) conditional logic?
The only way I know how to do this natively is to create an extra Product field that adds as a "base" fee. In your case, that fee would be $50. Then your product price would be $450 all the time. Use conditional logic to "show" the base fee when only 1 item is ordered and to "hide" the base fee when more than 1 item is ordered.

Apply woocommerce coupon based on number of products

I have created a coupon with product % discount 100%.
Screenshot: http://prntscr.com/eqom1u
Product also specified: http://prntscr.com/eqomba
Now i want my coupon to work for purchasing two 1 Private Training.
Case be like: If i add 1 Private Training in cart then coupon applies and i buy a product again next time i should be able to use that coupon and then only coupon should expire.
Next, If i add two 1 Private Training in cart then coupon applies and while i go for next purchase then coupon should expire cause coupon meets the requirment of two 1 Private Training.
Any one can suggest how to achieve this?

Apply coupon per product

I want to apply coupon per product basis, not on whole complete cart. So that my coupon could subtract that specific amount form all item one by one.
Pretty straight forward if your woocommerce is up to date. When you go to Dashboard > Woocommerce > coupons and add new. You can select from several options including Cat Discount, Cart % Discount, Product Discount, Product % discount. You just select either product or product % and you're good to go. Only that product will be discounted leaving the rest of the cart at full price.

Resources