Hi!
Congrats on this great plugin.
I’m using it on a client’s website (Storefront theme) and found a bug in variable products.
When selecting one variation for the first time the total price displayed does not considers the field quantity, only displays the default price without currency symbol. When clicking again on the variation it “refreshes” and now shows the correct amount.
And if then one selects another variation, on the first click it shows the total price of the previous variation selected but taking in consideration the quantity of the new variation selected. When clicking again on the variation it then “refreshes” and show the correct amount.
Would love you help on solving this so I can fully use the plugin and recommend it in the future, besides that I thinks it’s great.
Thanks in advance.
]]>Hi Admin,
Thank you for creating such useful plugin for wordpress! Really appreciated!
However, during our day-to-day operation, it is very common that customer would like to add item to an existing order. We realise that if we add any item an other, all the metadata that used for the Unit plugin will not be added to the item, and hence, it will create confusion in the report.
For example, a tray of frozen meat sell per 0.5kg on the website, which means, unit_qty = 1 but qty = 0.5 if created by the customer facing website. However, when our staff add the same item to the order, unti_qty will be missed, and qty = 1. And hence, the report that our purchasing team will be incorrect.
Is there anyway the unit plugin metadata can be added when amend order manually?
Thanks
Sam
]]>I’d like to be able to enter the products price in admin as the price per KG, display that price in the frontend, but have the price charged as base price x weight – is that possible?
]]>Hi Condless Team,
We enable the manipulation of the display price and setup for 3 unit of weight (£32/kg -> £96)
But when the item is added to the cart, Woocommerce only charge for £32 instead of £96.
I would like the system to charge the customer 96 instead of 32. Is this something this plugin can do? or do I need something else?
Thank you!
Sam
]]>After adding variable product to the cart, the website is unable to display the mini cart correctly. While it is working with any other simple product after installing the plugin “Unit Price for WooCommerce”. Even removing the plugin doesn’t fix the issue.
Steps to reproduce:
Expected:
Actual:
Hi,
I’ve just had the following error notification when doing a refund –
WordPress version 6.5.5
Active theme: CollierCatchpole (version )
Current plugin: Unit Price for WooCommerce (version 1.2.1)
PHP version 8.2.17
Error Details
=============
An error of type E_ERROR was caused in line 776 of the file /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/unit-price-for-woocommerce/unit-price-for-woocommerce.php. Error message: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::is_type() in /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/unit-price-for-woocommerce/unit-price-for-woocommerce.php:776
Stack trace:
#0 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-includes/class-wp-hook.php(326): WC_UPW->wc_add_value_on_order_item_view(NULL, Object(Automattic\WooCommerce\Admin\Overrides\OrderRefund))
#1 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#2 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-refund.php(50): do_action('woocommerce_adm...', NULL, Object(Automattic\WooCommerce\Admin\Overrides\OrderRefund), 987677860)
#4 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php(103): include('/home/virtual/v...')
#5 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php(40): include('/home/virtual/v...')
#6 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-admin/includes/template.php(1456): WC_Meta_Box_Order_Items::output(NULL, Array)
#7 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(501): do_meta_boxes(Object(WP_Screen), 'normal', Object(Automattic\WooCommerce\Admin\Overrides\Order))
#8 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(405): Automattic\WooCommerce\Internal\Admin\Orders\Edit->render_meta_boxes()
#9 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(293): Automattic\WooCommerce\Internal\Admin\Orders\Edit->display()
#10 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->output('')
#11 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#12 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#13 /home/virtual/vps-dc85cb/6/626305443b/public_html/wp-admin/admin.php(259): do_action('woocommerce_pag...')
#14 {main}
? thrown
What could have caused this and how can I resolve it?
All the best,
Peter
]]>Hello,
I just receive a message from WordPress about an E_ERROR type, on line 776 on this following file, could you please help me?
/wp-content/plugins/unit-price-for-woocommerce/unit-price-for-woocommerce.php. Message d’erreur?: Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\OrderRefund::is_type() in /wp-content/plugins/unit-price-for-woocommerce/unit-price-for-woocommerce.php:776
Stack trace:
#0 /wp-includes/class-wp-hook.php(326): WC_UPW->wc_add_value_on_order_item_view()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-refund.php(50): do_action()
#4 /wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php(103): include(‘/homepages/37/d…’)
#5 /wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php(40): include(‘/homepages/37/d…’)
#6 /wp-admin/includes/template.php(1456): WC_Meta_Box_Order_Items::output()
#7 /wp-admin/edit-form-advanced.php(723): do_meta_boxes()
#8 /wp-admin/post.php(206): require(‘/homepages/37/d…’)
#9 {main}
? thrown
Thanks a lot,
Best regards
]]>Hi, I would like advice on how to place the subtotal one line below so that it is below the quantity and not behind the button to place in the cart.
Is it possible to rename Price: 0,12€ to your own text in your plugin? For example Subtotal: 0,12€?
]]>Hello, the plugin works great on the website, but unfortunately it doesn’t work in the shopping cart. For example, it shows me in the basket that I have bought 1.7 products, but when I try to add, it rounds the value to whole numbers. I will ask for advice.
I tried all plugins except woocommerce but it didn’t help.
The first is the code from the product page where the decimal quantity works.
The second code is from the cart and is different, can you advise me why?
Hi,
I’ve just installed and activated the plugin – it’s perfect for what I need but I’m getting a warning that it is incompatible with WooCommerce ‘High-Performance order storage’.
I understand that I can turn that feature off but I’d rather use the latest Woocommerce features where possible and it’s enabled by default.
Is there anything else I can do to run your plugin without the incompatability?
All the best,
Peter
]]>Hello!!!!
I have to say that I love the pluging and it is great for my purposes.
I would like to ask: can the €/kg calculation be done if the original price has a discount? Note: for the discounts I use the pluging: Woo Discount Rules.
as you can see with normal price works prefect: https://snipboard.io/RuLtny.jpg
But when i activate a discount the calculation is wrong: https://snipboard.io/sP5gFG.jpg
Can someone indicates me???
Thx in advance.
]]>Hi,
Thank you for this very practical plugin. I wanted to try it out to simply display some products from my catalog with a price per kilo (instead of a unit price), but it doesn’t work.
On the product page, the unit does not appear next to the price. Nothing has changed, except for a new tab “Additional Information”, which indicates “Weight: 1kg”. On the product listing, it’s the same, there is no change.
Is this normal? (I might try other extensions in the meantime) but I will reactivate it if needed. Thank you for your help.
]]>Great plugin! But is possible to update the product price in cart, when we are in singular product page?
Thanks!
]]>Hi! I think there is some problem with the translation. several strings are missing in the .po file
]]>Hi,
Is it possible to show Price per unit instead of weight?
For example, If I sell a box of 5 t-shirts for 50$ and below I want to show 10$/unit.
Or just a free text I can add instead.
Regards
Hello, I really would like the subtotal to show in archive pages, but it only shows in single product pages. I mean the field is there, but it’s not populated by a value.
As per your documentation it should be possible (“How to?hide the products’ main price?on archive pages (suitable when displaying their subtotal)”), so what am I doing wrong?
Thank you!
]]>In my WooCommerce website, some products have a weight Unit in “Kg”, some others in “Liter”. Is it possible for some product categories to display the price per litre?
]]>Please tell me how to disable attribute validation when adding a product to the cart from the archive page.
In other words, if I have two rows of variations in the product settings (see screenshot), where attributes are selected for the first row and not selected for the second row, then when I try to add such a product to the cart from the archive page, I will be redirected to the product page and will display something like this notification “Variations 2 must be completed”.
It is worth saying that when adding such a product to the cart from the product page, the product is added to the cart without any problems. Whether your plugin is enabled or not.
]]>Hello! Problem displaying suffixes in the mini cart.
Immediately after adding any variable product to the cart, the suffixes of all products in the mini-cart disappear until you open the site in a new browser tab. Even ctrl+f5 doesn’t help.
In the new tab, everything is displayed correctly.
Tell me, please, is this how it should be? Or have I broken something somewhere? Disabled all other plugins, didn’t help.
What functions are responsible for adding suffixes to the mini-cart?
]]>Hello! Help me please.
On the archive pages, if you specify an incorrect value in the quantity input field, then despite the warning, the “add to cart” button still works, adding the last valid value to the cart.
Is it possible to make the “add to cart” button only fire when a valid value is entered?
Hello! Please help me!
The problem is that the products added to the main page of my site using shortcodes are added to the cart only 1 piece. That is, 50 is displayed in the quantity input field, and 1 piece is added to the cart.
Everything works correctly on the archive page and on the category pages.
Tried adding is_home() and is_front_page() everywhere I could, but that didn’t solve the problem.
I will be looking forward to your reply. I’d be glad for even a little hint.
Thank you in advance!
]]>Hello,
I am using unit price for woocommerce plugin to sell wine. It’s perfect, great job!
I display the unit price of the bottles and I sell them in multiples of 6.
The price per multiple of 6 is normally displayed in the shopping cart.
However, if you return to the store and select the same product (therefore sold exclusively in multiples of 6) the plugin adds the unit price of the bottle to the shopping cart.
How to solve this problem ?
I use:
The7 theme + Elementor
Thanks a lot,
Lolo
Hi there,
I use the Unit Price for WooCommerce plugin for my online shop which sells food.
The plugin is used to display product price in kg and that works well! you can see the result bellow: https://lagrandeboucheriedesquais.com/shop/
However, I need to display the product price per kg in the generated invoice.
For the invoices, I use PDF Invoices & Packing Slips for WooCommerce but I only have “classic” products prices.
Do you have any suggestion how to also display the product price per kg in the invoices? An parameter or custom to do in Price per Unit for WooCommerce plugin?
Thanks a lot for your support!
]]>Client is a deli. He sells products in various way:
1.Sells per piece like fried chicken but wants to price per pound.
2.sells deli meat. If customer wants 2 lbs or1/2 lbs of corn beef it may come out 1.2 lb or .48/ lb.
3. He sells “per slice” of a product for say $3.99
Problem: When I set the unit to /slice with no weight the unit /slice shows up in the frontend but a wrong “total” appears under the add to cart button. Right now we have salmon that is sold “/piece” for say $10.00 and gefilte fish “/slice” for $3.99 yet the total $10.00 appears under the gefilte fish???
I deleted the gefilte fish and made a new one. Now $3.99 appears under the total for the Salmon?? This being said, the actual total is correct in the shopping cart.
Is it because I didn’t put a weight for these items in the shipping area?
Please help me??
Hi,
when receiving an order and checking the details on the order details page, I have a PHP error
Fatal error: Uncaught Error: Call to a member function get_meta() on bool
in /wp-content/plugins/unit-price-for-woocommerce/unit-price-for-woocommerce.php on line 789
the line is :
if ( ! wp_doing_ajax() && wc_get_order( $post )->get_meta( ‘_has_unit_items’ ) ) {
I have no idea what’s going on…
Thanks
]]>Hi
Is it possible to just show the Price per kilo
It just a info for my wweb-customers
If so – how to dooooo….
Regards
App Web
Hello,
I would like to know if it’s possible to translate the following term ‘QTY in units’. I have this term on the checkout page, and also on email order. I tried to translate it with Loco Translate, but I couldn’t find it in the files (I have QTY of Units or Units QTY but not QTY in units).
Thanks a lot!
]]>Hello, thank you very much for your plugin which I find very usefull! I have a question regarding inventory/stock management. I sell fabric on my woocommerce, offering customers to choose the desired length. How can I manage the stock of my fabrics on my back office, to avoid selling when I have no more stocks? Thanks for your help !
]]>Hi,
The plugin works fantastic in the web based e-commerce store but functionality isn’t working in the android app (flutter based).
1. It shows the unit price on the product display page
2. But in the cart, the total sum is calculated by per unit price only and not per bag
E.g 1 bag = 50kg
price/kg = 100
Total sum should be 50kg x 100
but on app (in the cart) its calculating as 1kg x 100
Is there any way around this. Thanks in advance.
Cheers,
Praveen
Hello,
I would like to set a minimum quantity on one of my products. It is a fabric. It should be sold from 50 cm, with the possibility for the customer to add quantity every 10 cm (50 ; 60 ; 70…). Is it possible with your plugin ?
Best regards,