Permalink
Browse files

API: Renamed EcommercePayment to ShopPayment.

  • Loading branch information...
1 parent 5896ce9 commit 7555a9329fd090a3740e44ee8eefc9bfc4268c43 @jedateach jedateach committed Apr 30, 2012
Showing with 8 additions and 13 deletions.
  1. +1 −1 _config.php
  2. +2 −2 code/model/{EcommercePayment.php → ShopPayment.php}
  3. +2 −2 docs/en/Architecture.md
  4. +3 −8 docs/en/CoreChanges.md
View
@@ -6,7 +6,7 @@
DataObject::add_extension('Member', 'ShopMember');
// Extend Payment with e-commerce relationship.
if(!class_exists('Payment')) user_error("You need to also install the Payment module to use the eCommerce module", E_USER_ERROR);
-DataObject::add_extension('Payment', 'EcommercePayment');
+DataObject::add_extension('Payment', 'ShopPayment');
//create controller for shopping cart
Director::addRules(50, array(
ShoppingCart_Controller::$url_segment . '/$Action/$ID/$OtherID' => 'ShoppingCart_Controller',
@@ -1,11 +1,11 @@
<?php
/**
* Customisations to {@link Payment} specifically
- * for the ecommerce module.
+ * for the shop module.
*
* @package shop
*/
-class EcommercePayment extends DataObjectDecorator {
+class ShopPayment extends DataObjectDecorator {
public static $summary_fields = array(
"OrderID" => "Order ID",
View
@@ -42,8 +42,8 @@ Here is an overview of the model classes
### Decorators
- * EcommercePayment - adds connection to an order for each Payment.
- * EcommerceRole - adds shipping details to a Member.
+ * ShopPayment - adds connection to an order for each Payment.
+ * ShopMember - adds shipping details to a Member.
### Shopping Cart
View
@@ -1,17 +1,12 @@
# Core Changes
-Here are the subclasses, and extensions of standard Sapphire components for the eCommerce module.
-
+Here are the subclasses, and extensions of standard Sapphire components for the shop module.
* EcommerceCurrency - provides ability to customise currency formatting.
- * EcommercePayment - provides some additional functionality that should eventually move to Payment itself.
+ * ShopPayment - provides some additional functionality that should eventually move to Payment itself.
* ProductBulkLoader - extends CSVBulkLoader to provide ecommerce-specific loading. See [Bulk Loading](BulkLoading) for more.
- * EcommerceSiteTreeExtension - adds a few functions to SiteTree to give each page some e-commerce related functionality.
-
- * EcommerceResponse, CartResponse
-
- * EcommerceDevelopmentAdminDecorator - extends DevelopmentAdmin so that we can call mysite/dev/ecommerce
+ * EcommerceDevelopmentAdminDecorator - extends DevelopmentAdmin so that we can call mysite/dev/shop
* OptionalConfirmedPasswordField - requires entering a password twice to ensure it is correct.

0 comments on commit 7555a93

Please sign in to comment.