// Changing Typo preserving backward compatibility

This commit is contained in:
Jerome Nadaud
2013-11-25 11:02:40 +01:00
parent f588a2c0c3
commit d1c9ec8e09
5 changed files with 29 additions and 7 deletions
@@ -40,7 +40,7 @@
//<![CDATA[
$(document).ready(function()
{
$('.selectPrductSort').change(function()
$('.selectProductSort').change(function()
{
var requestSortProducts = '{$request}';
var splitData = $(this).val().split(':');
@@ -53,7 +53,7 @@
<div class="{$container_class}">
<form id="productsSortForm" action="{$request|escape:'html':'UTF-8'}">
<select class="selectPrductSort">
<select class="selectProductSort">
<option value="{$orderbydefault|escape:'html':'UTF-8'}:{$orderwaydefault|escape:'html':'UTF-8'}" {if $orderby eq $orderbydefault}selected="selected"{/if}>{l s='Sort by'}</option>
{if !$PS_CATALOG_MODE}
<option value="price:asc" {if $orderby eq 'price' AND $orderway eq 'asc'}selected="selected"{/if}>{l s='Price: Lowest first'}</option>