Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

EP issues with quotes in description


jackrabbit

Recommended Posts

If you are having problems uploading descriptions with quotes using easy populate the situation can be resolved by making sure that your easypopulate.php file has this code:

// **** Quote -> Escape character conversion ****
// If you have extensive html in your descriptions and it's getting mangled on upload, turn this off
// set to 1 = replace quotes with escape characters
// set to 0 = no quote replacement
global $replace_quotes;
$replace_quotes = false;

 

The setting is set to true by default.

 

Double quotes do not work so do not use them in your descriptions. You can only use single quotes that are escaped: \' That was what worked for me.

 

I've written this because I have seen other posts with the same problem and no answer for them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...