- This topic has 3 replies, 3 voices, and was last updated 12 years, 10 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Full store page but restricting Add To Cart functionality to members only
Tagged: add to card, estore, members only, restriction
Hi there,
I would like to present my full store page with ‘add to cart’ buttons and shopping cart widget however, I would like to restrict users from buying anything until they have registered. Is there a way I can restrict this process without needing to hide anything on my page?
ie. user clicks ‘add to cart’ then is presented with a page such as ‘please login or register to purchase product’
Here is my store.. http://www.h-productions.se/hybrid/store
Thanks!
Hi,
You can use the “Button Redirect Target URL” in your product’s settings to specify the URL of a protected page.
In addition to Peter’s suggestion… If you are using eStore and eMember together then simply check the “Only Logged In Members Can Checkout” field from the following section:
WP eStore Settings -> AddOn Settings -> WP eMember plugin specific settings
This will make it to where a user can browse around your product pages and add items to the cart but before they can checkout they will have to log in as a member or register a free account.
There is also the following option if you are using eStore and eMember together.
Use the following shortcode to place your fancy displays and it will make sure that only members can use the button:
[wp_eStore_fancy_display id=1 type=1 style=1 restriction=1]
The restriction=1
parameter will tell it to restrict the button for members only. Check the extra eStore shortcode plugin for full details of this shortcode:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460