Code

Discussion on WooCommerce Wholesale Pricing

Discussion on WooCommerce Wholesale Pricing

Cart 1,985 sales

code_den supports this item

Supported

693 comments found.

Having the same issue with Wholesale prices. Just bought & installed this, but the discounted price doesn’t work with any users that are set up under the role of ‘Wholesale Customer’. If I change all the settings to Admin, the discounted prices work just fine.

Hi,

The latest update should now resolve this issue.

Danyo

Hi, I installed plugin. I’m using variable product but is not work plugin. Not show price for wholesale user role. Please can you help me immedietly.

Woocommerce Version: 2.0.20

Hi,

The latest update should now resolve this issue.

Danyo

Hi Ive activated the plugin and checked the settings and put the trade price in on the products but when i login as a trade customer it doesn’t show the new price….. please help……

Hi,

The latest update should now resolve this issue.

Danyo

Have made the upgrade however I can only view the wholesale prices when logged in as administrator. Have change user roles to no avail… Please help. Had this plugin installed for sometime now without ever working properly. Thanks.

Hi,

The latest update should now resolve this issue.

Danyo

Wow, bugs galore. Got around the php warning for the woocommerce_variable_price_html() hook. Still no prices being shown to Wholesale Customer role.

Then found this, in the admin form section, line 65 of v1.6:

 $rolelc = str_replace(' ', '_', $role);
            $rolelc = strtolower($role); ?>

What’s wrong here… ah yes, both lines refer to the $role variable, so the 2nd overwrites the first. Think you meant:

 $rolelc = str_replace(' ', '_', $role);
            $rolelc = strtolower($rolelc); ?>

I appreciate this is a bargain basement plugin, so I was prepared to get my hands dirty to get it working, but since I’m offering you fixes for what are obvious bugs in your code, perhaps you can offer me a refund? What price a few less angry customers?

I’m also concerned that the add_role() code is called everytime the plugin is called, which means another duplicate write to the database. The codex docs for this call explicitly state:

NB: This setting is saved to the database (in table wp_options, field wp_user_roles), so it might be better to run this on theme/plugin activation

Fancy wrapping it in the relevant hook, to clean this up?

Above bug in the admin form means that if the selected wholesale role has a space in it (like ‘Wholesale Customer’) then they will never see the wholesale price. Single word roles like “Administrator” are unaffected. @tuffmutts, @bmxdirect, this explains the behaviour you have seen.

A new update is being approved to fix this.

Danyo

Hi – variable pricing still not working for me. With latest updates it displays the discounted price but not the original price. For simple products it displays both original and discounted price (what I want for variable products too). thanks

Hi,

The latest update should now resolve this issue.

Danyo

No – this is still not working. Exactly the same with latest update, works for simple products but not for variable products – it only displays either the discounted or original price according to whether you are logged in or not.

Just upgraded and am getting this error: Warning: Missing argument 2 for wwp_get_wholesale_price() in /home/content///html/vdawp/wp-content/plugins/woo-wholesale-pricing/index.php on line 372

I fixed it.

Hello Danyo, I have exactly the same issue described here:

Missing argument 2 for wwp_get_wholesale_price()

How can we quickly resolve that? Thanks

Hi,

If you are comfortable editing code then you will need to locate the function wwp_get_wholesale_price(). In the function there are 2 variables $price and $product. It will look like this: wwp_get_wholesale_price($price,$product). You will need to remove the $product in order to resolve this.

I currently have an update pending to solve this issue.

Thanks, Danyo

Ok thank you so much, i have follow your advise and updated the line in question.

The latest release has also just been approved, so you can download this now.

Thanks, Danyo

are you able to add multiple wholesale accounts? I have a different pricing for a couple different wholesalers.

Hi,

Not currently but this will be added in a future release.

Danyo

I’m considering buying this plugin.

We don’t want to show wholesale prices but do want to see reports showing the sales – wholesale cost and shipping to see real profit.

Is the reporting feature implemented yet?

Nm I found Woo have a reporting only plugin.

Well, I’m going to take a leap and buy it. Hopefully it works _ Currently Running Wordpress 3.8.1 and WooCommerce 2.0.18. Will soon be updating to WooComm 2.1 but only when my theme has been updated! Wish me luck.

Hey,

