I have created a website with the Theme Flatsome. I have Ecommerece installed and YIth Memberships plugin. These plugins work together enabling me to sell Virtual/Downloadable Products. When you first register to the website you are automatically give a membership subscription which enables you to download 2 files per day. There are 2 more memberships of course allowing you to upgrade. The website is still in huge process. Within the Yith Memberships plugin settings i have an option actiavated which basically says hide price and basket if user can download.
Now it should make the add to cart andprice disapear if user is logged in and had membership active on the account and only show the downloads button. But it doesnt it still shows add to basket and price tag even tho the setting is activated within the plugin so i think there is a code glitch somewhere..
Check the video on youtube to get an idea: [login to view URL]
I also get this php error which is related to this issue: 24-Sep-2018 20:10:38 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/uniquede/public_html/wp-content/plugins/yith-woocommerce-membership-premium/[login to view URL] on line 259
If a user doesnt have a membership it will say add to basket and price tag. Same if a user is logged out which is correct.
If user has a specefic membership it will allow them to visit specefic download categories which is correct.
If a user has a membership it allows them access the the product there viewing which will show a download button which os correct however this only works for the admin and doesnt for a normal user.
For a normal user it will dispay the download button and the add to cart and price. This shoud only show a download button as the user has a membership activated on the account
Within the plugin i have a setting avtivated which hides the price and cart if the product is downloadable and if the user has a membership. This works for admin not the user. The download button shows which is correct.. but the hide price and hide cart setting shoulf work within the plugin for the user not just the admin