Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Render add to cart form in external app ( with Services )

Hello,
i'm a beginner on Drupal 7, and i have to retrieve data of drupal website to display product on Windows 8 app.

I use Services module (REST) and Commerce Services ressources ( https://drupal.org/project/commerce_services ).

It's easy to retrieve informations of ressources products, product-display, nodes... but i can't find how to render "add to cart" button on my external app.

However, in the module description, we can read :
"It also supports pseudo-entities such as product displays and shopping carts to make it easier to render Add to Cart forms and manipulate cart contents remotely".

Someone have any idea how to do this ?

thank a lot !

ps: sorry for my bad english :s

Asked by: floik
on August 2, 2013

1 Answer

Vote up!
0
Vote down!

Hi, I also trying to understand how to remote add a product to the cart and I can not find any documentaion, I also tried the commerce_services and didn't get to far.

It is possible to do it with creating a webservice resource?
must the user be login?

thanks!

Answer by: Virgilio
Posted: Aug 18, 2015