When checking out the main_page=checkout_payment does not not display the order totals on the screen properly. See attachment?
When checking out the main_page=checkout_payment does not not display the order totals on the screen properly. See attachment?
https://www.zen-cart.com/showthread....58#post1366958
post # 821 if this doesn't show up as I intended.
Rick
RixStix (dot) com
aka: ChainWeavers (dot) com
You can just use my PR to fix this:
https://github.com/zencart/zencart/pull/2972
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
The code that you are referring to does not look like my 156c code tpl_checkout_shipping_default.php
It looks like 156c code is different than your fix.
'<div id="checkoutBillto" class="floatingBox back">'
'<?php if (MAX_ADDRESS_BOOK_ENTRIES >= 2) { ?>
'<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_PAYMENT_ADDRESS, '', 'SSL') . '">' . 'zen_image_button(BUTTON_IMAGE_CHANGE_ADDRESS, BUTTON_CHANGE_ADDRESS_ALT) . '</a>'; ?></div>
'<?php } ?>
'<address><?php echo zen_address_label($_SESSION['customer_id'], $_SESSION['billto'], true, ' ', '<br />'); ?></address>
'</div>
Last edited by jodean; 5 Apr 2020 at 04:33 PM.
The PR shows a one line change at line 33 of includes/templates/template_default/templates/tpl_checkout_shipping_default.php.
Stick in a <br /> right there.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Please disregard the previous post. It was a mistake.
Bottom line the tpl.checkout_shipping_default.php file does not exist in v156c?
What am i missing?
I assume you are using the responsive_classic template.
includes/templates/template_default/templates/tpl_checkout_shipping_default.php DOES exist
includes/templates/responsive_classic /templates/tpl_checkout_shipping_default.php DOES NOT exist
Copy first file to responsive_classic folder, creating second file.
Edit second file as explained above.
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
- little gratitude will go a long way
- hard to imagine that @swguy PR is wrong, and your code is correct
- very easy to miss things; i would double check before posting
- from what i can tell, your file has been modified; OR more likely you are looking at tpl_checkout_payment_default.php. which is not where the fix is located. but 1 of these 2 things is correct.
The file is not in the download zen-cart-v1.5.6c-07162019. Is this incorrect download?
Hang on ... I gave the wrong link ...
(There are multiple bugs in 1.5.6 checkout with responsive classic.)
That Software Guy. My Store: Zen Cart Modifications
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Bookmarks