How to buy item from Soomla storefront?

393 Views Asked by At

In the open source framework, this is the code to buy item:

[StoreInventory buyItemWithItemId:@"[itemId]"]

What is the equivalent code to buy item from storefront?

https://github.com/soomla/ios-store

1

There are 1 best solutions below

0
On BEST ANSWER

If you're using Storefront, the code to buy an item is: ([StoreInventory buyItemWithItemId:@"your_item_id"]).

See http://answers.soom.la/t/closed-storeinventory-item/270