Move cart links settings to cart.module
recidive - March 31, 2009 - 03:57
| Project: | e-Commerce |
| Version: | 6.x-4.x-dev |
| Component: | ec_cart |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I've installed ecommerce 6.4 RC1 without enabling cart module and when I go to ecommerce settings (admin/ecsettings/store) I see this 2 settings there: "After add an item link" and "Empty cart link".
Since those settings are related to cart module, should not this be in cart module and only be available if cart module is enabled?

#1
I worked on a patch for this.
I've moved cart settings to ec_cart module and renamed it's variables to ec_cart namespace, adding the proper update functions to migrate variable values.
#2
There are more cart related settings in Products settings (admin/ecsettings/ptypes/settings): "Users adds product to cart using link" and "Display cart on node teaser display".
I think those settings belongs to ec_cart module too. Will added those to the patch.
Talked with gordon on IRC and he says he would like to cart settings to be part of checkout.
#3
FYI, I have removed one of these settings from the system as this can be handled by rules and can actually be a lot more flexible than the old configurations.