3

I am working on commerce site. In my site I have 3 views & each view have display 3 products. If user can first visit the product then user get the wishlist button but I want to show "add to cart" or "wishlist" or "buy" button with all the products so user can directly purchase, no need to visit.

I already created Relation : "Content: Referenced products" & add Field : "Commerce Product: Add to Cart form". But no button show below product. Please help to solve. Thanks

3
  • 1
    have you added the filter "Content: Type (= Product display)"
    – Bala
    Oct 3, 2014 at 14:08
  • Yes.. I have already did.. but it shows nothing... @Bala
    – Nishant
    Oct 6, 2014 at 11:33
  • 1
    I also have same problem...I can see it in single product page.But how it is possible to display in view ????
    – user49951
    Oct 31, 2015 at 7:08

1 Answer 1

1

Most straightforward way is to use views to render your product display nodes. Instead of "fields" choose "node" and then choose your display mode. Perhaps use display_suite or panels to get more advanced control over what your products look like when rendered.

Sidenote, there's a great video I created that shows you how to use hook_form_alter to move the wishlist button around.

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.