
Originally Posted by
lat9
Sure, send them on. If you'll install "Display Logs" so that I can 'see' what's going on, I'll only need admin-login credentials.
The checkout-loop that @mprough reported in post #1693 above was due to the changes made in #1692, which applied the id="OPC" to all order-totals, causing OPC's jQuery to pick up the value of the order's sub-total instead of the total.
That discrepancy was the cause of the checkout-loop. Here's the correction for the Bootstrap template's /templates/tpl_modules_order_total.php:
Code:
<?php
/**
* Module Template
*
* BOOTSTRAP v1.0.BETA
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_modules_order_totals.php 2993 2006-02-08 07:14:52Z birdbrain $
*/
?>
<?php
/**
* Displays order-totals modules' output
*/
for ($i=0; $i<$size; $i++) { ?>
<?php
//-20200718-lat9-Only apply the id="OPC" for the order's total
$value_parameter = ($GLOBALS[$class]->code == 'ot_total') ? ' id="OPC"' : '';
?>
<tr id="<?php echo str_replace('_', '', $GLOBALS[$class]->code); ?>">
<td colspan="2" class="text-right">
<?php echo $GLOBALS[$class]->output[$i]['title']; ?>
</td>
<td class="text-left"<?php echo $value_parameter; ?>>
<?php echo $GLOBALS[$class]->output[$i]['text']; ?>
</td>
</tr>
<?php } ?>
If you're using that, you'll also need to change the OPC's order-total selector's configuration as identified in post #1692 above!