Jump to content

aleksey_bober

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    Aleksey
  • Last Name
    Bober

aleksey_bober's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Спасибо. Была таже проблема с интернет магазином детской одежды. Но, как я понял, потому что в русской локализации используются URL-параметры kategorii и brend. Например, http://komix.com.ua/12-malyshki#/kategorii-chelovechki_i_pesochniki/brend-cichild-san_bebe Тогда как модуль ожидает конкретно categories и manufacturer. Поблему решил непосредственное подменой параметров в коде. Как решить описал в другой ветке.
  2. The same issue I had with russian localization. There I had parameters kategorii and brend instead of categories and manufacturer in the URL. So preseletion also didn't work for me. That's because blocklayered-ajax.php expect categories and manufacturer parameters. I didn't find where it could be changed. If anybody knows, please tell. I created a little hack. I replace parameters in javascript code each time before module performs request to the server. In /your-theme/js/modules/blocklayered/blocklayered.js find following code: var params = window.location.href.split('#')[1]; reloadContent('&selected_filters='+params); and update to: var params = window.location.href.split('#')[1]; if (params) { params = params .replace(/kategorii/i, 'categories') .replace(/brend/i, 'manufacturer'); } reloadContent('&selected_filters='+params); IMPORTANT: instead of kategorii and brend you need to put parameters used in your locale.
×
×
  • Create New...