Open dreamingmind opened 9 years ago
addToCart() is in CartController, AppController and ultimately in PurchaseComponent->add(). This seems really muddled.
I put the appController hook so all controllers would have access. but can't we always call carts/addtocart then use the component?
addToCart() is in CartController, AppController and ultimately in PurchaseComponent->add(). This seems really muddled.
I put the appController hook so all controllers would have access. but can't we always call carts/addtocart then use the component?