Jump to content

How to block access to supplier pages


Recommended Posts

  • 4 months later...

Disabling the suppliers block in the BO does not remove it from the sitemap, nor does disabling all suppliers, there still is an empty suppliers page, accessible to customers.

 

You could redirect your suppliers page to the manufacturers page, and / or remove it from the sitemap.tpl of your theme.

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

  • 2 months later...

I am trying to give one customer group access to suppliers, but not visitors and other groups. For each customer group I can authorize modules from the (admin) group edit page. If "Suppliers block" is set to "NO", visitors and other groups are still authorized to see suppliers page (/supplier) and the site map suppliers link. The logic of restricting some customer groups from seeing suppliers should apply to these places as well. How can one do a if-test to see if the person is authorized for "Suppliers block" (in e.g. theme sitemap.tpl, supplier-list.tpl, supplier.tpl )

Link to comment
Share on other sites

×
×
  • Create New...