Questions? Answers.

Have a question? Post it and let the masses answer.
1
Answers
Vote up!
1
Vote down!

How do I add "add to cart form" to search_api form? It doesn't show up as an option to display OR index.

Asked by: wpg4665
on June 21, 2012

1 Answer

Vote up!
1
Vote down!

The "Add to Cart" form is a way of displaying the product reference field. Which means you need to configure it on search result for the display node, not the product.

Answer by: joshmiller
Posted: Jul 6, 2012

Comments

but still how can we do this? I don't use product display, it is good with products itself. And in the views displaying products, I need to have an add_to_cart field.
PS The views displays searchapi_index, not commerce_product.

- molfar on December 27, 2012
drupalcommerce Check out the #Drupal Commerce 2.x Roadmap to see where you can get involved: http://t.co/WAc3jmXY2a
drupalcommerce A new blog discussing the new showcase listing http://t.co/FHOzhAg3tl http://t.co/J5C87imjhb
drupalcommerce RT @drupalcon: Thanks @CommerceGuys and @CommerceJohn for your support, and for #CommerceKickstart! Take the tour http://t.co/ivKEYH7k0o
drupalcommerce Updating our extensions directory: 665 new or updated modules, distributions, sandboxes, & themes. http://t.co/6NMMofYo12 #weloveyouguys