Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create breadcrumbCallback function #41

Open
Chrstjan opened this issue Mar 1, 2024 · 1 comment
Open

Create breadcrumbCallback function #41

Chrstjan opened this issue Mar 1, 2024 · 1 comment
Assignees
Labels
JavaScript JavaScript Production

Comments

@Chrstjan
Copy link
Owner

Chrstjan commented Mar 1, 2024

In the app.js file in the controller code region make a function called breadcrumbCallback

The function should:

  • Recive the nessecary data from a onclick as a paramenter
  • Use the paramenter to navigate back to the previous view code (productDetail => products in category)
@Chrstjan Chrstjan added the JavaScript JavaScript Production label Mar 1, 2024
@Chrstjan Chrstjan self-assigned this Mar 1, 2024
Chrstjan added a commit that referenced this issue Mar 1, 2024
Chrstjan added a commit that referenced this issue Mar 3, 2024
Chrstjan added a commit that referenced this issue Mar 4, 2024
Works for product details
- Add the back btn to go to sub categories & sup category
@Chrstjan
Copy link
Owner Author

Chrstjan commented Mar 6, 2024

Also add the feature to back to sub categories from productDetails (productDetails => subCategories)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JavaScript JavaScript Production
Projects
None yet
Development

No branches or pull requests

1 participant