DivaVocals / zen_COWOA

COWOA Module for Zen Cart
Other
4 stars 5 forks source link

checkout_confirmation: missing <?php; code shows on page #25

Closed lat9 closed 8 years ago

lat9 commented 8 years ago

When the checkout_confirmation page displays, the characters if ($_SESSION['cart']->show_total() != 0) { ?> show above the Delivery/Shipping information.

Within /includes/templates/{non-responsive}/templates/tpl_checkout_confirmation_default.php, line 45 is missing the <?php leadin: if ($_SESSION['cart']->show_total() != 0) { ?>

The statement should be coded as <?php if ($_SESSION['cart']->show_total() != 0) { ?>

Added: running the zc155 path within the installation.

lat9 commented 8 years ago

Unfortunately, there's more! Simply correcting that statement leads to an "unexpected end-of-file"; it looks like the closing brace for that if-statement should be placed at line 84 within that module.

DivaVocals commented 8 years ago

See if the latest commits addressed this 5524018 & ba76b54