Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 "Vulgar Fractions" in Options
Author « Topic »  

KenLane
Advanced Member

USA
422 Posts

Posted - 04/24/2019 :  12:30:35  
In this detail page, I'm trying to get a fraction option to appear for 1/8 in the same format as 1/4 and 1/2.

http://www.austinflightcheck.com/proddetail.php?prod=MyGoFlight_Robinson_Helicopter_Console_Bar_Mount

The same format for 1/8 will appear in the options page but not on the sales detail page.

It returns the code: ‌#8539;

How can I get it to accept the other codes?

I also took a shot at sup and sub tags. Only the code showed up, not the intended fraction format.

Here's a list of other commonly used fractions I'd like to use from time to time:
http://unicodefractions.com/



======
Flight Instructor selling Flight Training Materials & Pilot Supplies
http://www.AustinFlightCheck.com

Andy
ECT Moderator

95440 Posts

Posted - 04/24/2019 :  13:10:35  
Hi Ken

I don't think this is something I've looked at before. What do you have for the working fractions?

Andy

Please feel free to review / rate our software

KenLane
Advanced Member

USA
422 Posts

Posted - 04/24/2019 :  17:54:36  
Right now, I'm using 1/8 as can be seen.

According to sources like the one I referenced, #8539; will return the normal fraction format.

And, it does everywhere but on the pull down menu for options in the sales detail page.

======
Flight Instructor selling Flight Training Materials & Pilot Supplies
http://www.AustinFlightCheck.com

Andy
ECT Moderator

95440 Posts

Posted - 04/25/2019 :  00:38:01  
I set up an example here http://ectwp.com/Black-Tennis-Racket and found the simplest method was copying and pasting from here http://qaz.wtf/u/fraction.cgi?text=21+1%2F2

Andy

Please feel free to review / rate our software

Vince
Administrator

42466 Posts

Posted - 04/25/2019 :  01:20:17  
Hi Ken
While researching your problem I copied and pasted the 1/8 fraction from the site you mentioned...
http://unicodefractions.com/
When I did this, the HTML entity had an extra character inserted so the code for...
⅛
...became...
&#?8539;
This caused the fraction to not display properly, but removing that unprintable character (which is displayed in text editors as a question mark) made everything ok again. I was just wondering if this could have been your problem too?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000