Coder Social home page Coder Social logo

404 page about vue-storefront HOT 4 CLOSED

vuestorefront avatar vuestorefront commented on June 16, 2024
404 page

from vue-storefront.

Comments (4)

filrak avatar filrak commented on June 16, 2024

In case when URL does not match category name i added if (self.category === undefined) { console.error('Category not found!') self.$router.push('/') }

We can also make a global handler in some store to do the same.
For the case when no products in category are found but the category is valid i think "No product's found' message would be best approach.

from vue-storefront.

pkarw avatar pkarw commented on June 16, 2024

OK, so it's not bat but would be rather better to add real 404 - as we're doing SSR (Server Side Rendering) - can you add some Error404 page and redirect to this one in this case? And then close :)

from vue-storefront.

filrak avatar filrak commented on June 16, 2024

@pkarw yup i will ;)

from vue-storefront.

karolbzik avatar karolbzik commented on June 16, 2024

Catch the design for the 404 page.
404

I suggest adding links to a chat (activate the livechat or any other chat tool, I will create a separated task for integration with this kind of tool), contact page, search (open the sidebar widget) and displaying the list of products (bestsellers or recommendations).

from vue-storefront.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.