Hi, I have a similar view as this: http://drupal.org/node/1276450 working which shows the referenced products.
Is there a way that the current product can be excluded from the lists, likewise with nodes?
Thanks a lot in advance for your reply!
Greetings, Martijn

Comments

summit’s picture

Hi,

I see this issue: http://drupal.org/node/1465920. Could this be used by product-entities also?
If so, how please?
Greetings, Martijn

rszrama’s picture

Status: Active » Fixed

Wow, cool, didn't know this tutorial even existed. : )

I'm not sure how you'd go about doing this, to be honest. Perhaps you can do this through some sort of combination contextual filter / relationship and filter out the products that match through that relationship... no clue, as I haven't tried it. That's my best guess, though.

summit’s picture

Hi, If you "the commerce guru" do not know how to deal with this..how can we then get a block of all other referenced products?
Greetings, Martijn

rszrama’s picture

Just because I'm a Commerce guru doesn't make me a complete Views expert. ; )

I could write the query for you in SQL in a minute... the challenge is just to find the appropriate data through the Views UI. It's going to have to involve some sort of contextual filter / relationship I believe, but I can't say for certain. Your best bet would be to hop in the Views IRC channel and see if someone's around to help.

summit’s picture

Hi, rszrama, it was no intend to say this in disrespect. I only thought it would be a great add-on if this was in the module itself.
I think lots of commerce sites need the possibility that when you have a physical product in say different colors that you can choose one color and that all other colors are shown underneath in a block.
I will investigate this more..
Thanks for your quick reply!
Greetings, Martijn

rszrama’s picture

I didn't take it as disrespect, so no worries there. I'm pretty forgiving in issue queue conversations, because you never know what someone intends with plain text. ; )

Regarding the issue, it's something we can keep in mind, but the problem is the system is so wide-open that we don't know how someone's catalog will be put together. And it's not just a simple Views filter that we can add on (i.e. a "Product doesn't appear on the page"), because we don't know if products are on the page from Views, product reference fields, Panels, etc. The best thing to do will probably be to just figure it out and document the process so people can tweak the implementation as necessary for their sites.

summit’s picture

Hi Rszrama,

I thought about it more.
1) I have a panel which shows a node-view with rendering node, using a product selector (term-reference).
2) I want to add on the panel another node-view which shows all referenced products

I think for now I am ok with showing all referenced products in another view underneath the node-view.
I will see how to get this done. If you still have suggestions. Off course I am open to them!
If anyone else has suggestions how to remove the current product-reference from the list..off course

Greetings, Martijn

Status: Fixed » Closed (fixed)

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