bob11 Posted July 25, 2011 Share Posted July 25, 2011 My client is wanting to run a site which can sell small consumable items e.g. lights and also wants to offer more complicated items that may require a consultant to help plan the implementation. But all the components for these implementations should be available with their specifications but no prices. I see this post about price on applicaiton that may help with our situation but what I would like is the following: Multiple categories with "Trade" and "consumer" items separated. Consumer category works as per the normal shop. The trade category does not display prices but displays all other information. When user registers, logs in and is in the trade group they can see price information. Client may not need the trade stuff to sell through the site at all as it will require some consultancy services to implement them. Any ideas if Prestashop can do this for me and how I can configure it if it can? TIA Link to comment Share on other sites More sharing options...
tomerg3 Posted July 25, 2011 Share Posted July 25, 2011 PS cannot do this by default, you will have to customize it. You can edit the product / product-list tpl files and add two conditions around the prices, one to check if the current category is "Trade" (you will need to have the category ID) and another to see if a customer is not logged. it would look like (assuming the category ID is 22, and is assigned to a variable) {if !$cookie->isLogged() && $category_id != 22} price code... {/if} Link to comment Share on other sites More sharing options...
bob11 Posted July 25, 2011 Author Share Posted July 25, 2011 PS cannot do this by default, you will have to customize it. You can edit the product / product-list tpl files and add two conditions around the prices, one to check if the current category is "Trade" (you will need to have the category ID) and another to see if a customer is not logged. it would look like (assuming the category ID is 22, and is assigned to a variable) {if !$cookie->isLogged() && $category_id != 22} price code... {/if} Thanks for the info. Figured I may need to do a wee hack. Ok I get the category thing but I did not explain something clearly. I was hoping the price would display if they were in the trade category but also they would be in a group called trade for example. So they would register as a normal user. Contact the client and be put in the trade group and see the prices from then on. How would I reference the shoppers groups? thanks again. Link to comment Share on other sites More sharing options...
bob11 Posted July 31, 2011 Author Share Posted July 31, 2011 Was wondering if anyone had any input on being able to identify the customer group? I see that the multishop functionality is on its way and this may be another way of doing it but I would hope to be able to have this all under one brand if possible. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now