I need a way that products should be visible for only logged in customers Someone said me that I should use catalog_product_collection_load_before Event How can I use it?


To achieve this functionality you can use some free extension ( you will find some on google ) or you can implement a check on your catalog listing page :

Extension :


if you want to apply custom code you can apply below code in following file ( top ):

1) app\design\frontend\rwd\default\template\catalog\product\list.phtml

2) app\design\frontend\rwd\default\template\catalog\product\view.phtml

Code :


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.