jen_jl Posted June 25, 2003 Posted June 25, 2003 The following page is catalogincludeslanguagesenglishshipping.php <?php /* $Id: shipping.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', 'Enter your shipping info here.'); ?> I want to enter my text for shipping and returns. I know it needs to go on the following line where 'Enter your shipping info here.' is. define('TEXT_INFORMATION', 'Enter your shipping info here.'); How do I format my text. I tried HTML codes, but that only gave me errors. I've gathered that the <B> code works, but what else? Thanks! Jennifer
wizardsandwars Posted June 25, 2003 Posted June 25, 2003 Actually, all html will work in there. You just have to be careful iwth the quotes and single quotes. However, it's probably a better idea to concnetrate more on formatting iwth your stylesheet. ------------------------------------------------------------------------------------------------------------------------- NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit. If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.
jen_jl Posted June 26, 2003 Author Posted June 26, 2003 When you say watch your quotes, should I be using ' or " in the html code?
Guest Posted June 26, 2003 Posted June 26, 2003 You should be using " If you have any words which use ' eg: don't type it as don't This should stop all the errors
jen_jl Posted June 26, 2003 Author Posted June 26, 2003 Here is the code on the page. catalogincludeslanguagesenglishshipping.php <?php /* $Id: shipping.php,v 1.4 2002/11/19 01:48:08 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('NAVBAR_TITLE', 'Shipping & Returns'); define('HEADING_TITLE', 'Shipping & Returns'); define('TEXT_INFORMATION', '<P><B><U>Payment Methods</U></B> <P>TracksideRacersSupply.com accepts Visa, Mastercard, American Express and Discover. North Carolina residents will be charged 7.5% sales tax.</P><BR> <P><B><U>Shipping</U></B><BR> <P>Most orders are shipped within 2 business days except during long race weekends. International shipments???</P><BR> <P><B><U>Returns and Cancellations</U></B> <P>TracksideRacersSupply.com will refund returned merchandise purchased from TracksideRacersSupply.com within 15 days of the delivery date. The merchandise must be unused, uninstalled, and without damage to the product or manufacturer's original packaging. A 15% restocking fee will be charged for all returned items, unless the order was incorrectly fulfilled by TRS.com.</P> <P>Return authorizations are required for all returns. Contact <A href="mailto:[email protected]"><B>TRS.com via email</B></A> to receive a return authorization. Please include the invoice/order # and your reason for return. After authorization, we will refund your money for the amount of the purchase less shipping and handling charges.</P> <P>Orders may be canceled, with no charge to you, if the order has not been shipped.</P><BR> <P><B><U>Contact Us</U></B> <P>For product or general information contact <A href="mailto:[email protected]"> <B>[email protected]</B></A>.<BR> For return authorization send an email to <A href="mailto:[email protected]"> <B>[email protected]</B></A>.</P><BR> <P><B><U>Security and Privacy</U></B> <P>We utilize VeriSign SLL, Secure Socket Layer, encryption to provide you with a secure transaction. All transactions that contain sensitive data will be performed using SLL encryption. <P>All customer information is kept private and is used for internal marketing purposes only. We do not sell our customers information.</P><BR><BR> <P>Thanks for shopping TracksideRacersSupply.com.</P>'); ?> I get the following error from this above page. Parse error: parse error, unexpected T_STRING in /catalog/includes/languages/english/shipping.php on line 27 Here is line 27 of the page http://www.tracksideracerssupply.com/catal...og/shipping.php <!-- header //--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign="middle"><a href="http://www.tracksideracerssupply.com/catalog/default.php"><img src="images/tracksidesplat_vsm.jpg" border="0" alt="Logo" title=" Logo " width="135" height="112"></a></td> <td align="right" valign="bottom"><a href="http://www.tracksideracerssupply.com/catalog/account.php"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="30" height="30"></a> <a href="http://www.tracksideracerssupply.com/catalog/shopping_cart.php"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="30" height="30"></a> <a href="http://www.tracksideracerssupply.com/catalog/checkout_shipping.php"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="30" height="30"></a> </td> </tr> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation" height="25"> <td class="headerNavigation"> <a href="http://www.tracksideracerssupply.com" class="headerNavigation">Top</a> » <a href="http://www.tracksideracerssupply.com/catalog/default.php" class="headerNavigation">Catalog</a> » <a href="http://www.tracksideracerssupply.com/catalog/shipping.php" class="headerNavigation">NAVBAR_TITLE</a></td> <td align="right" class="headerNavigation"><a href="http://www.tracksideracerssupply.com/catalog/account.php" class="headerNavigation">My Account</a> | <a href="http://www.tracksideracerssupply.com/catalog/shopping_cart.php" class="headerNavigation">Cart Contents</a> | <a href="http://www.tracksideracerssupply.com/catalog/checkout_shipping.php" class="headerNavigation">Checkout</a> </td> <TR bgcolor='#E085C2' height="15"><TD> </TD><TD> </TD></TR> </tr> </table> <!-- header_eof //--> Line 27, of the above code is <tr class="headerNavigation" height="25"> I will leave the broken page posted in case the above doesn't make sense. Thanks
Guest Posted June 26, 2003 Posted June 26, 2003 I have just been to your shipping page and it works fine. There are no errors. Maybe you checked the page before while the updated file was still uploading
jen_jl Posted June 26, 2003 Author Posted June 26, 2003 You should be using "If you have any words which use ' eg: don't type it as don't This should stop all the errors I found the error. After I posted all of the above post, I saw cralyn's post. I found that I did have a ' in a word. I forgot about that rule. Thanks for pointing out the obvious that went right over my head! :P :-) :lol:
jen_jl Posted June 26, 2003 Author Posted June 26, 2003 Thanks Craig, I think we are posting in between each other messages! Thanks!!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.