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

ADAPTION REQUEST: WooCommerce Memberships

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
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.
12

Do I need to make any changes? Or is this just good?

Well, it was closer, some of those items were looking good. But still seems to have a couple of issues.

This product is one of the conflicts.

https://nooksdesign.ca/wp-admin/post.php?post=3716&action=edit

Screenshot attached.

https://www.dropbox.com/s/50u04xw0iekeab2/firefox_00XG1WIgfM.png?dl=0

Confused as to why it works for some but not all?

Hello

Please  clear  a transient - https://c2n.me/45H4fvh.png and  the  cache

Ok will give that a shot. thanks

Hello

Welcome;)

Hey, I just noticed another issue.

We have an order form, and it was showing the incorrect pricing as well.

https://nooksdesign.ca/account/wholesale-order/

WOO Product Table Pro

Are you able to help me with that?

 

Hello

I will  check  it

Hello

Please  do  test

New   code:

In file -"\wp-content\plugins\woocommerce-currency-switcher\classes\woocs_after_33.php"

add - https://c2n.me/45LgpIZ.png

if(function_exists("wc_memberships") AND $this->current_currency != $this->default_currency ){
if ( wc_memberships()->get_member_discounts_instance()->applying_discounts() ) {
if ( !doing_action( 'woocommerce_add_cart_item_data' ) ) {
$prices_array[$key][$product_id] = wc_memberships()->get_member_discounts_instance()->get_discounted_price( $prices_array[$key][$product_id], wc_get_product($product_id) );
}
}
}

AND - https://c2n.me/45Lgx3X.png

if(function_exists("wc_memberships") AND $product !== NULL AND $this->current_currency != $this->default_currency){
if ( wc_memberships()->get_member_discounts_instance()->applying_discounts() ) {
if ( doing_action( 'woocommerce_add_cart_item_data' ) ) {
$price = wc_memberships()->get_member_discounts_instance()->get_discounted_price( $price,$product );
}
}
}

Hey thanks for taking a look.

I have done some more testing and it seems not fixed at all. It seems more glitchy now. I have attached screenshots.

Please note, I have cleared cache, transients as well.

https://www.dropbox.com/s/r3lxutfs446yzn1/brave_3rtZwmloJ2.png?dl=0
https://www.dropbox.com/s/bjan4z1ylr1uuh2/brave_DS2eF6Kswr.png?dl=0

Hello

In this  case  please  use   this  version  of  the  code - https://c2n.me/45LRXxV.png

And do not use this plugin - WOO Product Table Pro

12