Page 1 of 1

Secure a Shopping Cart Widget

PostPosted: September 24th, 2011, 5:51 pm
by jmeyers
Hello
I use WP PayPal Shopping cart that only my paid members have access to. I am able to secure the Shopping Cart page, but the side bar cart widget allows anyone to purchase. All my products are listed with "Add to cart" buttons. I need to be able to keep the free members from being able to click on and add to the cart. (or sidebar widget cart) For the free members they are allowed to view the product page only for pricing, but not to purchase. Each button is coded with the product info then transferred to the cart. Is there any way to disable the button for free members, or the cart itself??

Also, when a non paying member clicks on a link for paid members, can the subscribe page be a popup rather than sending them to the page itself?

I hope all this made sense! Thanks for a GREAT plugin. Everything works as it's suppose to without any major issues. Your instructions and Tutorials are easy to follow and pretty much right on!

Jack Meyers
http://randysrodrack.com

Re: Secure a Shopping Cart Widget

PostPosted: September 25th, 2011, 4:23 pm
by Cristián Lávaque
Thanks for the kudos, Jack!

Well, you can try affecting the way other plugins behave, customizing them with conditionals that check the user's access. http://www.s2member.com/advanced-conditionals-video/

If the plugin uses a capability to decide whether to let the user do something, then you could try editing the capabilities for the user's role.

https://wordpress.org/extend/plugins/user-role-editor/
https://codex.wordpress.org/Roles_and_C ... pabilities

I hope that helps. :)

Re: Secure a Shopping Cart Widget

PostPosted: September 25th, 2011, 6:21 pm
by jmeyers
Thanks Cristian
I was able to find the plugin "Dynamic Widgets" that let's me disable the cart from free subscribers! Really simple to use.
Also, can add a text box in the carts place explaining that they have to signup as a Premium Member to purchase the product at wholesale. This may be a quick fix for now, so will definitely work on customizing the advanced conditionals.

Now am working on the Popup window rather than sending a freebie to the subscribe page. Any ideas?

Thanks again for your help.

Jack

Re: Secure a Shopping Cart Widget

PostPosted: October 1st, 2011, 11:56 am
by sserbanro

Thanks, Christian, it helped me! :)
Now, a technical question:
For a more daring WP Admin, which one of the plugins you recommend
for users or subscribers management --->
1. User Role Editor
http://wordpress.org/extend/plugins/user-role-editor/

2. Advanced Access Manager
http://wordpress.org/extend/plugins/adv ... s-manager/

3. Capability Manager:
http://wordpress.org/extend/plugins/capsman/
* This has a settings backup option!

Re: Secure a Shopping Cart Widget

PostPosted: October 2nd, 2011, 4:04 am
by Cristián Lávaque
Jack, nice find! Definitely simpler than what I suggested. :)

Serban, sorry, I'm not familiar with the other two plugins at all. :|