• Hello

    You got a really good plugin and I currently installed the plugin on one of my customers webshops.

    I cannot customize the product page though which is a problem, as it means I either have to copy your code and disable your filter for product prices, or I have to edit your plugin, meaning my changes will be gone with each plugin update.

    Either way I will have to be more vigilant than usual on plugin updates.

    So I have some requests for your free plugin, you can use none or both.

    1. Update the instance/product variable with the discounts, both with and without taxes in the woocommerce_get_price_html and other filters found in includes/class-awdp-front-end.php. It’s the second variable in the woocommerce_get_price filter.
    2. make filters in your calculations so that we can get the price before and after discount rules are applied with and without tax,

    Both are really easy to implement and would increase the quality of your plugin immensely!

    In the future you might want to split up the get_product_price_html filter so that one has the rules in priority 100 maybe and the actual html returned in priority 1000.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Sreejith Acowebs

    (@sreejithacowebs)

    Hi,

    Thank you for using our plugin, and we apologize for the delayed response. Based on your requirements, we need some clarification. If we understand correctly, you want to display both discounts separately, right? In other words, you’d like to show two types of prices: the product price discount with tax and without tax, correct?

    Thread Starter Anders Madsen

    (@itmesteren)

    Hello

    yes, this is correct, I already have html code that does this, however since it’s not possible to get this information about discount on products, I can’t use it.

    This is why I suggested the two solutions, as others will be able to use your plugin in more use cases.

    Plugin Support Sreejith Acowebs

    (@sreejithacowebs)

    Hi,

    Thank you for the suggestions. We will try to implement this feature if it is possible, and we will release it in our future updates. Could you please provide a screenshot of this feature implemented on your site? It will help give us a clearer picture of the idea. Once again, thank you for the suggestions.

    Thread Starter Anders Madsen

    (@itmesteren)

    It’s not a feature you can see with a screenshot on a site it’s purely code.

    What you do is insert max 10 lines of code and this feature will be implemented ??

    your team *should* be able to know what I’m talking about, otherwise I’d be happy to make the implementation for you very cheap.

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