I am facing a strange issue. When the plugin is enabled, and I edit a category, the name of the category, changes to Wholesaler-Wholesaler Role. The I have to deactivate the plugin, rename the category and reactivate the plugin. The screenshot is at: https://www.dropbox.com/scl/fi/iwfcj5ej6a4jt7fztwo4e/Screenshot-from-2024-10-05-12-00-00.png?rlkey=2s6rigpt9hnvmqjseqtm0vcco&st=fu2dxurz&dl=0
Please help resolve it ASAP
]]>I am using the Lite version. How do I show the wholesale registration form on the default Login page.
And is it possible to add a field for Company Registration Number on the form.
]]>hello im building an eshop and the clients aka users will be synced via our erp
i was wondering:
can you give me a detailed example in order to give it to tecnician that are building via rest api the bridge with erp in order to know if this plugin (pro version) is compatible
thanks in advance
]]>Hi Team,
Can you please advise how can i edit 3 words:
Registration, Customer billing address and Register (submit button)
link
Thanks and regards.
]]>When you log in as wholesale customer, if we use the WoodMart theme and we add a Cart Sidebar widget in the header, then the price displayed is the retail price (instead of the wholesale price).
Can you please fix this? Thanks
]]>We upgraded the Webserver from PHP 7.4 to PHP 8.3 this week and the following error was created:
2024-05-09T08:58:43+00:00 Critical Uncaught TypeError: stripslashes(): Argument #1 ($string) must be of type string, array given in /var/www/clients/client1/web1/web/prod/wp-content/plugins/woocommerce-wholesale-pricing/inc/class-wwp-wholesale-frontend.php:44
Additional context
{
"error": {
"type": 1,
"file": "\/var\/www\/clients\/client1\/web1\/web\/prod\/wp-content\/plugins\/woocommerce-wholesale-pricing\/inc\/class-wwp-wholesale-frontend.php",
"line": 44
},
"backtrace": [
"",
"#0 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-content\/plugins\/woocommerce-wholesale-pricing\/inc\/class-wwp-wholesale-frontend.php(44): stripslashes()",
"#1 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/class-wp-hook.php(324): Wwp_Wholesale_Pricing_Frontend->wwp_after_checkout_validation()",
"#2 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#3 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/plugin.php(517): WP_Hook->do_action()",
"#4 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-content\/plugins\/woocommerce\/includes\/class-wc-checkout.php(961): do_action()",
"#5 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-content\/plugins\/woocommerce\/includes\/class-wc-checkout.php(1257): WC_Checkout->validate_checkout()",
"#6 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-content\/plugins\/woocommerce\/includes\/class-wc-ajax.php(520): WC_Checkout->process_checkout()",
"#7 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/class-wp-hook.php(324): WC_AJAX::checkout()",
"#8 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#9 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/plugin.php(517): WP_Hook->do_action()",
"#10 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-content\/plugins\/woocommerce\/includes\/class-wc-ajax.php(96): do_action()",
"#11 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/class-wp-hook.php(324): WC_AJAX::do_wc_ajax()",
"#12 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters()",
"#13 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/plugin.php(517): WP_Hook->do_action()",
"#14 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-includes\/template-loader.php(13): do_action()",
"#15 \/var\/www\/clients\/client1\/web1\/web\/prod\/wp-blog-header.php(19): require_once('...')",
"#16 \/var\/www\/clients\/client1\/web1\/web\/index.php(17): require('...')",
"#17 {main}",
"thrown"
]
}
Disabling the plugin removed the error.
We reenabled the plugin and went back to PHP 8.0, the error still existed. Going back to PHP 7.4 fixes the problem.
This is a security issue and needs resolving.
Hi it seems you are reading an array as though it was an object on
Version 2.3.1: inc/class-wwp-wholesale-general-functions.php?on line?197
This could cause a Fatal Error if not properly checked.
Hi,
I used your pro version two years ago. And I am wondering if your current version the feature
Email notifications to the admin and user after the approval/rejection of registration request; is updated?
meaning is it possible to send email notifications for approval/rejection request to some other email address rather than being forced to send ONLY to main administrator email address? if there are 3 administrators, are these notifications being sent to all of them?
Thank you
]]>Hello, after the last update, when someone change a product category, then the last pr;oduct category change name to wholesaler – Wholesale …. and you can not change it again. When you deactivate your plugin the changes are available again.
]]>I have been using the plugin for some time and now with the new updates, the front of the shopping cart only appears for users who are logged in to the store.
How can I remove this configuration? And leave it to anonymous users?
I have few products for wholesale, the rest of the store is retail.
]]>If a user tries to checkout without an account the new version of the plugin breaks shipping quotes, say nothing is available for the address. The shipping conditions should only apply to logged in users with the role.
]]>We are not getting an email notification that someone signed up for a wholesale account. We got an email that someone “subscribed”, bot nothing about “wholesale account”.
The user is registered as a “customer”.
How do we tell when a person signs up for a wholesale account?
]]>I wanna get the pro version, I wonder whether the the tiered price table only showed when wholesale customer login? Because I want to show normal tired price table to normal user.
]]>Update versión DataTables 1.12.0 to 1.13.6
]]>Hello
Can you add Google Recaptcha to the registration page?
is there any code snippet that checks if a product is enabled for wholesale customers?
for example i found this code shows if the current user is a wholesale user
wp_get_current_user()->roles[0] == 'wwp_wholesaler'?
is there anything like that but for a product?
]]>Hello Support, hopefully I can find some help with following issue:
We have installed woocommerce based on Theme Easy Store. After configuration we have installed the plugin Wholesale For WooCommerce Lite – B2B & B2C Solution. A very smart little Plugin (except of the case in settings-general check for Disable Auto Approval will lead that you never will get knowledge when a customer requests wholesale upgrade in Frontend) which fullfills all our needs for starting our business.
One litte issue we have to solve is the warning message after clicking any kind of categorie in our shop.
I have disabled one Plugin after another, until the Wholesale was detected as cause of the issue.
The shown error:
Warning: Trying to access array offset on value of type bool in /homepages/43/d4297253095/htdocs/wordpress/wp-content/themes/easy-store/inc/es-breadcrumbs.php on line 1041
PHP line 1041&1042 shows:
if ( $slug === $type->has_archive || ( true === $type->has_archive && $slug === $type->rewrite[‘slug’] ) )
$return[] = $type;
Does anyone have an idea how to fix this error-message?
Thanks for responding!
Johannes
]]>Hi,
WE are about to use this plugin and everything looks fine until we get to our composite products. we ran a test on one of the parts but it still show the normal price but shows the right price when moved into the cart/basket page.
Thanks in advance
]]>Hi,
If the product has a sale price and there is a global discount set in the settings the Wholesale Price global discount is using the Regular price instead of the Sale Price.
Can this be changed or add this feature so the Wholesale price is counted from the actual B2C price?
Thanks,
Peter.
I have a custom field (ABN) in my registration form for wholesale customer (Wholesale plugin – Wpexperts) https://amocanailsbeautysupply.com.au/wholesale-login/
To prevent duplicate ABN, (no customers should register the same ABN number in the database) there is control but if I have a custom field I created how can I check it? many thanks
add_filter( 'wpwholesale_registration_errors', 'validate_unique_abn', 10, 2 );
function validate_unique_abn( $errors, $sanitized_user_login ) {
if ( isset( $_POST['abn'] ) && ! empty( $_POST['abn'] ) ) {
$abn = sanitize_text_field( $_POST['abn'] );
$existing_user = get_users( array(
'meta_key' => 'abn',
'meta_value' => $abn,
'fields' => 'ID',
) );
if ( ! empty( $existing_user ) ) {
$errors->add( 'abn_error', __( 'This ABN is already registered. Please enter a unique ABN.', 'wpwholesale' ) );
}
}
return $errors;
}
I am having issues finding how to implement features in the latest Pro Version. Specifically, items under the heading “Private Store for Wholesale Customers”. How to have a separate page for Wholesale items that are visible to the Wholesale user role. And also hide products and/or catagories that do not have any wholesale pricing.
I saw in the documentation, a section called “Wholesaler Option” wherein a wholesaler can “View only Wholesaler Products:
Controlling who can see which products in your store is really important once you start selling products wholesale. If this option is checked from backend only wholesaler can view wholesale priced products.”
The problem is, this option is nowhere to be found in the Pro Version of the plugin. Can anyone help explain this?
]]>Hi
When I enter the wholesale pricing of a product – and I go to Products > Export
I get the wholesale pricing column with the amount added in.
However if I update the pricing of the .csv or add in wholesale pricing to other products via the .csv and import back into WooCommerce, the pricing isn’t updated or added.
Possible bug?
Please advise.
]]>Hi,
When I activate ‘Wholesale For WooCommerce Lite – B2B & B2C Solution’ plugin it shows this message >> Parse error: syntax error, unexpected ‘)’ in /home/admin/web/is360milletmart.com/public_html/wp-content/plugins/woo-wholesale-pricing/inc/class-wwp-wholesale-requests.php on line 74
Please help me to activate this plugin. It’s urgent.
Thank you in advance
]]>I’ve had this plugin installed for years now, but something has recently changed in the mix. I noticed a few days ago that I was getting server connection errors and extremely long load times. I thought there was a hosting problem.
Tonight, I went through the typical troubleshooting with plugins, deactivating all and then reactivating them one by one. Everything remains fine until I reactivate this one, and then the site grinds to a standstill.
Ultimately, all my wholesale customers preferred to continue just ordering from a list vs. my e-commerce platform, so I’m able to just leave this offline for now. Still, I am happy to help troubleshoot, if desired.
]]>Greetings,
I am getting the following error while activating the plugin.
Parse error: syntax error, unexpected ')' in *******/wp-content/plugins/woo-wholesale-pricing/inc/class-wwp-wholesale-requests.php on line 74
I have WordPress 5.9 with WooCommerce 6.1.1
]]>hi, is it possible to add wholesale price to products in bulk in the free version?
]]>The Wholesale Registration Form Size not 100%, And Another issue, I want ro Rename ‘Wholesale’ to “Merchant” How can do that?
]]>Hi
On my site I have a custom login for wholesalers where I only sell certain products to wholesalers – so not to the consumer.
Aka there is no retail price only wholesale.
How can I remove the retail price and only display the wholesale price.
What is happening is if a product does not have a set retail price then on the product page it does not show the wholesale price – so user cannot add to cart.
Is there not a way to only use the wholesale price. Alternatively is there not a snippet to set the default retail price for wholesale products?
Thanks
]]>Is there a way to do minimum order by price as opposed to the amount of items? In other words, can a wholesaler purchase however many items (of any kind), as long as they spend a certain amount of money or more to qualify for a discount?
Is this something the pro version of the plugin can handle?
]]>Hi, is it possible to only show one of the two prices? Ie Retail by default, then once logged in as wholesale, only show the wholesale price?
Thanks a lot