Post by letxob » Tue Aug 15, 2017 11:41 pm

Default the 404 page is rather empty.
If you add a "not found" layout you can add modules to it.

1) add a new layout and call it "not found" or whatever you like
2) set the route to error/not_found
3) add your modules

now you can tease the customers in (hopefully) not leaving so fast.

Newbie

Posts

Joined
Sun Jul 02, 2017 4:36 am

Post by cyclops12 » Wed Aug 16, 2017 1:44 am

Good idea, i like it 8)

Expert Member
Online

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by IP_CAM » Wed Aug 16, 2017 10:42 am

But why create a Custom Module ? Additional PHP/HTML Code could easy
be 'implanted' into the Theme Error File directly, to avoid additional work.
Just an idea... ;)
Ernie

I don't use Forum Mail, to reach me, contact: jti@jacob.ch
-
Server Q & A Basic Information on Code + Settings
http://www.everyauction.info/serverinfo.html
Demoversion OpenCart LIGHT v.1.5.6.5
http://www.jti.li/shop/
1'400+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by letxobnav » Fri Aug 18, 2017 4:45 pm

I wasn't suggesting to create custom modules, just the ability to add your existing modules to the 404 layout.
Back in the day (oscommerce) I used the 404 page to suggest similar products to the one they were looking for.

so simple, add your current modules as is or write specific modules for the purpose.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Active Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by WaxedPerfection » Fri Aug 18, 2017 5:11 pm

Thank you so simple and has a great effect on the page rather than the dull "The page you requested cannot be found!
The page you requested cannot be found."

keep coming with the nice little tweaks.

WP

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm
Who is online

Users browsing this forum: No registered users and 38 guests