Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

chuckg

Archived
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Real Name
    Chuck Griffith

chuckg's Achievements

  1. Seems like there is a small problem with quotes in product descriptions: The code assumes that if the last character is a quote then there are bracketing quotes that have to be removed. Actually, if the description has dimensions in it and the last character is a (") meaning inches, then the 'inch' character and the first character are removed. I altered the code as follows: // check if the last character is a quote; // if it is, chop off the 1st and last character of the string. if (substr($items[$i],-1) == '"' && substr($items[$i],0,1) == '"'){ Thanks for this great piece of work for which osCommerce would be useless to us. chuckg
×
×
  • Create New...