For some reason products do not appear in user's wishlist on user/%user/wishlists/%commerce_order.

Will look into this further and keep this issue posted.

Comments

aramboyajyan’s picture

Very strange; after playing around with this, the issue seems to be in the Manage own wishlist permission of the wishlist view.
The user I'm trying to see this has that permission, and I verified that programmatically.
Admins can see the order contents though.

Will keep this posted.

Neograph734’s picture

Just ran into the situation where I could not see the content as admin. Very strange as I did not notice this earlier.

Neograph734’s picture

It is due the wrong contextual filter. When we switched to multiple wishlists per user, I switched the contextual filter to use the commerce-order-id rather then the user-id. Somehow this has gotten reverted somewhere.

If you remove the commerce order: uid and replace it with commerce order order-id, the view works as expected.

  • Neograph734 committed 535b455 on 7.x-3.x
    Issue #2494061: No products listed in the wishlist
    
Neograph734’s picture

Status: Active » Needs review

Committed, please have a look if it resolved the problem.

Neograph734’s picture

Status: Needs review » Fixed

Marking as fixed. Please reopen if still an issue.

  • topsitemakers committed e19de30 on 7.x-3.x
    Issue #2494061: removing the product relationship as it caused products...
aramboyajyan’s picture

Status: Fixed » Needs review

The latest dev didn't work; I tested this a few times on a clean install and seems that Commerce Product relationship was causing the line items not to be displayed in the view.

A commit should be pushed shortly; I just updated the default view.

Let me know if it still works on your end. I'm changing the status meanwhile to "Needs review", just till I test this more thoroughly.

Neograph734’s picture

Can you confirm the rest of the View is as described in #3?
I'll have a look later today.

aramboyajyan’s picture

Will do shortly; thanks for quick response.

Neograph734’s picture

Status: Needs review » Fixed

I ran into a similar situation where some fields were not saving their relationship the first time (opening the field properties and hitting save again solved the issue :s). Perhaps this is what went wrong in your view as well?

Anyway, we don't really seem to be needing the product reference and if people want to add it manually it is their choice. Views seems to be working perfectly without the reference so I am setting this to fixed as it has already been committed.

aramboyajyan’s picture

I think I run yesterday into the same issue later on; I wanted to look further because it wasn't consistent.

Let's leave this as it is for now; I agree in not needing the product reference right now. We can always come back to this if we need it later on.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.