Skip to content
New issue

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

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

Already on GitHub? # to your account

Add Previous/Next product #734

Closed
wants to merge 8 commits into from

Conversation

haricot
Copy link
Contributor

@haricot haricot commented May 28, 2018

This adds the possibility of linking the previous product and the next product in the detail of a product.

The template product_figure.html had to be reviewed because if a product is assigned to two category page, product.get_absolute_URL returns to the last category assigned which may not match the current category. that's why I replaced {{ product.get_absolute_URL}} with {{ request.path }} {{ product.slug }}

peek 28-05-2018 14-37

when the page is collapsed, previous / next are not displayed by choice. A swipe would be better.

I'm not particularly fond of this feature but it's part of a request.

@jrief
Copy link
Member

jrief commented May 28, 2018

👍 nice feature, always wanted to implement something like this myself!

@haricot
Copy link
Contributor Author

haricot commented Mar 14, 2020

closed in flavor #797

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants