Jump to content

karaya

Members
  • Posts

    4
  • Joined

  • Last visited

1 Follower

Profile Information

  • Location
    Praha

Recent Profile Visitors

2,163,895 profile views

karaya's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • First Post Rare
  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

1

Reputation

  1. I hade some problem with Faceted Search - when I click to reset, it was broken. I have tested many versions - next I bought PM Advanced Search 4 - it´s good module, but when I have many combinations, it´s slow. My idea is create Ajax direct search from database and show more products by ID´s.
  2. Thank you very much, but I want create my own filter and idea was to show all results through one multi link.
  3. Hello, here is a direct link for 1 product: https://www.domain.com/index.php?controller=product&id_product=101 Is it some way, how to write link for more selected products on one page? For example... https://www.domain.com/index.php?controller=product&id_product=101,102,103 or https://www.domain.com/index.php?controller=product&id_product=[101,102,103] Thank you very much. Josef F.
  4. The support for Prestashop 1.5.4.1 on PHP7 File: /classes/ObjectModel.php Line number: approx. 981 Original code part: // Checking for fields validity // Hack for postcode required for country which does not have postcodes if (($value = Tools::getValue($field, $this->{$field})) || ($field == 'postcode' && $value == '0')) { if (isset($data['validate']) && !Validate::$data['validate']($value) && (!empty($value) || $data['required'])) $errors[] = '<b>'.self::displayFieldName($field, get_class($this), $htmlentities).'</b> '.Tools::displayError('is invalid.'); else { if (isset($data['copy_post']) && !$data['copy_post']) continue; if ($field == 'passwd') { if ($value = Tools::getValue($field)) $this->{$field} = Tools::encrypt($value); } else $this->{$field} = $value; } } } New code part: // Checking for fields validity // Hack for postcode required for country which does not have postcodes if (($value = Tools::getValue($field, $this->{$field})) || ($field == 'postcode' && $value == '0')) { if (isset($data['validate']) && !call_user_func('Validate::'.$data['validate'],$value) && (!empty($value) || $data['required'])) $errors[$field] = '<b>'.self::displayFieldName($field, get_class($this), $htmlentities).'</b> '.Tools::displayError('is invalid.'); else { if (isset($data['copy_post']) && !$data['copy_post']) continue; if ($field == 'passwd') { if ($value = Tools::getValue($field)) $this->{$field} = Tools::encrypt($value); } else $this->{$field} = $value; } } }
×
×
  • Create New...