Vote up!
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!
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.

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


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