2
Answers
Vote up!
1
Vote down!

Product + views & panel conflict

Hello everyone ;)

Today I have a big problem with trade: (! In fact during my theming phase of my business I am facing a very annoying problem I will explain!

I have a product page is a node with a reference product in order to link this product to my display (simple). On some product I am able to manage their condition (new, used ...) thanks to a field in my product that I have appointed State, and even the I have no problem I can switched between different state and the price puts it in a day as ajax trade the plan.

My problem is has come to a view in my panel I explain too!

So I have a simple view that shows me all the contents of the author of the plug (in my content type I have a field "author" who can say how this card belongs author).

My view works thanks to a context filter that I recovered by the option pane "Entering the configuration pane".

In my next panel I'm on the panel of basic node (node ​​/% node).

I set my bow in court display to see my content .. and therefore below all this in another pane biensur my view that asks me said the argument for the author field. For this field so I use "% taxonomy_term: tid" as my author field is a field of taxonomy free.

(To get the ID of my argument, I use a relationship in the context of my panel "taxonomy term from node (one node: Author [field_auteur])" and then retrieve the ID of the term on the field author in the node display in court.)

When I look at my result on my node, the drama! the view is filtered correctly and I see all the content related to the author! my product is displayed correctly and everything works except one thing! My famous STATE fields belonging to my product ... one time I pass a product of a state to another thanks to the selection list I lose my prize / and the image of my product ....

Someone has an idea or feedback on this bug? Thank you very much for your help: '(

step 1 : http://img806.imageshack.us/img806/1424/test1vy.jpg

step 2 : http://img24.imageshack.us/img24/2904/test2wle.jpg

step 3 : http://img843.imageshack.us/img843/2978/test3xg.jpg

step 4 : http://img96.imageshack.us/img96/751/test4g.png

The BUG ...

Normal poduct : http://img715.imageshack.us/img715/4469/test5lb.jpg

AFTER switch "etat" : http://img855.imageshack.us/img855/1339/test6p.jpg

Asked by: woprrr
on July 2, 2012

Comments

Little hint ... on my console when switching the selector I have this message!

[cycle] terminating services; Zero Elements found by selector
jquery ...? m6j4lv (line 25)
[cycle] terminating services; Zero Elements found by selector

whereas in a normal case that the

[cycle] terminating services; Too Few slides: 1

- woprrr on July 2, 2012

2 Answers

Vote up!
2
Vote down!

I think (but I could be wrong) that you have forgotten to enable the correct "view mode" for these fields on the add-to-cart form. Below are links to the add-to-cart form, which you are having trouble with. If you need more help with panels, I recommend you try to get EclipseGC's attention, he is a primary contributor to ctools and works for Commerce Guys :)

http://joshmiller83.github.com/dc_docs/cart/Cart-AddtoCart.html
http://joshmiller83.github.com/dc_docs/cart/Cart-BlockandViews.html

Josh Miller
Answer by: Josh Miller
Posted: Jul 13, 2012

Comments

Actually I found the solution to my problem soon after this post. This is the views of my way to making my product attributes disappear. So I use a blow for the rendering mode "fields" and the problem has disappeared.

My hypotheses to be tested:

1: Conflict between "tpl" custom and rendering business entities.
2: Problem at the entity and atribut rendered product from commerce.

- woprrr on July 17, 2012
Vote up!
0
Vote down!

Actually I found the solution to my problem soon after this post. This is the views of my way to making my product attributes disappear. So I use a blow for the rendering mode "fields" and the problem has disappeared.

My hypotheses to be tested:

1: Conflict between "tpl" custom and rendering business entities.
2: Problem at the entity and atribut rendered product from commerce.

Answer by: woprrr
Posted: Jul 17, 2012