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

When a customer has a membership that has a discount in their membership (15% off all products if a member). The front end displays the discount to ALL visitors, (members or not). This is a big issue that arises.

What other information do you require?

Hello

Please  drop  me  wp-admin+FTP access - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png

I will add the plugin to the adaptation queue

Hello,

I have updated the private data for admin access. Are you able to keep me updated as to where you are at in the process and how long it might take for a 'fix'?

 

Thanks!

 

Hello

Please  add FTP access.

 

 

I have added the FTP

Hello

Ok! I added this plugin to the adaptation queue

Ok thank you.

Any word on timeline of when it will get looked at?

 

Hello

I think in two weeks

Hello

Please  activate  WOOCS  and  do  test.

Hello,

I have tried this, and now it just turns all the prices to ZERO (0.00). I feel like we've gone worse on this now.

Hello

I checked it! Everything works correctly - https://c2n.me/45vCs4M

Hello Pablo, sorry for my late response. It does not work correctly. This is a screenshot of the different effects.

Please review.

Hello

Please  drop me  screenshots/video  with  the  issue

Hey Pablo,

You can see in the screenshot that is there. Does it not show for you?

Hello

https://c2n.me/45CxFLf.png - Unfortunately I do not see your screenshot

Does this link work for you?

https://www.dropbox.com/s/lu4a3m5z5zcyezr/2DRRpeOQ.png?dl=0

Hello

Yes!  Ok, I got  it!  I will  fix  it

Hello

Please  do  test!

So far so good, will keep an eye on it in case of anything else that arises. Thank you!

Hello

Ok!  Welcome;)

New code:

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

add - https://c2n.me/45EfDZe.png
if(function_exists("wc_memberships") ){
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/45EfMB6.png

if(function_exists("wc_memberships") AND $product !== NULL ){
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 );
}
}
}

12