Allowing filtering without ajax #8
Labels
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-thirtybees/blocklayered#8
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Proposing a small addition to allow using direct urls to filter category pages. It:
Hooking to actionProductListOverride and catching 'selected_filters' get parameters would allow using direct urls like:
https://front.thirtybees.com/coffee-and-tea?selected_filters=/categories-coffee/exclusive_buy-yesand even pagination
https://front.thirtybees.com/coffee-and-tea?selected_filters=/categories-coffee/exclusive_buy-yes/&p=2What do you guys think? Is there already a way to do this?
@pjrp I don't understand what the issue is, could you please explain a little bit more?
@getdatakick sure
Cenário:
Niara theme. Category listing, 20 products per page, some filter applied in layered navigation, currently in page 2.
The user scrolls to the bottom of the listing, clicks in a product and goes to the product page. Then, returns to the category listing.
What happens:
Go to https://front.thirtybees.com/gifts#/vegan-yes
Scroll down and reload page.
If you have a fast connection use browser tools to throttle.
Proposed change
Some thirtybees shops seem to have this sorted out. Check:
https://4kidspoint.pl/promocje?manufacturer=625&manufacturer=625-923&orderby=name&p=2
Maybe this is theme or configuration related. What do you think?
edit: clarity