VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: dsrpmedia on January 24, 2017, 18:46:05 PM

Title: allow quotemarks (symbol for inches) in titles
Post by: dsrpmedia on January 24, 2017, 18:46:05 PM
Hi

I am putting together a tools site - unfortunately most of the tools have the size designated in inches in their title - ie 1/4" Socket etc

unfortunately the quote marks (") are breaking the catalogue - the titloe stops at the quotemark - eg  1/4" Socket displays as 1/4 etc

is there some way i can force the titles to accept quotemarks?

SOLVED using alt code-  "

Title: Re: allow quotemarks (symbol for inches) in titles
Post by: mhilliard on November 17, 2017, 00:55:08 AM
Hi, we're having the same problem with quote marks around the titles of certain products, for example:

Gnome - "Big Papa"

This will save and show correctly on the front end of the site but anything in the Product Name field with quote mars will disappear, and look like this:

Gnome -

Which presents problems if you have a whole category of gnomes with clever names. Did you ever find a solution?
Title: Re: allow quotemarks (symbol for inches) in titles
Post by: GJC Web Design on November 20, 2017, 00:48:50 AM
as he says!

SOLVED using alt code-  "
Title: Re: allow quotemarks (symbol for inches) in titles
Post by: Ghost on November 20, 2017, 10:33:48 AM
That's not a proper solution though. Quotes should be escaped on display.
Title: Re: allow quotemarks (symbol for inches) in titles
Post by: Kuubs on November 20, 2017, 15:32:39 PM
Quote from: Ghost on November 20, 2017, 10:33:48 AM
That's not a proper solution though. Quotes should be escaped on display.
Problem is that you cannot save the quote. Because Virtuemart strips that. So the solution is perfect.
Title: Re: allow quotemarks (symbol for inches) in titles
Post by: atp on April 04, 2019, 21:12:58 PM
How can I display the quotemark " as inches in the Custom Field? I have tried the alt code and it works but then it is converted to " after saving.
Then if I save the product again the " marks erase everything after. I have thousands of products that require multiple dimensions in inches.
Title: Re: allow quotemarks (symbol for inches) in titles
Post by: diri on April 05, 2019, 07:35:40 AM
″ (not ′)?
Title: Re: allow quotemarks (symbol for inches) in titles
Post by: atp on April 08, 2019, 16:11:14 PM
Diri, Thank you! Thats it!
Title: Re: allow quotemarks (symbol for inches) in titles
Post by: diri on April 09, 2019, 07:45:39 AM
Glad to be of help and Thank You for response.  :-*