WooCommerce - Create coupon for sale products ONLY - php

I have searched around the web, but haven't been able to find anything that point me in the right direction.
It is possible to create a coupon in WooCommerce, that doesn't discount sale products, but we need to "reverse it", so it only works with sale products.
Has anyone been able to do that? Any help is appreciated here.

How many sale products do you have? Out of the box, you could select the list of products the coupon applies to within its settings
Now that I think of, you could assign all sale products to a given category e.g. "Sale items", and use that to include product categories in the coupon settings
Otherwise, if you don't want to to things manually, there is some PHP to write

Related

Link quantity to product variations in Woocommerce

I would like to link the product variation to the quantity on woocommerce in WordPress 4.9.8, and I installed Quantities and Units for WooCommerce plugin.
This plugin just let me set the minimum and maximum quantities but it's not attached to the product variations. In the image bellow you can see the quantity that doesn't change with the product variation:
Is there any way to do that?
I was searching and I found that the people said that I can do that in php but I have a poor knowledge .
Any help on this please.

Advanced coupon and product pricing in opencart

I have got couple of strange requirements for a shopping cart which is developed on Opencart 2.0.1.1 framework.
It would be really helpful if someone can guide me in this development
Is there any way I can show different product prices per country. For example if one product costs 10$ in USA, I want the same product to be of 15$ in UK.
Is there any way I can make user use one coupon to avail different discount rates for different products. For example discount on product A is 1$ , then discount on Product B is 6$ but with same coupon code
Help is really appreciated. This is a quick requirement.
try this open cart extension for advanced coupon combinations,
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=6240

WP plugin that compares prices from different vendors

I have been trying to find a price comparison plugin for WordPress. Does anybody know of any?
It just needs to be a simple plugin that can compare prices of the same product from different vendors - like a product manager plugin.
So, in frontend, the user can select a product, and then it will show all the vendors and their prices for this product in a list, sorted with the cheapest first.
this is an example of what I mean:
http://www.kinguin.net/category/10158/middle-earth-shadow-of-mordor-the-dark-ranger-dlc-steam-key/
one product, but you can see all the vendors that sells it, and their respective prices.
Thanks in advance.
Will they be sold all from your website or links to other sites and I'm guessing you are entering all the prices manually if so you could try just a price table/comparison plugin

How to set tier pricing per category rather than setting for individual product

It's very time consuming to add tier pricing for each product, is there any way to do this for all the products in a particular category?
or is there any plugin already available that will do this job?
thanks for any help,
As far as I'm aware you can not do it. What You can do a bulk update on products. Or even, which I think is not what you are looking for, in a category go to Promotions > Catalogue Price Rule and you can set up discounts to products in particular categories.
Found out a solution myself. a plugin was there actually that does this.
with that plugin we can set tier pricing for multiple products across categories
here is the link : http://wiki.bluejalappeno.com/home/tiered-pricing-across-multiple-products/configuration-of-tiered-pricing-across-multiple-products

Adding discounts to shipping in magento

I was wondering if anyone here has ever added an automatic discount to a shipping method in magento before. FedEx is the only company I ship with, but I have 3 different methods of FedEx. I want to add a discount to 2 of the 3 methods, and display these discounts at the method selection screen automatically at checkout(to make it seem like they are getting a deal with the higher priority shipping I suppose?). I found which file displays the methods, but I don't think this is the file I need:
template/checkout/onepage/shipping_method.phtml
Does anyone know which file these are displayed in so that I can slash out the real price, and add the discounted price bellow it? I suppose I could change the shipping price by just subtracting from the variable price, correct?
I suggest this thread for adding custom discount price but its not related to any of shipping method price calculation, its might helpful, as its helped me well..
http://www.excellencemagentoblog.com/magento-add-fee-discount-order-total

Categories