Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help with editing shipping.php and the likes


way2savory

Recommended Posts

Posted

I keep getting dummy 'TEXT_INFORMATION" on the page when i enter a very long shipping and return policy. i shortened it up to 3 sentences and it appeared perfectly. when i lengthened it a little (2 paragraphs) it gave me the dummy text again.

 

Does this not allow long texts? with breaks, semi colons, parenth. and such?

 

This is what i had(after i took out line breaks), does anyone see any errors?

<?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', 'AUTHORIZATION FOR RETURN OR REPLACEMENT:
To obtain our authorization to return a defective item for credit or replacement, simply email Customer Support within 30 days of purchase date. We DO NOT accept ANY Non-defective merchandise. 
CONDITIONS for defective merchandise:
a.Merchandise must be in its original minimum inner pack quantity, as shipped.. Broken quantity inner packs are returnable within reason.This includes watches, rings with stones, etc. All of our jewelry carries a warranty.
b.Sample, or catalog supply items are not returnable.(reseller's account)
Returns which do not meet the conditions described in this return policy will be returned.
ITEMS WITH GUARANTEES OR WARRANTIES 
If a purchased item includes a product guarantee or warranty, follow the instructions on the guarantee or warranty for repair or replacement. Please see jewelry warranties.
ITEMS DAMAGED DURING SHIPMENT
All merchandise damaged during shipment is covered by the shipper. If you receive merchandise damaged during shipping, please contact our Customer Service department within 30 days of the date of placement of your order, and your claim will be processed immediately. NOTE: Established procedures by UPS must be complied with or they may deny your claim.
JEWELRY WARRANTIES:
COSTUME JEWELRY
All costume jewelry is covered for 90 days. you may return your damaged (even missing stones!)costume jewelry item(s) for exchange or repair immediately even if the damage was your fault! you must send the warranty information card that came with your item and send it to us(our address is supplied when you contact customer support) along with $8.50 to cover postage to our facility for inspection/replacement or repair and shipping and insurance back to you. This warranty covers any costume jewelry up to a $49.95 price tag value.THIS GUARANTEE DOES NOT COVER ANY 10K, 14K GOLD, GENUINE DIAMOND, STERLING SILVER OR CUBIC ZIRCONIA
FINE JEWELRY
All fine jewelry as defined below is covered for 120 days from date of transaction.
1)Our jewelry is guaranteed to be as described.
2)If unsatisfied by description or workmanship(by fault) You may return to us with all original pristine packaging, packing slips,warranty cards and sales slips.
3)We do not accept buyer's remorse returns or what doesn't qualify under the conditions of defective merchandise.
WATCHES
Waches covered for 30 days from date of transaction.
Warranty covered by respective jewelry warranties, however the batteries are in NO WAY covered by said warranties. If a watch does not work when you get it, please replace the battery with a fresh one before contacting customer support.';?>

 

Thanks.

Posted

You need to escape each ' (apostrophe) used in your text with a \

 

 

example:

reseller's should be reseller\'s and buyer's remorse should be buyer\'s remorse, etc.

 

I think I saw 3, but could have missed one.

GEOTEX from Houston, TX

 

(George)

Posted

:( No. I replaced all of them(usingthe find next feature) and it still isnt working.

 

is there any way i can link to an outside source? this is literally taking up my night.Thanks so much for the help. i hope i find a solution soon.

Posted

take ' out from the normal text u added. whats happenings is that u have ' in the middle of text. php thinks its end of the code.

take them out.

do ctr. F and find those.

 

u should only have one in the begining and one before ?>

 

hope it helps.

Posted

I still havent figured it out, but i added an iframe with src to a shipping .html ( i couldnt format a .txt right :( and it looks good.

 

im just going to skip right to this with my other pages(terms,privacy notice)

 

https://www.savorywholesale.com/store/shipping.php

 

at first i thought it would give me a "this page has secure and non secure item, do you wish to show the nonsecure items?" box , but it didnt. maybe because i have the shipping.html in the secure folder

 

it works, i guess i dont care why lol.

Posted

Just want to say I had the same problem with my shipping.php file

 

But I replaced all ' with\' as suggested and all is okay now.

Archived

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

×
×
  • Create New...