Announcement

Collapse
No announcement yet.

ShippingSelect Construction

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ShippingSelect Construction

    Can anyone advise on how the ShippingSelect dropdown list in the Checkout pages is built?

    I'm using UTF-8 as the site requires this for the display of foreign language content and so I've run into the £ sign issue.

    I've fixed the incorrect currency displays in other areas with a PHP function, but this isn't working for the ShippingSelect variable.

    Any thoughts on what's going on under the bonnet on this would be much appreciated.

    Many Thanks,

    Alan
    Last edited by OakRidge; 01-Sep-2012, 01:05 PM. Reason: Additional info in the heading
    Alan Morris
    OakRidge Internet Ltd

    #2
    I seem to have resolved the problem of £ signs in the dropdown list.

    In ShippingTemplate.pl at around line 485, I've inserted

    $sClassLabel =~ s/£/£/g;

    before the lines:

    $sSelectHTML .= sprintf("<OPTION %s Value='%s'>%s\n",
    $sSelected, $sClassID, $sClassLabel);

    Hope this helps anyone else with this issue.

    Alan
    Alan Morris
    OakRidge Internet Ltd

    Comment

    Working...
    X