Post by rikmg67 » Thu Mar 21, 2013 12:48 am

Hi, I wonder if anyone can help??

I need to be able to force all categories on my opencart site to login but just one that is open to everyone!

Is this possible?

I have a vqmod that restricts them all, but I just need to be able to allow one through.

Hope someone can help!!

Thanks,

Newbie

Posts

Joined
Thu Nov 29, 2012 12:44 am

Post by nukesolutions » Thu Mar 21, 2013 2:41 am

A quick and dirty way is to manualy add an if statement in the category controller so that...

if($category_id!='5')
redirect to login

or something like that :)

For all your opencart needs WE are here... http://www.NukeSolutions.com
For commercial support email: info[at]nukesolutions.com


Newbie

Posts

Joined
Mon Mar 18, 2013 4:59 am
Location - Greece
Who is online

Users browsing this forum: No registered users and 101 guests