Jump to content

Prices are not visible to customers not registered.


Recommended Posts

Prices are not visible to customers not registered.

 

you can turn PS 1.6.0.14 mode that prices are only visible if customers are registered, otherwise they can see the products of the store, but without being able to see the prices.

 

Thank you so much, for the 'help

Link to comment
Share on other sites

You should use $logged smarty variable.

 

If you want to make price invisible for not logged users, you need to edit two templates: /themes/default-bootstrap/product.tpl and /themes/default-bootstrap/product-list.tpl

 

Find in both templates

itemprop="price"

and add a condition to determine if user is logged.

 

 

Below is an example what to do for product.tpl

- go to line 257 and before

<div class="content_prices clearfix">

add

{if $logged}

- go to the line 315 and after

</div> <!-- end content_prices -->

add

{/if}

Basically, put any content you want to leave enabled for logged users between

{if $logged}
...
{/if}
Edited by electriz (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...