Those of us who maybe have a little bit of a… problem about typographical correctness would rather see the shopping cart block use × (the × HTML entity) instead of the letter x when it displays the quantity of the products therein. The attached patch goes about that. I also attached a before-and-after image. If you can't tell the difference between the two, congratulations; you're a normal, healthy human being.

For those adverse to patching, the same effect can be obtained by adding '@qtyx' => '@qty×' to the $conf['locale_custom_strings_[lang]'] array - see the very bottom of your settings.php file.

Comments

Garrett Albright’s picture

Status: Active » Needs review

Changing status to reflect the presence of a patch.

Garrett Albright’s picture

StatusFileSize
new571 bytes

Looks like it's appearing on the checkout page too. Here's a fix for that.

rszrama’s picture

Status: Needs review » Fixed

Had no clue that entity existed, but apparently Lyle did since it's used in the product dimensions. : D

I've committed both fixes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Island Usurper’s picture

Version: 6.x-2.0-beta6 » 6.x-2.0-rc3
Status: Closed (fixed) » Needs review
StatusFileSize
new1.81 KB

I found a few more places where x was used instead of ×, so I'm reopening the issue.

Ryan, could you make sure for me that PayPal handles it correctly? I'm glad we're using cURL instead of sending XML, since that would keep us from using the entity, and I'm not positive they would display a UTF-8 character.

rszrama’s picture

Issue tags: +ubercamp sprint

Should be a quick fix.

Island Usurper’s picture

Status: Needs review » Fixed

Sure is. Committed.

Status: Fixed » Closed (fixed)
Issue tags: -ubercamp sprint

Automatically closed -- issue fixed for 2 weeks with no activity.