Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Conditions shipping


theherbman

Recommended Posts

/catalog/includes/languages/[iNSERT YOUR LANGUAGE HERE]/conditions.php

 

define('TEXT_INFORMATION', 'Put here your Conditions of Use information.');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Here is a more user friendly way.

 

Take for eample this:

 

define('TEXT_INFORMATION', 'can't won't don't doesn't');

That would give you PHP errors.

 

It should be:

 

define('TEXT_INFORMATION', 'can\'t won\'t don\'t doesn\'t');

"Escaping" the apostrphes.

 

FWRMedia posted a different way to do a define that ingnores the apostrophes.

 

It would go like this:

 

define('TEXT_INFORMATION', <<<END
can't won't don't doesn't
END
);

I think basically you can put anything between

 

<<<END

and

 

END

And the PHP parser won't choke on it.

 

I don't remember what he called it, but it's definitely more user friendly.

:)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Mel,

 

Basically, you need to enter the text onto the privacy.php, conditions.php and shipping.php files located in catalog>includes>languages>english> at least once.

 

If you already have those on your computer, you can copy and paste it as long as it is between the ' '

 

 

 

Chris

Link to comment
Share on other sites

Mel,

 

Basically, you need to enter the text onto the privacy.php, conditions.php and shipping.php files located in catalog>includes>languages>english> at least once.

 

If you already have those on your computer, you can copy and paste it as long as it is between the ' '

 

 

 

Chris

Thanks for your help all done now.

 

Mel

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...