I sent a private message VIA this last night mate. You already have my email. I’m not listing it here. You could have also sent me a message via this rather than wait 10 hours for me to give information that i’ve already provided.

Messaging you again.

I receive hundreds of emails a day, how do i know which one is yours if i dont know your name or email? Please provide me with your email address.

Danyo

I have sent another message, with my username in it and my email. I am not posting my email on this public message board. Please, have a look, and help me out. It’s not that difficult to do a name search on your email client buddy.

Hi Danyo -I just updated to version 1.6 and I’m having the exact same issue as Glenn. I’ll email you my login info. – Marie

Hi Marie,

I have logged into you site and resolved this for you :)

Thanks, Danyo

Thank you so much! The error is fixed beautifully. I hate to say it, but the problem with the ‘variable pricing’ still exists. When I select it, I get no options to enter pricing, nor a wholesale pricing option.

Hi,

The latest update should now resolve this issue.

Danyo

I just updated to 1.6 and all of my products are now showing an error message for price. This happens on the category and shop pages as well as the Featured Product slider on the front page!!!

Warning: Missing argument 2 for wwp_get_wholesale_price() in /home4/glennj/public_html/wp-content/plugins/codecanyon-5325378-woocommerce-wholesale-prices/index.php on line 377

Please help…Glenn

Hi Glenn,

Got your email. Cant seem to access the site with those creds?

Thanks, Danyo

Thanks for the help and the site is working now.

No problem Glenn, happy to help! Please feel free to leave a rating :)

Thanks, Danyo

Is the demo site updated? I don’t seem to see the difference between 1 pc or 50 pcs. And I can’t test it with the minimum quantity.

Will the per product minimum quantity include Variations? For expample, I have a var1 that needs 10pcs Minimum order the var2 that needs 20pcs Min. Is that supported?

I would love to purchase this but most people are having problems off the bat and they need to give access to the author to get it fixed. Is this the norm for this?

Thanks Danyo, so far so good!

Great! let me know if you have any other problems :)

Please be sure to leave a review.

Thanks, Danyo

I just update the 1.6 version but the variation problem still occur. It keeps dissapearing for no reason.

Also, it would be nice if we can bulk edit the wholesale price for variation product.

Hi,

Can you please send em an email with your admin login details pelase and i will take a look.

As for bulk price edit you will need this plugin: http://codecanyon.net/item/woocommerce-bulk-price-edit/6258992

Danyo

Yes, I had sent email to you. Please have a check? Thanks

Hi,

The latest update should now resolve this issue.

Danyo

Can you confirm this plugin 1) Works on latest WP and 2.0.1 of Woocommerce and 2.0.2 of Woocomm (waiting on theme update before I update woocomm) 2) Works with Variable Products Thanks

Hi,

An update is just waiting to get approved. This has been fully tested with the latest wordpress and woocommerce. Yes it works with variable products :)

I hope this helps?

Danyo

Hi, I just updated to 1.5 and I’m having the same problem as glenncjohnson above. All the prices for variations have disappeared from the front end. If I deactivate the plugin, they come back. Currently running WP 3.8.1 and WC 2.1.2

Hi,

1.6 is just getting verified by codecanyon, this solves all of the issues.

Thanks, Danyo

Thanks for the update. It solved those problems but brought up a few more minor ones. I sent you an email with detailed explanations and login credentials.

Hi,

OK i will take a look at you email :)

Thanks, Danyo

Hi

I never got a reply here or to my support ticket i sent on the 30/01/14 so i will try again. I have the latest version of the plugin installed, latest woocommerce and 3.8.1 of Wordpress. When i deactivate your plugin i have prices on both front and back end, activate your plugin and prices disappear from front end, also from quick edit screen? If i log in as a wholesale customer i get a price that says from £’s and no add to cart or variable options. Is this something you’re aware of and in the process of fixing?

Thanks

Hi,

Sorry for the delay, a new version is currently getting approved.

This should fix all outstanding issues.

Thanks, Danyo

I just installed the latest verion 1.5 of the plugin and now it doesn’t show prices for variable products on the Shop or Category pages. If I remove the plugin, all the prices show properly. Any suggestions on how to correct this? Do you have a patch coming out soon? https://autobegreen.com

Thanks…Glenn

Hi,

The latest update now rectifies this issue.

Thanks, Danyo

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey