Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tables in the Delivery & Returns Page


newmeat

Recommended Posts

Another 'Newbie' question.....

 

In catalog/includes/languages/english/shipping.php there is a bit where you can 'Enter your shipping text here'

 

Now I want to have text and then the delivery rates in a table. I have pasted the text and code between the brackets but get a:

 

Parse error: syntax error, unexpected T_STRING in /home/sites/tartanmarine.co.uk/public_html/store/includes/languages/english/shipping.php on line 323

 

I guess I am trying to do some wrong between html and php

 

The code on line 323 is:

<P><BR> <BR><STRONG>Overseas:</STRONG> All orders will be despatched using Business Post or DHL which guarantees delivery anywhere in the world within 5 days. Carriage will be charged at cost. Please note that for countries in the EEC, VAT will be charged at the standard rate.<BR><BR><STRONG>Carriage free for all <U>UK mainland</U> orders over £100 (Excluding foils, spars, sails, boats and trailers).<BR><BR><BR>VAT<BR></STRONG>Prices shown are inclusive of VAT where applicable. Children's clothing and books are VAT exempt. Export orders can be charged without VAT.</P>
<P> </P></TD></TR></TBODY></TABLE>');

 

Anyone any ideas why it doesn't like it???

 

Can you put tables between ' ' in php??

Link to comment
Share on other sites

Here you go

this is the complete page, from catalog /includes / languages / english / shipping.php

 

 

<?php

/*

$Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Shipping & Returns');

define('HEADING_TITLE', 'Shipping & Returns');

 

define('TEXT_INFORMATION', '<P><BR> <BR><STRONG>Overseas:</STRONG> All orders will be despatched using Business Post or DHL which guarantees delivery anywhere in the world within 5 days. Carriage will be charged at cost. Please note that for countries in the EEC, VAT will be charged at the standard rate.<BR><BR><STRONG>Carriage free for all <U>UK mainland</U> orders over £100 (Excluding foils, spars, sails, boats and trailers).<BR><BR><BR>VAT<BR></STRONG>Prices shown are inclusive of VAT where applicable. Children's clothing and books are VAT exempt. Export orders can be charged without VAT.</P>

<P> </P></TD></TR></TBODY></TABLE>');');

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

<?php

/*

$Id: shipping.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Shipping & Returns');

define('HEADING_TITLE', 'Shipping & Returns');

 

define('TEXT_INFORMATION', '<P><BR> <BR><STRONG>Overseas:</STRONG> All orders will be despatched using Business Post or DHL which guarantees delivery anywhere in the world within 5 days. Carriage will be charged at cost. Please note that for countries in the EEC, VAT will be charged at the standard rate.<BR><BR><STRONG>Carriage free for all <U>UK mainland</U> orders over £100 (Excluding foils, spars, sails, boats and trailers).<BR><BR><BR>VAT<BR></STRONG>Prices shown are inclusive of VAT where applicable. Children's clothing and books are VAT exempt. Export orders can be charged without VAT.</P>

<P> </P></TD></TR></TBODY></TABLE>');

?>

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

You have

 

Children's

 

which has an unescaped apostrophe.

 

Sh*t forgot all about that, many thanks. The bit of code I pasted above was only part of what I was trying to put in.

 

Now forgetting about the unescaped apostrophe would the follow be alright???

 

Forget that I have tried it and it works fine......thanks for all your help!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...