Hi David,
Some of my products have quotation around the title. I have read this thread => http://www.pricetapestry.com/node/3917 but still cannot shift the quotes.
{link saved}
Also the quotes are are being converted to quot in the product url.
I have checked my widget.php and tapestry.php files and the are as per the original.
Where else should I check for problems?
Thanks,
Simon
Hi David,
Great software, and great that it can be modified for our own use.
I have a similar problem with quotes at the beginning and end of a field but I don’t want to remove the quotes from within the field, I can use “ "”
to remove from the end of the field but I can’t work out how to remove the quote from the beginning.
Also could you point me in the right direction for a list of regular expressions that can be used in the search and replace?
Thanks in advance,
Mark.
Hi Mark,
Thanks for your comments!
The built in Search and Replace filter doesn't support regular expressions however there is code for a pregReplace filter in this thread.
With that in place, you can match the beginning of the field with the ^ anchor, so as the search expression have a go with
^"
...and leave replace empty.
Hope this helps!
Cheers,
David.
--
PriceTapestry.com
Hi David,
I got an error at first but after looking at this thread a little bit closer I placed "/^quot;/
" without quotes into the search box and it works a treat.
Thanks,
Mark
Hi Simon,
That's a new one! It would seem that the product names and descriptions are enclosed with the HTML entity for the single quote - "
To fix this, for this feed add a Search and Replace filter to the Product Name and Description fields with the following in the Search box:
"
...and the replace box empty. Re-import, and that should do the trick...
Cheers,
David.
--
PriceTapestry.com