Classes

\Sunnysideup\Ecommerce\Api

Name Description
ArrayMethods No description available EMPTY
ClassHelpers No description available EMPTY
EcommerceCache Provides a standard interface for caching product and group information. EMPTY
EcommerceCountryVisitorCountryProvider this is a very basic class with as its sole purpose providing the country of the customer. EMPTY
GetVariables No description available EMPTY
KeywordSearchBuilder No description available EMPTY
OrderConverter No description available EMPTY
ProductCollection No description available EMPTY
Sanitizer usage ```php $data = Sanitizer::remove_from_data_array($data); ```. EMPTY
SetThemed No description available EMPTY
ShoppingCart No description available EMPTY

\Sunnysideup\Ecommerce\Api\Converters

Name Description
OrderToArray todo: turn into registered object and let the objects return it. EMPTY

\Sunnysideup\Ecommerce\Cms

Name Description
CMSPageAddControllerProducts No description available EMPTY
ProductBulkLoader No description available EMPTY
ProductConfigModelAdmin No description available EMPTY
ProductsAndGroupsModelAdmin No description available EMPTY
SalesAdmin No description available EMPTY
SalesAdminByOrderSize No description available EMPTY
SalesAdminByOrderStep No description available EMPTY
SalesAdminByPaymentType No description available EMPTY
SalesAdminExtras No description available EMPTY
SalesAdminProcess No description available EMPTY
StoreAdmin No description available EMPTY

\Sunnysideup\Ecommerce\Cms\Dev

Name Description
EcommerceDatabaseAdmin No description available EMPTY
EcommerceDatabaseAdminDebugView No description available EMPTY
EcommerceDevelopmentAdminDecorator EcommerceDevelopmentAdminDecorator adds extra functionality to the DevelopmentAdmin It creates a developer view (as in www.mysite.com/dev/) specifically for ecommerce. EMPTY

\Sunnysideup\Ecommerce\Config

Name Description
EcommerceConfig Proxy for `Config::inst()->get()`. EMPTY
EcommerceConfigAjax This class returns the Ajax Definitions class. EMPTY
EcommerceConfigAjaxDefinitions This class defines all the names for IDs and Classes that are used within the e-commerce ajax framework. EMPTY
EcommerceConfigClassNames This class returns the Ajax Definitions class. EMPTY
EcommerceConfigDefinitions This class sets out the static config variables for e-commerce. EMPTY

\Sunnysideup\Ecommerce\Control

Name Description
BuyableSelectFieldDataList No description available EMPTY
CartResponse No description available EMPTY
EcommercePaymentController No description available EMPTY
EcommerceResponse No description available EMPTY
EcommerceSiteTreeExtensionController No description available EMPTY
EcommerceTemplateTest No description available EMPTY
OrderEmailRecordReview No description available EMPTY
OrderModifierFormController This controller allows you to submit modifier forms from anywhere on the site, Most likely this will be from the the cart / checkout page. EMPTY
OrderStatusLogFormController This controller allows you to submit Log forms from anywhere on the site, especially the cart / checkout page. EMPTY
OrderStepController This call can be used when you need input from the customer in the order process. EMPTY
ShoppingCartController ShoppingCartController. EMPTY

\Sunnysideup\Ecommerce\Dev

Name Description
EcommerceCodeFilter No description available EMPTY

\Sunnysideup\Ecommerce\Email

Name Description
EcommerceDummyMailer No description available EMPTY
OrderEmail No description available EMPTY
OrderErrorEmail No description available EMPTY
OrderInvoiceEmail No description available EMPTY
OrderReceiptEmail No description available EMPTY
OrderStatusEmail No description available EMPTY

\Sunnysideup\Ecommerce\Forms

Name Description
OrderForm No description available EMPTY
OrderFormAddress This class is the form for editing the Order Addresses. EMPTY
OrderFormCancel No description available EMPTY
OrderFormFeedback No description available EMPTY
OrderFormPayment No description available EMPTY
OrderModifierForm No description available EMPTY
OrderStatusLogForm No description available EMPTY
ProductSearchForm Product search form. EMPTY
ProductSearchFormShort No description available EMPTY
ShopAccountForm No description available EMPTY

\Sunnysideup\Ecommerce\Forms\Fields

