If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Built-in Shipping and Payment Modules / re-arrange order on step 2 of 3 - layout changes??

re-arrange order on step 2 of 3 - layout changes??

Locked

Started by pwoens on 23 Jan 2010, 3:53 AM · Views: 919

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Jan 2010, 3:53 AM
#1
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Post #1 by pwoens

How can I put the "special instructions or comments" box at the top of the page in step 2 of 3 during checkout? I would like that box to be emphasized up towards the top instead all the way at the bottom? I tried to move the line of code up in the checkout_payment.php but that doesnt do much for moving it around in order??

23 Jan 2010, 6:58 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

I am fairly sure hat this is the shipping page

Get a copy of /includes/templates/template_defult/templates/tpl_checkout_shipping_default.php to be placed into your template after your edit

This file is not commented as well a few others are so be careful when you cut abd where you insert the following section of code

<fieldset class="shipping" id="comments">
<legend><?php echo TABLE_HEADING_COMMENTS; ?></legend>
<?php echo zen_draw_textarea_field('comments', '45', '3'); ?>
</fieldset>

The body of this page is a form so insure this comes after the opening <form> and pick a place after a php close but before the next php open

Uplooad to see the effect - if bad just delete the edited template copy

Zen-Venom Get Bitten

23 Jan 2010, 4:23 PM
#3
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Post #3 by pwoens

that was it!! Now if I could just the checkout_shipping.php to not white screen on any edits made, i'd be done ;) It doesnt matter what edit's I make to that file, they all cause the white screen??