3

Is it possible to use views to render block with add to cart button, then add a contextual filter, so I can use it in panels?

For testing, I tried to make a simple view consisting of add to cart buttons and use it on a product page, but it displays nothing.

The same is with displaying pictures attached to product. I can see them when creating view in view UI but how do I pull out data from product so I can display them on product page using using views or just placing a block on a page.

Any help would be appreciated. Thank you

3
  • 2
    ok I fugured it out. I had to enable permissions for viewing product - namely: View any Product product. Otherwise any content pulled from product would be forbidden to all users but administrator.
    – loparr
    Commented Dec 31, 2011 at 21:18
  • 2
    Please mark it as solved. Commented Jan 2, 2012 at 19:15
  • See issue: drupal.org/node/1276450
    – nmc
    Commented Feb 17, 2012 at 1:39

1 Answer 1

0

Self answered by user1031742

I had to enable permissions for viewing product - namely: View any Product product. Otherwise any content pulled from product would be forbidden to all users but administrator.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.