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

Filter products in shop by date and location #18

Closed
ScyDev opened this issue Jan 7, 2016 · 6 comments
Closed

Filter products in shop by date and location #18

ScyDev opened this issue Jan 7, 2016 · 6 comments
Assignees

Comments

@ScyDev
Copy link
Owner

ScyDev commented Jan 7, 2016

Products on the 3 main views productList, productGrid and productMap need to be filtered by location and date. The publication needs to be extended to include date and location in the selector. Currently, products are filtered by tag, this needs to keep working.

Date:
The products have a field forSaleOnDate which is added in package reaction-p2p-marketplace-sell-date.
Date field needs to use a datepicker, as it currently is with package reaction-search.

Location:
The products location is the location of the address[0] in the sellers profile. This is resolved for example in package reaction-p2p-marketplace-locations.
Location search field needs to accept numeric postal code (4 digits) or name of city. Resolve it via Google Maps and select products which are within a certain radius.

Does not necessarily need to be realized with package reaction-search, but if it works it's ok.

Budget:
Max. 8 hours for reactive product filtering by tag, date and location in combination.
Plus 2 hours for resolving the users address through Google Maps and saving to user.profile.latitude and user.profile.longitude.

@ScyDev
Copy link
Owner Author

ScyDev commented Jan 7, 2016

reactioncommerce#274

@ScyDev ScyDev self-assigned this Feb 6, 2016
@ScyDev
Copy link
Owner Author

ScyDev commented Feb 6, 2016

reactioncommerce#105

Working on https://github.com/reactioncommerce/reaction-search to make it compatible with 0.12 and enhance it for date and location filters.

@ramusus
Copy link

ramusus commented Feb 6, 2016

You may take a look https://github.com/ramusus/reaction-filtration/ it supports simple search functionality. You can integrate with current dev version, using this PR reactioncommerce#743

@ScyDev
Copy link
Owner Author

ScyDev commented Feb 17, 2016

@ramusus Thanks! I merged the 6 commits from your pull request into my branch, added package ramusus:reaction-filtration and activated it in admin dashboard.

How do I make it show up on the page?

ScyDev referenced this issue Feb 17, 2016
… scydev-#8-simplified-product-and-checkout

Conflicts:
	.meteor/packages
	.meteor/versions
@ramusus
Copy link

ramusus commented Feb 17, 2016

@ScyDev thanks! try to apply this PR reactioncommerce#743. I'm not sure it's uptodate now to the latest development or 0.12 version, but you can find in the code where the link, that triggers the filters sidebar

ScyDev referenced this issue Feb 18, 2016
… scydev-#8-simplified-product-and-checkout

Conflicts:
	packages/reaction-p2p-marketplace-sell-date/client/templates/products/productDetail/productDetailWithDate.js
ScyDev referenced this issue Feb 18, 2016
@ScyDev ScyDev assigned MyroslavaHnatiuk and unassigned ScyDev Mar 18, 2016
@ScyDev ScyDev self-assigned this Mar 28, 2016
@ScyDev
Copy link
Owner Author

ScyDev commented Apr 8, 2016

done.

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

No branches or pull requests

3 participants