Jump to content

Escape double quotes in product name and SEO name Rate Topic   - - - - -

 

Posted 27 August 2011 - 02:26 AM #1

Hello,

Im getting frustrated about this. I am still using a modded 2.03 version.
I made additions myself to suit my needs, so no need to upgrade or all will be lost.

I am creating a csv datafeed file. This file will be imported in cs-cart. All doing fine except, in many cases product names and seo name are like this:

"iphone 4\.html"

Then I get a 404 error. I escaped all the single and duoble quotes, but still in many cases it will trasform the name and link like this.

Can someone please tell me how to solve this?

Furthermore. I would like to ask someone if they succeeded using the import function automatically like i described here:

http://forum.cs-cart...__1#entry109952

Thanks

 
  • The Tool
  • Senior Member
  • Members
  • Join Date: 30-Mar 07
  • 2,382 posts

Posted 27 August 2011 - 02:43 AM #2

The double quotes is/was a long time bug that wasn't fixed until 2.1.4.
CS Cart Upgrade Repair - For sites that are slow and/or just not functioning correctly after upgrade(s). Files and/or Data base Structure. PM me.

 
  • tbirnseth
  • Senior Member
  • Members
  • Join Date: 08-Nov 08
  • 5,232 posts

Posted 27 August 2011 - 03:31 AM #3

Try using the htmlentity of " instead... Might work.
EZ Merchant Solutions

Authorized Reseller - Cart licenses: $305 (lowest reseller price)
Custom B2B Development, Consulting and Special Projects (get a quote).
Commercial addons to meet your business and operations needs.

http://www.ez-ms.com

 

Posted 27 August 2011 - 04:09 AM #4

View Posttbirnseth, on 27 August 2011 - 03:31 AM, said:

Try using the htmlentity of " instead... Might work.

Do u mean escape the product name and seo name in my datafeed with htmlentity ?
I tested it and imported the ned feed, same problem exists.

 
  • tbirnseth
  • Senior Member
  • Members
  • Join Date: 08-Nov 08
  • 5,232 posts

Posted 27 August 2011 - 04:20 AM #5

Well, you probably want to google "html entity" and learn what it is.
But no, you don't escape anything. The """ is the html entity for a quotation mark. So you would replace your quotes with """ (without the quotation marks).
EZ Merchant Solutions

Authorized Reseller - Cart licenses: $305 (lowest reseller price)
Custom B2B Development, Consulting and Special Projects (get a quote).
Commercial addons to meet your business and operations needs.

http://www.ez-ms.com

 

Posted 27 August 2011 - 06:25 AM #6

Yes i did that,

I even removed all the quotes, they dont exist anymore and still the same problem exist

 
  • The Tool
  • Senior Member
  • Members
  • Join Date: 30-Mar 07
  • 2,382 posts

Posted 27 August 2011 - 07:29 AM #7

I'm not about to go search for it especially since the file is large and I am about to go to bed but the bug lies in /controllers/admin/exim.php
CS Cart Upgrade Repair - For sites that are slow and/or just not functioning correctly after upgrade(s). Files and/or Data base Structure. PM me.