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

recidive - March 31, 2009 - 04:46

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.

AttachmentSize
ec_cart_settings.patch 7.62 KB

#2

recidive - March 31, 2009 - 16:32
Status:active» needs work

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

gordon - April 27, 2009 - 06:16
Status:needs work» active

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.

 
 

Drupal is a registered trademark of Dries Buytaert.