Reputation:
How can I create 404 page in SuiteCommerce?
I want to create 404 page template and routing regular expressions.
Upvotes: 1
Views: 406
Reputation: 1
He asked about SuiteCommerce not SiteBuilder. In SuiteCommerce, you just need to override the template error_management_page_not_found.tpl (included ErrorManagement.PageNotFound.View) which is called by the ErrorManagement module.
As for the regular expressions you want to display, can you describe how should it work? Currently it's controled from the ErrorManagement.js in the method called control_valid_navigation, and this is triggered in
jQuery(window).on('hashchange', control_valid_navigation);
application.once('afterStart', control_valid_navigation);
I hope that answers your question or gives you a clue from where to start.
Upvotes: 0
Reputation: 932
Follow these steps to create a custom 404 page:
Documents > Files > File Cabinet
Files > Live Hosting Files > Site
Setup > Site Builder > Domains
Upvotes: 2