Hi,
The Individual Product Price Adjustment does not seem to be working. I’ve enabled it, and I can see the user roles. Applying a dollar amount or a percentage, then checking the Enable box does not affect the product price.
The Price Adjustment: (Discount/Markup) under WooCommerce> Settings> Pricing & Payments does work, but these are across the board for all products. I’d like to be able to apply certain discount percentages to roles directly in a product. But this is not working for some reason.
Could there be a config error somewhere on my part maybe?
Thanks.
Edit: This is the beginning of a rebuild of a production site for a client, so unfortunately I will not be able to share a link. ??
the bulk edit for multiple selected products doesnt show the new added roles pricing (only price and sale price). is there a way to add price for new added roles for several products at one?
]]>Hello,
I’m the developer of https://www.ads-software.com/plugins/tax-switch-for-woocommerce/. One of our users reported a conflict between our plugins that I’ve investigated.
The issue happens when the Tax Switch plugin creates a temporary WooCommerce product object for price calculations:
$calculator = new WC_Product_Simple();
This eventually triggers your <code class=”bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.3rem] px-1 py-px text-[0.9rem]”>elex_rp_get_adjustment_for_individual_products() method in <code class=”bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.3rem] px-1 py-px text-[0.9rem]”>Elex_Price_Discount_Admin. The problem occurs on line 791 where:
$product = wc_get_product($pid);
$product_price_adjustment_users = $product->get_meta('product_price_adjustment_for_users');
For temporary product objects, wc_get_product($pid)
returns false
, causing a PHP error when trying to call get_meta()
on a non-object. Could you add this check before accessing the product’s meta data?
if (!$product || !is_object($product)) { return 'no_amount'; }
This would fix the compatibility issue between our plugins.
Thank you in advance!
]]>The site is currently not visible. I am using the free version. The price change works well depending on the user type. But products with variations in weight/price (and price per kg) are not affected.
Regardless of the user they remain unchanged. How can I fix this problem?
I have not put a link because the site is only visible after approval.
]]>I have a product with a normal price and a user role with a different price, when it is added to the cart, the price of the product is not the one shown in the product but the original price (it should show different prices when having configured different prices in the product by roles)
]]>We have a product that synchronizes data between Business Central and WooCommerce, and we started building integration with your plugin. You can find our product here: https://appsource.microsoft.com/en-us/product/dynamics-365-business-central/PUBID.synfynal%7CAID.woocommerce-connector%7CPAPPID.91445282-543f-41e8-825c-a1186639bb82?exp=ubp8&tab=Overview
To adjust the price for a specific role, we need to target the corresponding metadata key. We want to simplify this process for our users, so my question is: Is there a way to retrieve a list of metadata keys that control the pricing for specific roles in your plugin?
We use the plug-in “ELEX WooCommerce Role Based Pricing” together with the plug-in “YITH WooCommerce Gift Cards” but this is not working. We added a new Gift card product but we can’t put the gift cards in the shopping card because we keep receving te error notice “Sorry, this product cannot be purchased.”. When we disable the plug-in “ELEX WooCommerce Role Based Pricing” we don’t receive the error notice.
]]>I have products with a price of 0, and since I installed the latest update, these products can no longer be added to the cart. I understand that in version 15 you fixed the issue where the “Add to Cart” button wouldn’t appear if there was no price, but I believe that when the price is 0, the price should still be displayed, and the button should only be hidden if the price field is empty.
]]>Products with no price will not display the price and will have a Read More button. After installing the plugin, it displays $0 and Add To Cart button.
]]>Hello there,
we have different separators for our prices. For example, for one thousand EUR we show 1.000,00
But the plugin can only do something with 1000.00
How can you adjust this?
Regards;
Johannes
Hello,
I don’t know why, but all the products I have with a discount no longer show that price and only show the main price.
When I deactivate your plugin, it appears…
I’m using the woodmart theme.
]]>Hello, we are using a plugin that uses page transitions with Ajax (Product Table for WooCommerce by CodeAstrology (WooproductTable). After installing your 1.4.8 update, its stopped showing discounts on ajax page changes. We went back to 1.4.7 and there is no problem.
]]>Noticed with update 1.4.8 product page discounts are no longer working. Reverted to 1.4.7 and all is well.
]]>Hi,
the plugin works perfectly on product page, but on search page I see the old price, without the Markup.
I’m using the latest version of WordPress, WooCommerce and Flatsome theme.
Can you help me? Thanks
]]>Hi. I need to export my products with prices by role. Both with woocommerce export (in csv) and with wp all import, I can’t export the correct price (the price adjusted by the plugin). How can I solve it?
Thanks
]]>Hello,
Is there an option to apply price Adjustments (Discounts & Markups) independently for Regular Price and Sale Price to the same Role? So I want to be able to apply for example 10% discount to the Regular Price and 3% discount to the Sale Price for the same Role. Is this possible with this plugin?
Best,
Marko
I have 2 problems with the calculation of discounts.
I have 2 roles, one with different discounts in all categories and another role with special discount in category Filters. The first one 50% and the second one 55%.
The problem is that the user with both discounts have a price with the 50%, and then applies a 55% discount to the sale price. So a product price 100€ shows 22.5€. when should be 45€. I have changed the radio options in setting when user with multiple users roles assigned but nothing changes.
The other error comes with the same situation of discounts. If I add a discount by user (not role) for this user all discounts assigned to his role disappears, for other categories different to user discount.
I hope you can help me with this. Thank you.
]]>Hello, I’m currently using the free version.
I had to rollback to 1.4.5 because after updating to 1.4.6 recently, the pricing rules in the store (woocommerce archives/categories/attribute pages/search results) were not being applied.
they were only getting applied to single product pages. nowhere else.
in cart and checkout I believe it was ok as well and also after the order was placed.
But not in any product LIST.
I sure hope this will get fixed soon because customers can see default regular prices before their markup rules! this can cause chaos.
Thanks for the plugin, I’m looking forward to the next fixed release (hopefully)
Hi,
I have received this email from WordPress. It seems that the plugin creates a Fatal error on my customer web site. But for the moment the web site is ok. Can you please tell me what can be the problem ?
WordPress version 6.5.5
Active theme: Divi Community Child Theme (version 1.1)
Current extension: ELEX WooCommerce Role-based Pricing Plugin & WooCommerce Catalog Mode (version 2.9.5)
PHP version 8.1.29
Here is the email received :
WordPress has a native feature to detect if a plugin or theme is causing a fatal error on your site, and notifies you with this automatic email. Here, WordPress found an error with one of your plugins, “ELEX WooCommerce Role-based Pricing Plugin & WooCommerce Catalog Mode”. Start by visiting your site (https://cadraven.com/) to check for any visible issues. Next, visit the page where an error was noted (https://cadraven.com/wp-admin/edit.php?s=reassort&post_status=all&post_type=product&action=-1&product_type&stock_status&paged=1&action2=-1) and check for any issues visible. Please contact your hosting provider for assistance in resolving this issue. If your site seems broken or you can’t access your dashboard normally, WordPress now has a “recovery mode”. This allows you to connect securely to your dashboard to find the source of the problem. https://cadraven.com/wp-login.php?action=enter_recovery_mode&rm_token=Fs7W7UXFLIF8rMs4OB4lFV&rm_key=vx5wNl5swCJoXHhb1Yg8XC To keep your site safe, this link will expire in 1 day. Don’t worry though: a new link will be sent to you if the error appears again.
Error details ====================== An error of type E_ERROR was caused in line 1201 of file /home/cadraven/public_html/wp-content/plugins/elex-catmode-rolebased-price/includes/elex-price-discount-admin.php. Error message: Uncaught DivisionByZeroError: Division by zero in /home/cadraven/public_html/wp-content/plugins/elex-catmode-rolebased-price/includes/elex-price-discount-admin.php:1201 Stack trace:
#0 /home/cadraven/public_html/wp-includes/class-wp-hook.php(324): Elex_Price_Discount_Admin->elex_rp_get_price(‘0.00’, Object(WC_Product_Woosb))
#1 /home/cadraven/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘0.00’, Array)
#2 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters(‘woocommerce_pro…’, ‘0.00’, Object(WC_Product_Woosb))
#3 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(280): WC_Data->get_prop(‘regular_price’, ‘view’)
#4 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/admin/list-tables/class-wc-admin-list-table-products.php(184): WC_Product->get_regular_price()
#5 /home/cadraven/public_html/wp-content/plugins/woocommerce/includes/admin/list-tables/abstract-class-wc-admin-list-table.php(261): WC_Admin_List_Table_Products->render_name_column()
#6 /home/cadraven/public_html/wp-includes/class-wp-hook.php(324): WC_Admin_List_Table->render_columns(‘name’, 274041)
#7 /home/cadraven/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#8 /home/cadraven/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#9 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(1398): do_action(‘manage_product_…’, ‘name’, 274041)
#10 /home/cadraven/public_html/wp-admin/includes/class-wp-list-table.php(1796): WP_Posts_List_Table->column_default(Object(WP_Post), ‘name’)
#11 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(1432): WP_List_Table->single_row_columns(Object(WP_Post))
#12 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(834): WP_Posts_List_Table->single_row(Object(WP_Post), 0)
#13 /home/cadraven/public_html/wp-admin/includes/class-wp-posts-list-table.php(810): WP_Posts_List_Table->_display_rows(Array, 0)
#14 /home/cadraven/public_html/wp-admin/includes/class-wp-list-table.php(1706): WP_Posts_List_Table->display_rows()
#15 /home/cadraven/public_html/wp-admin/includes/class-wp-list-table.php(1633): WP_List_Table->display_rows_or_placeholder()
#16 /home/cadraven/public_html/wp-admin/edit.php(503): WP_List_Table->display()
#17 {main}
thrown
I have added role based pricing for this particular product too i.e., “Spirulina: 6”, but it is not visible. Only regular price is visible, member price is not visible! suggest the solution.
]]>Hi, I have a discount by role applied to Administrator, so he can buy products with discount. But in the backend, in the products list in regular price it show the price with discount. But I want to see the real price in this page. How can I do it?
Thank you.
]]>Hello,
woo->advanced->features shows plugin is incompatible with High-Performance Order Storage
? 1 Incompatible plugin detected (ELEX WooCommerce Role-based Pricing Plugin & WooCommerce Catalog Mode).
What can I do?
Regards Chris
]]>I would like to know if this plugin can post different shipping costs to the users I have created within the site. If YES, how can I do it?
]]>For a few days I have been receiving this error, this causes some products to go into hidden visibility.
How to solve? I don’t see any plugin updates available
[29-Mar-2024 13:41:56 UTC] PHP Warning: Undefined array key 0 in public_html/wp-content/plugins/elex-catmode-rolebased-price/includes/elex-price-discount-admin.php on line 138
]]>Hi, guys
I want to add a role in WordPress and then I want to add that role to the Individual Product Adjustment in Role Based Pricing. But I want to do this programmatically either using the API or built-in WordPress functions. Thank You
Hello – we recently updated both this plugin and PHP and we are now seeing this error, multiple times:
PHP message: PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /public/wp-content/plugins/elex-woocommerce-role-based-pricing-plugin-basic/includes/elex-price-discount-admin.php:536
I thought it might be the zero dollar items we had, but after correcting those, this error still appears.
Plugin version is at 1.4.3; PHP is at 8.2; all other plugins are up-to-date. Have already tried deactivating all other plugins, but the issue persists.
]]>Hello!
My website users are having problems with some products. I have found that the problem is in the products where I have used the checkboxes to apply a discount on the price according to the user role.
For example, if I apply a discount to role1 for a specific product, when a user with role1 enters that product, they get a “critical error” message.
How can I fix this? Thanks!
]]>Hi
I’m Using this plugin https://codecanyon.net/item/woocommerce-extra-product-options/7908619
beside your plugin.
but your plugin will overwrite on cart and checkout, how can i have these two features/plugins together?
using Extra option user add some new addons with price, your plugin works well as i dont want too much just custom role based pricing, but i need it with that extra product option price
]]>Hello,
Since the latest update the price is no longer hidden on the catalogue pages for the products i have selected the level?
For example:
In my admin account on this product: https://decaar.co.uk/product/algae-peeling-powder/ I should not be able to add to cart, yet i know. Likewise, i should also not be able to see the price, which i can here: https://decaar.co.uk/shop/
What is happening?
]]>Hello,
after the update from version 1.3.6 to version 1.4, the strike prices (regular price) have been hidden.
After the update to V1.4, the pricing looked like this:
After downgrading to V1.3.6, the pricing looks like this again:
Can you help?
Thank you and best regards
Johannes