PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Secure a Shopping Cart Widget

s2Member Plugin. A Membership plugin for WordPress®.

Secure a Shopping Cart Widget

Postby jmeyers » September 24th, 2011, 5:51 pm

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
User avatar
jmeyers
Registered User
Registered User
 
Posts: 10
Joined: September 24, 2011

Re: Secure a Shopping Cart Widget

Postby Cristián Lávaque » September 25th, 2011, 4:23 pm

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. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Secure a Shopping Cart Widget

Postby jmeyers » September 25th, 2011, 6:21 pm

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
User avatar
jmeyers
Registered User
Registered User
 
Posts: 10
Joined: September 24, 2011

Re: Secure a Shopping Cart Widget

Postby sserbanro » October 1st, 2011, 11:56 am


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!
Best regards,
Serban Stanescu
User avatar
sserbanro
Registered User
Registered User
 
Posts: 10
Joined: September 22, 2011
Location: Thessaloniki, Greece

Re: Secure a Shopping Cart Widget

Postby Cristián Lávaque » October 2nd, 2011, 4:04 am

Jack, nice find! Definitely simpler than what I suggested. :)

Serban, sorry, I'm not familiar with the other two plugins at all. :|
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 3 guests

cron