Name Description
BuyableSelectField Text input field that allows the user to select a Buyable. EMPTY
EcomQuantityField No description available EMPTY
EcommerceCMSButtonField No description available EMPTY
EcommerceClassNameOrTypeDropdownField this is a dropdown field just for selecting the right classname. EMPTY
EcommerceCreditCardField Allows input of credit card numbers via four separate form fields, including generic validation of its numeric values. EMPTY
EcommerceSearchHistoryFormField No description available EMPTY
ExpiryDateField No description available EMPTY
OptionalTreeDropdownField TreeDropdown-like field that gives you a tree of items including an empty field, using ajax. EMPTY
OrderStepField This field shows the admin (and maybe the customer) where the Order is at (which orderstep). EMPTY
ProductDropdown No description available EMPTY
ProductGroupDropdown No description available EMPTY
ProductProductImageUploadField This is a preset upload field for product images. EMPTY
SelectOrderAddressField A field that allows the user to select an old address for the current order. EMPTY
YesNoDropDownField this is a dropdown field just for selecting the right classname. EMPTY

\Sunnysideup\Ecommerce\Forms\Gridfield

Name Description
GridFieldAddNewButtonOriginalPage Provides the entry point to editing a single record presented by the {@link GridField}. EMPTY
GridFieldEditButtonOriginalPage Provides the entry point to editing a single record presented by the {@link GridField}. EMPTY
GridFieldExportSalesButton Adds an "Export list" button to the bottom of a {@link GridField}. EMPTY
GridFieldPrintAllInvoicesButton Adds an "Export list" button to the bottom of a {@link GridField}. EMPTY
GridFieldPrintAllPackingSlipsButton Adds an "Export list" button to the bottom of a {@link GridField}. EMPTY
GridFieldPrintInvoiceButton No description available EMPTY
GridFieldPrintPackingSlipButton No description available EMPTY

\Sunnysideup\Ecommerce\Forms\Gridfield\Configs

Name Description
GridFieldBasicPageRelationConfig No description available EMPTY
GridFieldBasicPageRelationConfigNoAddExisting No description available EMPTY
GridFieldConfigForOrderItems ensures that order items can not be auto-linked or deleted but retains all the other features of the GridFieldConfig_RelationEditor settings. EMPTY
GridFieldConfigForProductGroups ensures that order items can not be auto-linked or deleted but retains all the other features of the GridFieldConfig_RelationEditor settings. EMPTY
GridFieldConfigForProducts ensures that order items can not be auto-linked or deleted but retains all the other features of the GridFieldConfig_RelationEditor settings. EMPTY
GridFieldEditOriginalPageConfig No description available EMPTY
GridFieldEditOriginalPageConfigWithAddExisting No description available EMPTY
GridFieldEditOriginalPageConfigWithDelete No description available EMPTY

\Sunnysideup\Ecommerce\Forms\Validation

Name Description
EcommercePaymentFormSetupAndValidation No description available EMPTY
OrderFormAddressValidator No description available EMPTY
OrderFormCancelValidator No description available EMPTY
OrderFormFeedbackValidator No description available EMPTY
OrderFormPaymentValidator No description available EMPTY
OrderFormValidator No description available EMPTY
OrderModifierFormValidator No description available EMPTY
OrderStatusLogFormValidator No description available EMPTY
ProductSearchFormValidator No description available EMPTY
ShopAccountFormPasswordValidator No description available EMPTY
ShopAccountFormValidator No description available EMPTY

\Sunnysideup\Ecommerce\Model

Name Description
Order No description available EMPTY
OrderAttribute No description available EMPTY
OrderAttributeGroup Allows you to group OrderAttributes. EMPTY
OrderItem No description available EMPTY
OrderModifier which returns an array of IDs SEQUENCE - USE FOR ALL MODIFIERS!!! *** 1. model defining static variables (e.g. $db, $has_one) *** 2. cms variables + functions (e.g. getCMSFields, $searchableFields) *** 3. other (non) static variables (e.g. private static $special_name_for_something, protected $order) *** 4. CRUD functions (e.g. canEdit) *** 5. init and update functions *** 6. form functions (e. g. Showform and getform) *** 7. template functions (e.g. ShowInTable, TableTitle, etc...) ... USES DB VALUES *** 8. inner calculations.... USES CALCULATED VALUES *** 9. calculate database fields: protected function Live[field name] ... USES CALCULATED VALUES *** 10. standard database related functions (e.g. onBeforeWrite, onAfterWrite, etc...) *** 11. AJAX related functions *** 12. debug functions. EMPTY
OrderModifierDescriptor No description available EMPTY
ProductOrderItem No description available EMPTY

