1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » How do I set AllowPurchase once a product is added to cart?
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 520 Views |
-
How do I set AllowPurchase once a product is added to cart?

16 July 2009 at 7:41am
I want to change AllowPurchase of a product to false once a user adds it to the cart, and set it back to true if they cancel the purchase or remove it from the cart.
What is the best way to do this? And where should I put the code?
thanks
| 520 Views | ||
|
Page:
1
|
Go to Top |

