WPIntell

Source evidence

Unable to create custom html for discount

Dynamic Pricing With Discount Rules for WooCommerce · support · 2024-09-30T06:16:00+00:00

complaintsentiment
mediumseverity
0.93relevance
4replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Anders Madsen unresolved
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. 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. 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. 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? 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. 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. 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. This reply was modified 1 year, 9 months ago by Anders Madsen .

Comments

4 shown
Sreejith Acowebs 2024-10-01T05:52:00+00:00

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?

Anders Madsen 2024-10-01T16:29:00+00:00

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.

Sreejith Acowebs 2024-10-03T03:47:00+00:00

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.

Anders Madsen 2024-10-05T16:59:00+00:00

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. This reply was modified 1 year, 9 months ago by Anders Madsen .