This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tutorials:development:auto_check_extras [2008/12/30 15:28] jonyo Update for renamed geoCart_cartDisplay() to getDisplayDetails($inCart) |
tutorials:development:auto_check_extras [2016/10/05 23:07] (current) geojames |
||
|---|---|---|---|
| Line 26: | Line 26: | ||
| <?php | <?php | ||
| //file / | //file / | ||
| + | require_once CLASSES_DIR . PHP5_DIR . ' | ||
| class auto_check_listing_extrasOrderItem extends geoOrderItem | class auto_check_listing_extrasOrderItem extends geoOrderItem | ||
| { | { | ||
| Line 78: | Line 79: | ||
| //required by system, doesn' | //required by system, doesn' | ||
| - | public static function geoCart_initSteps(){ | + | public static function geoCart_initSteps($allPossible=false){ |
| } | } | ||
| Line 92: | Line 93: | ||
| } | } | ||
| - | //required by system, Geo 4.0.0 RC10 and earlier. | + | //required by system |
| - | public function geoCart_cartDisplay(){ | + | |
| - | return ''; | + | |
| - | } | + | |
| - | + | ||
| - | //required by system, in Geo 4.0.0 RC11 and after. | + | |
| public function getDisplayDetails ($inCart){ | public function getDisplayDetails ($inCart){ | ||
| return false; | return false; | ||
| Line 123: | Line 119: | ||
| - If everything is done correctly, when placing a listing, the listing extras should start out checked by default. < | - If everything is done correctly, when placing a listing, the listing extras should start out checked by default. < | ||
| - | **Note: This is a brand new tutorial.** | + | |