User Tools

Site Tools


tutorials:development:auto_check_extras

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 /addons/auto_check_extras/order_items/auto_check_listing_extras.php //file /addons/auto_check_extras/order_items/auto_check_listing_extras.php
 +require_once CLASSES_DIR . PHP5_DIR . 'OrderItem.class.php';
 class auto_check_listing_extrasOrderItem extends geoOrderItem class auto_check_listing_extrasOrderItem extends geoOrderItem
 { {
Line 78: Line 79:
   
  //required by system, doesn't have to do anything though  //required by system, doesn't have to do anything though
- 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.  Can be removed in RC11 and after + //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.**+
tutorials/development/auto_check_extras.1230650927.txt.gz · Last modified: 2014/09/25 16:55 (external edit)