Jump to content

Need Website to have pop up to register clients in the first page.


Recommended Posts

Hi, I need some help.

The client im setting up this website for doesn't want anybody browsing his products before they create an account or log-in.

Im not sure how i could make this happen and would appreciate any ideas or advice.

Thanks in advance

Sara

Link to comment
Share on other sites

The following code will hide all block where you see price, attributes, add to cart button and other things.

 

Open product.tpl and in line 225 found this code:

 

{if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)}

 

Now put this one:

 

{if ($product->show_price AND !isset($restricted_country_mode) AND ($cookie->isLogged() === true)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)}

 

As you can see just handle to hide or to show content with ($cookie->isLogged() === true) .

 

Do that in any place you want to hide or show content to users depended if they are logged or not ;)

Link to comment
Share on other sites

  • 2 weeks later...

We looked at this some time ago for our own customers...the problem is there are over 30 some changes required to affect a registered or authorized (logged in) shopping only experience. While we don't disagree with people suggesting changes...we think our 'PrestaShop' catalog mode by session is a much better option.

 

Check out our Private Shop modules here...and we have the lowest prices on the planet. Your site will be presented in PrestaShop catalog mode. If you go with the registerd only module..then only those that register and are signed in can see your prices etc...if you require approval of anyone shopping on your site..then out Authorized only module requires that new accounts be approved before than can sign in and shop on your site.

Edited by elpatron (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...