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

Next revision
Previous revision
tutorials:development:auto_check_extras [2008/12/10 23:53]
jonyo created
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 93: Line 94:
   
  //required by system  //required by system
- public function geoCart_cartDisplay(){ + public function getDisplayDetails ($inCart){ 
- return '';+ return false;
  }  }
   
Line 118: 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.1228953199.txt.gz · Last modified: 2014/09/25 16:55 (external edit)