Support » Plugin: Discount Rules for WooCommerce » discount not shown

  • Resolved upsalacosmetic



    I have the PRO versión with the last update.
    I have a problem with making discounts to all productos that are not in some lists, but is not working, the plugin forces me to specify in wich category I have to make the discount.
    Can you help with it?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,
    Thank you for reaching out.

    Are you trying to apply discount for a specific list of products ?
    Something like:

    Here is a guide with similar examples:

    Hope this helps.

    If that doesn’t help, can you please open a support ticket here –> by elaborating on requirement and screenshots of rule setup and cart page screenshots indicating your requirement, so that we can quickly check and assist accordingly?

    Team Flycart

    Thread Starter upsalacosmetic


    hi, thanks for your support.

    As I can see, if I want to make a discount to all products excluding some categories.
    First I’ve to put the field all products, after that the field exclude.
    I was only excluding.

    Resolved 🙂

    Happy to help. 🙂

    Thread Starter upsalacosmetic


    hi again,

    I reached to apply discount to products correctly but now I have problems with google merchant center and other platforms because the discounted price doesn’t seems to appear in the corresponding field.
    The discounted price has to be applied to the field “sale price” of woocommerce.

    How to do it so the discounted price shows in “sale price”?

    Thread Starter upsalacosmetic


    Hi again.

    I managed to resolve some prices, but there is something that is no t showing correctly.

    If you see my feed.
    the products have the field “price” showing the sale price. But it has to show the regular price there as I configured.

    My configuration is that in price it shows regular price and in sale price is shows sale price.
    I want to get 2 diferent numbers but I get the same.

    Thanks for reaching out.
    This is Kowsaliya from Flycart.

    We would like to let you know that our plugin does not update the prices in the backend (Sale price for discounts). Our plugin applies discounts on the fly dynamically while adding the product to the cart. However, it doesn’t change the price in the back end. The plugin, you are using might take the price only from the backend. So, the discounted price will not be reflected.

    To get a discount on a product, you can give it a try using this snippet.

    Kindly check with your developer on how you can use this snippet on your site. Hope this helps!

    Team Flycart

    Thread Starter upsalacosmetic



    okey, I understand the way it works now.

    where to paste this snipet code to give it a try?


    The above snippet helps you to get a discount on a specific product.

    While creating a feed you might have to add this event to get the discount value.
    If there is no discount it will return false.

    $sale_price = $product->get_sale_price();//sale price or final price
    $discount = apply_filters(‘advanced_woo_discount_rules_get_product_discount_price_from_custom_price’, 10, $product, 1, $sale_price, ‘discounted_price’, true, true);
    if($discount !== false){
    //$discount -> Here we get discount amount
    $sale_price = $discount;

    Hope this helps!

    You might have to check with your developer on how you can use this snippet in your site and any further customizations regarding the same.

    Team Flycart

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.