PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Different prices based on user role

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

After installing and testing WOOT, I can confirm that it is a great plugin. I've just one issue though.

I sell products for wholesalers and retailers, so I have different prices based on user role. In order to get that feature, I use the plugin named "Advanced Dynamic Pricing for WooCommerce", which works well. But I notice that when I log in as a wholesaler to see the products in table format displayed by the plugin WOOT, it's the regular prices that are shown and not the prices intended for wholesalers. But on pages without he table format, the prices are correctly shown.

Is there a way to fix that?

Thanks in advance,

Best regards.

Hello

Please  try  in file - \wp-content\plugins\woot-products-tables\profiles\woocommerce\woocommerce.php  delet this  code - https://c2n.me/4abtEuC.png

And  do a  test

Hi Pablo,

Thank you for your help. In fact, I had to add the two lines of code because they were absent in the file. And instead of the "woot-products-tables" repertory, I have a repertory called "profit-products-table-for-woocommerce". I guess it's the same.

Anyway, I tried your solution and it works. Prices of products are correctly shown but not subtotals: after adding products to cart, subtotals are wrong. (sorry, I took a screenshot but don't know how to attach it here).

 

Hello

which version of the plugin are you using?

Try  in  file \wp-content\plugins\woot-products-tables\profiles\woocommerce\woocommerce-cart.php  change  code - https://c2n.me/4adicFs.png

foreach (WC()->cart->get_cart() as $cart_item_key => $cart_item) {
if ($cart_item['product_id'] == $product_id || ( isset($cart_item["variation_id"]) && $cart_item["variation_id"] == $product_id)) {

return wc_price($cart_item['line_total']);
}
}

 

Hi Pablo,

Thank you so much for taking the time to help!

The version I'm using is 1.0.3.1. I just installed the plugin after searching it from the backend.

So, after adding the new code, it seems all fine now.

Again, thank you!

Have a great day,

Regards.

Hello

Great!  Welcome;)