Jump to content

Problem of 404 page at disabled products


servetsarap

Recommended Posts

Hello,

 

When I disable a product and choose 404 redirect for that product, it only shows a white page. Example: http://cosmedrome.com/tr/16841-eva-lola-dress-powder-pink-9707-2.html (the product is currently disabled)

Similarly, when a user try to view a disabled category it shows a white screen, too. Example: http://cosmedrome.com/tr/1204-elektronik (the category is currently disabled)

How can I correct it? 

Regards,

Link to comment
Share on other sites

I'm not good at coding so I didn't edit these files but I'm not sure if a module can create an override.

 

301 and 302 redirects are working but not 404 :(

 

I'm not sure if I have done it right but I have checked the public html/override/controllers/front and there is no override file named ProductController.php.. There is only CMScontroller.php file

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...