bleroy / Nwazet.Commerce

Idiomatic commerce module for Orchard CMS.
BSD 3-Clause "New" or "Revised" License
26 stars 21 forks source link

Enhancements/wish lists pr #124

Closed MatteoPiovanelli-Laser closed 7 years ago

MatteoPiovanelli-Laser commented 7 years ago

117 PR on wish lists.

This is partially a WIP. There are still some UI things we are working on, especially regarding the "add to wishlist" menu from products' display views. We are also looking into notusing javascript for the view of the "add to wishlist" shapes.

The following functionality is in place for authenticated users. Unauthenticated users get redirected to the logon page.

bleroy commented 7 years ago

Should I review now, or should I wait for the work to be complete?

MatteoPiovanelli-Laser commented 7 years ago

If you have time, I'd appreciate it if you could give it a quick look. We are making some changes for the sake of clarity, but maybe you will spot something we oversaw.

MatteoPiovanelli-Laser commented 7 years ago

@HermesSbicego-Laser and I updated things a bit. We simplified the UI, moving away from using HTML5 css3 modals everywhere, because that could have easily become a nightmare when trying to alternate from a theme. We also fixed a few bugs here and there that we spotted.

bleroy commented 7 years ago

Wow, that's a pretty big feature. Thanks for the contribution! I had lots of comments (because that's a lot of code).

I'm also still confused about the use of the word "element": we have something else in Orchard that is also called, confusingly enough, an element, and it seems like the shopping carts uses "item" for something similar.

MatteoPiovanelli-Laser commented 7 years ago

Thanks for taking the time to review the code.

I made most changes you recommended (update to the PR will be out in a few minutes). Where I replied "ok" to your comments it was so that I would see that I had worked on that point.

A few things are still not finalized:

MatteoPiovanelli-Laser commented 7 years ago

Il the latest PR there are more fixes and features:

MatteoPiovanelli-Laser commented 7 years ago

I updated the PR.

bleroy commented 7 years ago

Thanks. There are still conflicts to solve however.

MatteoPiovanelli-Laser commented 7 years ago

I fixed the merge conflicts, and also used the new cart events in the WishListsController.AddToCart method

bleroy commented 7 years ago

Thanks!

MatteoPiovanelli-Laser commented 7 years ago

thanks for reviewing this and merging it in,