\Sunnysideup\Ecommerce\Model\Address

Name Description
BillingAddress No description available EMPTY
EcommerceCountry No description available EMPTY
EcommerceRegion No description available EMPTY
EcommerceRegionVisitorRegionProvider No description available EMPTY
OrderAddress No description available EMPTY
ShippingAddress No description available EMPTY

\Sunnysideup\Ecommerce\Model\Config

Name Description
EcommerceDBConfig Database Settings for E-commerce Similar to SiteConfig but then for E-commerce To access a singleton here, use: EcommerceConfig::inst(). EMPTY

\Sunnysideup\Ecommerce\Model\Extensions

Name Description
EcommerceRole No description available EMPTY
EcommerceSiteTreeExtension No description available EMPTY
ErrorPageExtension Controller for ErrorPages. EMPTY

\Sunnysideup\Ecommerce\Model\Fieldtypes

Name Description
BuyableFieldType NOTE: this is not yet being used!!! EMPTY

\Sunnysideup\Ecommerce\Model\Money

Name Description
EcommerceCurrency Object to manage currencies. EMPTY
EcommercePayment "Abstract" class for a number of different payment types allowing a user to pay for something on a site. EMPTY

\Sunnysideup\Ecommerce\Model\Money\PaymentTypes

Name Description
EcommercePaymentTest Payment object representing a generic test payment. EMPTY
EcommercePaymentTestFailure Payment object representing a TEST = FAILURE. EMPTY
EcommercePaymentTestPending Payment object representing a TEST = PENDING. EMPTY
EcommercePaymentTestSuccess Payment object representing a TEST = SUCCESS. EMPTY

\Sunnysideup\Ecommerce\Model\Process

Name Description
CheckoutPageStepDescription No description available EMPTY
OrderEmailRecord No description available EMPTY
OrderFeedback No description available EMPTY
OrderProcessQueue This class provides a bunch of Meta Objects that do not interact with the object at hand, but rather with the datalist as a whole. EMPTY
OrderStatusLog No description available EMPTY
OrderStep No description available EMPTY

\Sunnysideup\Ecommerce\Model\Process\OrderStatusLogs

Name Description
OrderStatusLogArchived No description available EMPTY
OrderStatusLogCancel No description available EMPTY
OrderStatusLogDispatch No description available EMPTY
OrderStatusLogDispatchElectronicOrder No description available EMPTY
OrderStatusLogDispatchPhysicalOrder No description available EMPTY
OrderStatusLogPaymentCheck No description available EMPTY
OrderStatusLogSubmitted OrderStatusLogSubmitted is an important class that is created when an order is submitted. EMPTY

\Sunnysideup\Ecommerce\Model\Process\OrderSteps

Name Description
OrderStepArchived No description available EMPTY
OrderStepConfirmed No description available EMPTY
OrderStepCreated This is the first Order Step. EMPTY
OrderStepPaid No description available EMPTY
OrderStepSendAdminNotification No description available EMPTY
OrderStepSent No description available EMPTY
OrderStepSentInvoice No description available EMPTY
OrderStepSentReceipt No description available EMPTY
OrderStepSubmitted No description available EMPTY
Name Description
ProductGroupSearchTable This dataobject saves search replacements as in Smoogle will be replaced by Google. EMPTY
ProductSearchTable This dataobject saves search replacements as in Smoogle will be replaced by Google. EMPTY
SearchHistory No description available EMPTY
SearchReplacement This dataobject saves search replacements as in Smoogle will be replaced by Google. EMPTY

\Sunnysideup\Ecommerce\Money

