Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Adding text to checkout_shipping.php

Adding text to checkout_shipping.php

Locked

Views: 2,082

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
8 Sep 2009, 7:11 AM
#1
swingandmiss avatar

swingandmiss

Zen Follower

Join Date:
Apr 2007
Posts:
138
Plugin Contributions:
0

Adding text to checkout_shipping.php

I'd like to add some text near the bottom of the checkout_shipping page (info about standard shipping times for the options). I've copied

/includes/languages/english/checkout_shipping.php

to

/includes/lanquages/english/my_template/checkout_shipping.php

I can modify the text in the default file, so I know it's in the correct place. However, I can't add any new text (trying with a simple echo). Any ideas?

8 Sep 2009, 3:03 PM
#2
swingandmiss avatar

swingandmiss

Zen Follower

Join Date:
Apr 2007
Posts:
138
Plugin Contributions:
0

Re: Adding text to checkout_shipping.php

Here is the wiki page I am using for reference.

http://www.zen-cart.com/wiki/index.php/Checkout_shipping_page

An example, I can change the HEADING_TITLE on the new file and it shows up on my site. But if I add an echo, nothing shows up.

9 Sep 2009, 4:30 PM
#3
swingandmiss avatar

swingandmiss

Zen Follower

Join Date:
Apr 2007
Posts:
138
Plugin Contributions:
0

Re: Adding text to checkout_shipping.php

Nothing?

11 Sep 2009, 12:28 AM
#4
newbie76 avatar

newbie76

Zen Follower

Join Date:
Aug 2009
Posts:
100
Plugin Contributions:
0

Re: Adding text to checkout_shipping.php

To add text on checkout shipping page you need to copy:

includes/templates/template_default/templates/tpl_checkout_shipping_default.php

To:

includes/templates/your_templatet/templates/tpl_checkout_shipping_default.php

edit it there and to add text near bottom of page find:

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE_CHECKOUT, BUTTON_CONTINUE_ALT); ?></div>

and add your text above it, for example I have used:

<br /><center><b>We endeavour to despatch within 2 working days and ship by either royal mail recorded delivery or parcelforce24, estimated time for delivery is 3-4 working days</b></center><br />

Which gives this result: