Restrict Category Browse

How do we restrict the User to browse category? To browse he/she must be logged in to our site.



For Product view i’ve done the Code hook on Products tpl. But for Category Browse it is not working.



Faster response needed.



Thanks in advance.

Hello Anand,



Thank you for your message.



In this case you should do the following:


  1. In your CS-Cart admin panel, go to Products > Categories.
  2. Click on the name of the necessary category.
  3. Select the Registered check box in the User Groups section.
  4. Click the Save button.
  5. Repeat these steps for all the necessary categories.



    After this is implemented a customer will not see categories in the storefront until he/she logs in. Please check it.



    Thank you.





    Pavel Zyukin

    CS-Cart Support team

[quote name='CS-Cart Support team' timestamp='1352978574' post='149241']

Hello Anand,



Thank you for your message.



In this case you should do the following:


  1. In your CS-Cart admin panel, go to Products > Categories.
  2. Click on the name of the necessary category.
  3. Select the Registered check box in the User Groups section.
  4. Click the Save button.
  5. Repeat these steps for all the necessary categories.



    After this is implemented a customer will not see categories in the storefront until he/she logs in. Please check it.



    Thank you.





    Pavel Zyukin

    CS-Cart Support team

    [/quote]



    Thank you very much for the information. But actually how i want my store to be like:



    I'll be displaying the Parent Categories to Guest users. The other sub categories were non-view-able until he/she logs in. When they are trying to click on the Parent Category, i want them to redirect to Login Page.



    Looking forward your reply.

Hello Anand,


[quote name='curribhoys' timestamp='1352979436' post='149243']

Thank you very much for the information. But actually how i want my store to be like:



I'll be displaying the Parent Categories to Guest users. The other sub categories were non-view-able until he/she logs in. When they are trying to click on the Parent Category, i want them to redirect to Login Page.



Looking forward your reply.

[/quote]



Thank you very much for your clarifications.



In this case some code modifications are required to implement this feature. We would be happy to assist you in this matter within our technical support service. Please contact us via Customer Help Desk if you have support credits or an active support period.



Thank you.





Pavel Zyukin

CS-Cart Support team

[quote name='CS-Cart Support team' timestamp='1352979857' post='149245']

Hello Anand,







Thank you very much for your clarifications.



In this case some code modifications are required to implement this feature. We would be happy to assist you in this matter within our technical support service. Please contact us via Customer Help Desk if you have support credits or an active support period.



Thank you.





Pavel Zyukin

CS-Cart Support team

[/quote]



Thanks for the info. I'll be get back to your team via Help Desk.

Hi,



I got the Coding hook in category restriction. And it works fine.



Thanks for the support anyways.

Hello Anand,



You are welcome.





Pavel Zyukin

CS-Cart Support team