Difference between revisions of "Developers - Modules"

From Zen Cart(tm) Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Template:menuBarDevelopers}}
 
{{Template:menuBarDevelopers}}
 
== Overview ==
 
== Overview ==
Modules are php classes that can be 'dropped' into Zen Cart™ to provide extra functionality during checkout.
+
Modules are php classes that can be dropped into Zen Cart™ to provide extra functionality during checkout.
  
  
Line 7: Line 7:
  
  
=== Payment Modules ===
+
=== ''Payment'' Modules ===
  
These are classes that allow you to add different methods of collecting and validating payment details. This could be something as basic as allowing a COD payment method where no details need to be checked, to connecting to an [http://authorize.net/ Authorize.net] account to validate the credit card details and check that sufficient funds are available.
+
These are classes that allow you to add different methods of collecting and validating payment details. This could be something as basic as allowing a COD payment method where no details need to be checked, to connecting to an [http://reseller.authorize.net/application.asp?id=131345 Authorize.net] account to validate the credit card details and check that sufficient funds are available.
  
  
=== Shipping Modules ===
+
=== ''Shipping'' Modules ===
  
These are classes that are used to calculate the cost of shipping items. They may act locally, or they may connect to service providers (like [http://ups.com/ UPS] or [http://www.usps.com/ USPS]) to calcuate shipping prices.
+
These are classes that are used to calculate the cost of shipping items. They may act locally, or they may connect to service providers (like [http://ups.com/ UPS] or [http://www.usps.com/ USPS]) to calculate shipping prices.
  
  
=== Order Total Modules ===
+
=== ''Order Total'' Modules ===
  
Order total modules are used to calculate/display sub-totals, taxes, totals and other intermediary values for an order. Special order total modules that provide for calculating discounts or special charges are also the province of the order total modules.
+
''Order Total'' modules are used to calculate/display sub-totals, taxes, totals and other intermediary values for an order. Special order total modules that provide for calculating discounts or special charges are also the province of the order total modules.

Latest revision as of 19:41, 2 November 2007

Overview

Modules are php classes that can be dropped into Zen Cart™ to provide extra functionality during checkout.


Currently there are three types of modules.


Payment Modules

These are classes that allow you to add different methods of collecting and validating payment details. This could be something as basic as allowing a COD payment method where no details need to be checked, to connecting to an Authorize.net account to validate the credit card details and check that sufficient funds are available.


Shipping Modules

These are classes that are used to calculate the cost of shipping items. They may act locally, or they may connect to service providers (like UPS or USPS) to calculate shipping prices.


Order Total Modules

Order Total modules are used to calculate/display sub-totals, taxes, totals and other intermediary values for an order. Special order total modules that provide for calculating discounts or special charges are also the province of the order total modules.