Difference between revisions of "Developers - Shipping Classes"

From Zen Cart(tm) Wiki
Jump to: navigation, search
m (Introduction)
m
 
Line 1: Line 1:
 
{{Template:menuBarDevelopers}}
 
{{Template:menuBarDevelopers}}
 
== Introduction ==
 
== Introduction ==
Shipping modules consists of 2 files.
+
Shipping modules consists of two files.
  
 
The shipping class is stored in
 
The shipping class is stored in
Line 8: Line 8:
 
while all text is stored in the appropriate language file
 
while all text is stored in the appropriate language file
 
:includes/languages/<current language>/modules/shipping/<module name>.php
 
:includes/languages/<current language>/modules/shipping/<module name>.php
 +
  
 
== Shipping Class ==
 
== Shipping Class ==
 +
 +
 
== Anatomy of a Shipping Module ==
 
== Anatomy of a Shipping Module ==
 
=== Class Names ===
 
=== Class Names ===
Line 18: Line 21:
 
=== remove Method ===
 
=== remove Method ===
 
=== keys Method ===
 
=== keys Method ===
 +
 +
 
== Tips & Tricks ==
 
== Tips & Tricks ==
 +
 +
 
== Trouble Shooting ==
 
== Trouble Shooting ==

Latest revision as of 18:37, 26 July 2006

Introduction

Shipping modules consists of two files.

The shipping class is stored in

includes/modules/shipping/<module name>.php

while all text is stored in the appropriate language file

includes/languages/<current language>/modules/shipping/<module name>.php


Shipping Class

Anatomy of a Shipping Module

Class Names

Constructor Method

quote Method

check Method

install Method

remove Method

keys Method

Tips & Tricks

Trouble Shooting