Name Description
EcommerceMoney No description available EMPTY
EcommercePaymentSupportedMethodsProvider if you want to implement rules around selecting specific payment gateways for specific orders then you need to extend this class and add the following to mysite/_config/config.yml: <code yml> Injector: EcommercePaymentSupportedMethodsProvider: class: MyCustom_EcommercePaymentSupportedMethodsProvider </code>. EMPTY
ExchangeRateProvider No description available EMPTY
ExchangeRateProviderDummy No description available EMPTY

\Sunnysideup\Ecommerce\Money\Payment

Name Description
EcommercePaymentResult No description available EMPTY

\Sunnysideup\Ecommerce\Money\Payment\PaymentResults

Name Description
EcommercePaymentFailure No description available EMPTY
EcommercePaymentProcessing No description available EMPTY
EcommercePaymentSuccess No description available EMPTY

\Sunnysideup\Ecommerce\Pages

Name Description
AccountPage No description available EMPTY
AccountPageController No description available EMPTY
CartPage No description available EMPTY
CartPageController No description available EMPTY
CheckoutPage CheckoutPage is a CMS page-type that shows the order details to the customer for their current shopping cart on the site. It also lets the customer review the items in their cart, and manipulate them (add more, deduct or remove items completely). The most important thing is that the {@link CheckoutPage_Controller} handles the {@link OrderForm} form instance, allowing the customer to fill out their shipping details, confirming their order and making a payment. EMPTY
CheckoutPageController No description available EMPTY
OrderConfirmationPage No description available EMPTY
OrderConfirmationPageController No description available EMPTY
Product This is a standard Product page-type with fields like Price, Weight, Model and basic management of groups. EMPTY
ProductController No description available EMPTY
ProductGroup Product Group is a 'holder' for Products within the CMS. EMPTY
ProductGroupController No description available EMPTY
ProductGroupSearchPage This page manages searching for products. EMPTY
ProductGroupSearchPageController No description available EMPTY

\Sunnysideup\Ecommerce\ProductsAndGroups

Name Description
Debug No description available EMPTY
ProductGroupSchema In terms of ProductAndGroupsLists, this class knows all about the classes being used and the settings associated with it. EMPTY

\Sunnysideup\Ecommerce\ProductsAndGroups\Applyers

Name Description
BaseApplyer provides data on the user. EMPTY
ProductDisplayer provides data on the user. EMPTY
ProductFilter provides data on the user. EMPTY
ProductGroupFilter provides data on the user. EMPTY
ProductSearchFilter provides data on the user. EMPTY
ProductSorter provides data on the user. EMPTY

\Sunnysideup\Ecommerce\ProductsAndGroups\Builders

Name Description
AbstractProductsAndGroupsList No description available EMPTY
BaseProductList The starting base of the Products. EMPTY
FinalProductList A wrapper for a paginated of products which can be filtered and sorted. EMPTY
RelatedProductGroups A wrapper for a list of {@link Sunnysideup\Ecommerce\Pages\ProductGroup} instances. EMPTY

\Sunnysideup\Ecommerce\ProductsAndGroups\Settings

Name Description
UserPreference keeps track of the settings for FILTER / SORT / DISPLAY for user the associated links and all that sort of stuff. EMPTY

\Sunnysideup\Ecommerce\Reports

Name Description
EcommerceSideReportAllProducts Selects all products. EMPTY
EcommerceSideReportEcommercePages Ecommerce Pages except Products. EMPTY
EcommerceSideReportFeaturedProducts No description available EMPTY
EcommerceSideReportLongTitles Selects all products. EMPTY
EcommerceSideReportNoImageProducts Selects all products without an image. EMPTY
EcommerceSideReportNoInternalIDProducts Selects all products without an InternalID. EMPTY
EcommerceSideReportNoPriceProducts Selects all products without a price. EMPTY
EcommerceSideReportNotForSale Selects all products that are not for sale. EMPTY
EcommerceSideReportProductsChangedToday Selects all products. EMPTY

\Sunnysideup\Ecommerce\Search\Filters

