Forestshopkeeper Posted May 10, 2011 Share Posted May 10, 2011 I have completed the 22_ms2 to rc1 upgrade and am working on the rc1 to rc2 upgrade In the instructions there is this section to insert into catalog/shopping_cart.php 210 + $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); 211 + 212 + if (!empty($initialize_checkout_methods)) { 213 + ?> 214 + <tr> 215 + <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 216 + </tr> 217 + <tr> 218 + <td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td> 219 + </tr> 220 + <?php 221 + reset($initialize_checkout_methods); 222 + while (list(, $value) = each($initialize_checkout_methods)) { 223 + ?> 224 + <tr> 225 + <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 226 + </tr> 227 + <tr> 228 + <td align="right" class="main"><?php echo $value; ?></td> 229 + </tr> 230 + <?php I found the area, made the changes, but get the following error message when I go to the webs Fatal error: Call to undefined function: checkout_initialization_method() in website/shopping_cart.php on line 231 I know the line numbers are different, but that is because of other contributions Were does the function call on line 210 above get defined? Link to comment Share on other sites More sharing options...
Forestshopkeeper Posted May 10, 2011 Author Share Posted May 10, 2011 I found the problem. I needed to define the function in includes/classes/payment.php. that function was not listed in the version I had, and there had been no instruction to upgrade it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.