There is a fatal error with the plugin:
2024-10-15T00:03:51+00:00 Critico Uncaught Error: Call to a member function get_code() on null in /home/customer/www/*******/public_html/wp-content/plugins/aco-woo-dynamic-pricing/includes/class-awdp-front-end.php:387
Contesto aggiuntivo
{
"error": {
"type": 1,
"file": "/home/customer/www/*******/public_html/wp-content/plugins/aco-woo-dynamic-pricing/includes/class-awdp-front-end.php",
"line": 387
},
"backtrace": [
"",
"#0 /home/customer/www/*******/public_html/wp-includes/class-wp-hook.php(324): AWDP_Front_End->coupon_message('Inserisci un co...', 111, NULL)",
"#1 /home/customer/www/*******/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Inserisci un co...', Array)",
"#2 /home/customer/www/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-coupon.php(1144): apply_filters('woocommerce_cou...', 'Inserisci un co...', 111, NULL)",
"#3 /home/customer/www/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(258): WC_Coupon::get_generic_coupon_error(111)",
"#4 /home/customer/www/*******/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::apply_coupon('')",
"#5 /home/customer/www/*******/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)",
"#6 /home/customer/www/*******/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)",
"#7 /home/customer/www/*******/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action('wc_ajax_apply_c...')",
"#8 /home/customer/www/*******/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax('')",
"#9 /home/customer/www/*******/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(false, Array)",
"#10 /home/customer/www/*******/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)",
"#11 /home/customer/www/*******/public_html/wp-includes/template-loader.php(13): do_action('template_redire...')",
"#12 /home/customer/www/*******/public_html/wp-blog-header.php(19): require_once('/home/customer/...')",
"#13 /home/customer/www/*******/public_html/index.php(17): require('/home/customer/...')",
"#14 {main}",
"thrown"
]
}
]]>
Im using free version and I want to show real time pricing in product page. The discount rule works fine when adding to cart. I want to show like your frontend product example (Father’s Day Coffee Mug (Variable) – Acowebs Woocommerce Dynamic Pricing Demo)
Thanks
]]>Hello Acowebs
A discount is not applied correctly to a product
This is a screenshot from the pricing rule
This a screenshot from the product page
The product is a variable product and there is a vat tax on all products on 25%
the untaxed values are
250,00 – 388,00 (comma is the decimal operator in my country)
Just for good measure the taxed values are:
312,50 – 485,00
And the pricing rule sets it at 30% discount.
There is no rule that specifically targets these sachet packets for the user watching this and I can’t seem to get it to add up by using the untaxed values either. The discount for 485 should show 339,5
]]>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.
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,
we have a simple quantity based discount from 3 pieces on, “Enable Realtime Pricing” is active.
Works fine, but the “Your price” info is incorrect if you choose one or two pieces, it shows €9 instead of €9,9
You can see it in this screenshot: https://ibb.co/qxGT7B0
When the quantity is set to 3, “Your price” (Ihr Preis pro Stück) shows the correct discount price.
Am I missing something or is this a bug?
Second question: any chance to show two numbers after the “,”?
So instead of 8,6 -> 8,60
Regards
Claudia
Hi
I have an issue of quantity based discount incorrect in cart page:
Many thanks
Levi
]]>this just started recently. no other changes to the site.
jQuery.Deferred exception: wp is not defined ReferenceError: wp is not defined
at HTMLDocument. (https://xxx.xxxxx.com/wp-content/plugins/aco-woo-dynamic-pricing/assets/js/frontend.js?ver=4.5.3:16:5)
at e (https://xxx.xxxxx.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)
at t (https://xxx.xxxxx.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330) undefined
It is a litespeed server and i have tried without any optimisations running and get the same issue.
is this a known problem?
Hello,
I just downloaded the plugin and am testing it around.
When I add the discount item to the cart, it shows the coupon named “Discount” like this. But I don’t want it to be there when it is not an actual coupon. I set the discount conditions with percentage and item quantity.
Is there a way to control this coupon list?
Thanks,
]]>Hello,
About your plugin, What about the Product price shown in google search results?
is it the Price without discount or the price with the discount?
Is there any setting at your plugin or is needed an extra or custom plugin?
Thank you
For example, increase the price of all products by 20%?
]]>Hello,
When we use the bulk discount together with a normal woocommerce sale price the price isn’t showing correctly.
You can see in the url that at first the price (and strikethrough) is shown correctly and 1 second later it is showing the wrong price.
Do I use a wrong setting? Or what’s the problem. I already disabled all plugins and it has something to do with this one.
Please let me know.
]]>Hello, help me figure out where this tag “(coupon)” comes from and where i can find it.
]]>Hi Acowebs,
First, thanks for the plugin!
A client of us wants to use this extension to add negative discounts to increase the prices for a certain duration of time.
Currently we don’t seem to be able to add negative values in the discount percentage fields in the backend. We looked through the features of the pro version to see if upgrading would solve this issue but I wasn’t able to find any information regarding this.
Is it currently possible to add negative discounts in the free or pro version of the plugin? Are we overlooking any option in the backend that allows us to use the negative discount?
Thanks in advance!
]]>Hello
First, thank you for this great plugin!
I need to know if there is a way to have different “Offer Description” text for different rules!
And when I set it to show on”All products (Active Rule)”, I can see the text on all products that doesn’t have any active rule!
How can I fix it?
Hello there,
My store has been added recently to the Skroutz platform.
Although, the bulk sales prices that I added with your plugin unfortunately does not correspond to the skroutz xml feed price.
Is there a way to fix that?
Thank you in advance.
]]>Hi guys,
I’m hoping you could help with the following:
I’ve got a product “A” where I’m applying ‘Quantity based discount’. I’m using a ‘product filter’ to limit this rule to this product “A” only.
Simply, if user purchases product “A” in quantity from 2 to 2, then $200 is applied, Qty 3 to 3, $300 is applied, Qty 4 to 4, $400 is applied.
My ‘Discount type’ is currently set to ‘Discount on cart quantity’
This works if product “A” is the only product in the cart. The issue that I’m having is that if I add a different product to the cart, products “B”, then quantity of product “B” will count towards the discount.
So for example: If I add qty 2 of product “A” and qty 2 of product “B” into the cart, then a discount of $400 is applied, because it counts both products as Qty 4.
So the “product filter” where I chose this rule to be only applied to product “A” clearly doesn’t work.
How do I make this rule work so that the rules that I have specified for product “A” are only applied to product “A” in the cart and exclude any quantities by product “B”?
Thanks,
Jo
Hi! Where to find the field “Discount Label”? I need the name of the rule (coupon) to be displayed in the table on cart page. Now it just displays a “Discount”. This field is not available in the rule settings. This screenshot is from your YouTube video. Thank you!
]]>I’m using both of your free plugins:
Product Labels & Dynamic Pricing
I have some products which are always on discount
For example, Product A is always on -20% discount (from 150$ to 120$)
For Black Friday, I’m using your Product Labels plugin to change the default sale -% to custom one, which is okey and working.
Now i want for the same “Product A” to setup an “Black Friday” discount (a custom discount) , using your Dynamic Pricing plugin.
I’m selecting the product, i add -30% discount , the price of the product is getting change from 150$ > to > 105$ , but the product label doesn’t.
Screenshot 1
Screenshot 2
The custom product label from your plugin keep staying -20%, and the price is okey.
How can i fix this?
]]>Thank you for your very helpful plugin. It works great, but if we create a new order from the WooCommerce dashboard, this discount rule won’t be applied. Can you help with this issue?
]]>The total price doesn’t update in mini cart. (with or without Realtime pricing)
Also, suppose we have pricing rule for 2+ products. but even when 1 quantity is in the cart, it shows the discounted price for 2 quantity.
Screenshot: https://prnt.sc/S7cDP3w1yQKv
]]>Hi,
I would like to add a discount to certain variations of my products based on an attribute term. How could I achieve that with this plugin?
Example: My shop sells wallpapers and each pattern is a product with two “material” (attribute) variations: “vinyl” and “fabric” (attribute terms). I want to add a discount only to vinyl wallpapers.
I managed to code a feature to set a product category to attribute terms and set the “vinyl” attribute term with the “sale” product category, which has a pricing rule but it didn’t work.
]]>Hello,
Is it possible to display in the shopping cart page which pricing rules was used?
]]>This translation doesn’t work in Portuguese Brazil, how can I fix this problem? Thanks
]]>We have a quantity based pricing rule discounting the cart for eligible products which generally works perfectly. However, the qualifying products are also available as a free sample variation for zero cost. When the number of free samples in an order technically qualify for a discount, it generates a fatal error on the order admin. Perhaps this is a divide by zero error or similar in the code?
]]>The quantity discount, their tax calculations work just fine but when a different category product (not discounted) is added to the same order, the discount is also applied to that (which it shouldn’t have)
This eventually skews the tax calculation for each item and also the order total summary.
Screenshot: https://snipboard.io/g5v83p.jpg
Please review and let us know
]]>Hi, we love to use zour plugin for discount on quantity.
However we would appretiate if it would be possible to reound price that is discounted, to have more “beautiful” price. Is it possible to do somehow via snippet for example rounding price to the nearest 50 cents (EUR) and the same in other currencis.
]]>Hi,
is your plugin compatible with omnibus directive? If I change price with it, this price will be shown in lowest price in last 30 days?
]]>Good evening, is this now live and working regarding Enabling Realtime pricing?
]]>A product is $1000 . Discount is 20% so final price $1000 – $200 = $800. But when a customer applies another coupon of 10% it applied on the $1000 not on the Discounted price $800
]]>I have 2 variable products which are on the product list set for quantity based discount (if 6 or more – 15% off).
The problem is that discount is not applied if there are 3 variations of Product #1 and 3 variations of Product #2.
Only if there are 6+ variations of P#1 or P#2 individually the discount is applied only to that product.
I guess I need to set “Discount on cart item count (different products count)” but in that case the plugin doesn’t recognize variations as single product (there’s no toggle switch to turn it on).
How do I resolve this, if I remember correctly I had this done before but now for some reason I can’t.
]]>