Name Description
EcommercePaymentFiltersAroundDateFilter No description available EMPTY
OrderEmailRecordFiltersMultiOptionsetStatusIDFilter Allows you to filter orders for multiple statusIDs. EMPTY
OrderFiltersAroundDateFilter Allows you to filter orders that are within three days of a specific date. EMPTY
OrderFiltersFromDateFilter No description available EMPTY
OrderFiltersHasBeenCancelledFilter Allows you to filter for orders that have been cancelled. EMPTY
OrderFiltersMemberAndAddressFilter Filter that searches the Two Addresses (billing + shipping) and the member. It searches all the relevant fields. EMPTY
OrderFiltersMultiOptionsetStatusIDFilter Allows you to filter orders for multiple statusIDs. EMPTY
OrderFiltersMustHaveAtLeastOnePaymentFilter Allows you to filter for orders that have at leat one payment. EMPTY
OrderFiltersUntilDateFilter No description available EMPTY
OrderItemProductFilter Filter that searches the Two Addresses (billing + shipping) and the member. It searches all the relevant fields. EMPTY
ProductMaximumPriceFilter No description available EMPTY
ProductMinimumPriceFilter No description available EMPTY

\Sunnysideup\Ecommerce\Tasks

Name Description
DeleteOldProducts Adds all members, who have bought something, to the customer group. EMPTY
EcommerceTaskAddCustomersToCustomerGroups Adds all members, who have bought something, to the customer group. EMPTY
EcommerceTaskAddDefaultProducts No description available EMPTY
EcommerceTaskArchiveAllOrdersWithItems After a bug in the saving of orders in the CMS This "fixer" was introduced to fix older orders without a submission record. EMPTY
EcommerceTaskArchiveAllSubmittedOrders After a bug in the saving of orders in the CMS This "fixer" was introduced to fix older orders without a submission record. EMPTY
EcommerceTaskCartCleanup No description available EMPTY
EcommerceTaskCartManipulationCurrent shows you the link to remove the current cart. EMPTY
EcommerceTaskCartManipulationDebug shows you the link to remove the current cart. EMPTY
EcommerceTaskCleanupProductFullSiteTreeSorting No description available EMPTY
EcommerceTaskCountryAndRegion create standard country and regions. EMPTY
EcommerceTaskCountryAndRegionAllowAllCountries update EcommerceCountry.DoNotAllowSales to 0 so that you can sell to all countries. EMPTY
EcommerceTaskCountryAndRegionDisallowAllCountries update EcommerceCountry.DoNotAllowSales to 1 so that you can not sell to any country. EMPTY
EcommerceTaskCreateMemberGroups create the e-commerce specific Member Groups. EMPTY
EcommerceTaskDebugCart No description available EMPTY
EcommerceTaskDefaultRecords create default records for e-commerce This does not include any products. EMPTY
EcommerceTaskDeleteAllOrders No description available EMPTY
EcommerceTaskDeleteProducts No description available EMPTY
EcommerceTaskFixBrokenOrderSubmissionData After a bug in the saving of orders in the CMS This "fixer" was introduced to fix older orders without a submission record. EMPTY
EcommerceTaskLinkOrderAddressesAtBothEnds works out how many products have been sold, per product. EMPTY
EcommerceTaskLinkProductWithImages Add any Image (or other file) to a product using the InternalItemID. EMPTY
EcommerceTaskOrderItemsPerCustomer set the order id number. EMPTY
EcommerceTaskOrdersWithoutOrderStep No description available EMPTY
EcommerceTaskProcessOrderQueue No description available EMPTY
EcommerceTaskProductVariationsFixes see description in class. EMPTY
EcommerceTaskRemoveSuperfluousLinksInProductProductGroups Adds all members, who have bought something, to the customer group. EMPTY
EcommerceTaskReviewReports No description available EMPTY
EcommerceTaskReviewSearches No description available EMPTY
EcommerceTaskSetDefaultProductGroupValues No description available EMPTY
EcommerceTaskSetOrderIDStartingNumber set the order id number. EMPTY
EcommerceTaskTemplateTest Get examples for building templates. EMPTY
EcommerceTaskTryToFinaliseOrders No description available EMPTY
UpdateProductImages works out how many products have been sold, per product. EMPTY

\Sunnysideup\Ecommerce\Tests

Name Description
ProductGroupTest No description available EMPTY

\Sunnysideup\Ecommerce\Tests\ORM

Name Description
ProductGroupListTest No description available EMPTY
ProductListTest No description available EMPTY

\Sunnysideup\Ecommerce\Tests\Pages

Name Description
ProductTest No description available EMPTY