Jump to content

Paul_PL

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Paul_PL's Achievements

Newbie

Newbie (1/14)

5

Reputation

  1. Since almost every link is rewriten by php and .htaccess redirect every link by index.php it can be done using php insted of htaccess. Create new file called old_site_redirect.php and pase code below (change old_url and new url to real path $url_redir_maps = array( '/some_old_url.html' => '/some_new_url', '/old_url2' => '/new_url2', (...and so on) ); if(in_array(@$_SERVER['REQUEST_URI'], array_keys($url_redir_maps))){ header("HTTP/1.1 301 Moved Permanently"); header("Location: ".$url_redir_maps[@$_SERVER['REQUEST_URI']]); exit; } Now in prestashop index.php include this file on top of this file so it looks like this: require_once('old_site_redirect.php'); require(dirname(__FILE__).'/config/config.inc.php'); Dispatcher::getInstance()->dispatch(); I've checked on PS 1.6 and works great. Hope this help someone
  2. Hello, I have the same problem, RedirectMatch 301 old_url1 new_url1 Doesn't work, it do nothing because prestashop have 2 rules RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] Which redirect everything to index.php and later url is rewritten by PHP. If anyone have idea how to solve this problem please write us.
  3. Dzięki wielkie, widziałem to, ale ma to zasadniczą wadę - płaci się miesięcznie/rocznie abonament Wolę kupić moduł jednorazowo a takowego nigdzie nie znalazłem choć naszukałem się sporo. Jakby ktoś miał - proszę o kontakt
  4. Witam czy ktoś zna może moduł płatny/bezpłatny, integrujący prestę z pocztą polską? Ew. czy ktoś byłby w stanie coś takiego napisać?
  5. Witam wszystkich, czy jest możliwość albo czy zna ktoś moduł który robi coś takiego że jeśli jest ustawiony rabat na produkt (wyświetla się w prices-drop) to automatycznie rabaty przypisane poszczególnym klientom poprzez grupy rabatowe nie sumują się razem z rabatem danym na produkt? Przykład: Cena "normalna" produktu - 10zł Dajemy rabat na produkt - 10% i wszyscy mogą go kupić wtedy za 9zł Klient przypisany do grupy rabatowej na kategorię w której ten produkt się znajduje ma 10% na całą kategorię - czyli zobaczy cenę o 20% niższą od standardowej tak? Chciałbym żeby przy takich produktach z rabatem - rabaty na kategorię się nie liczyły. Będę wdzięczny za pomoc
  6. HI, I'm searching for some module which can customize homepage product and title, If I want show product from specified category - i check this category, If I want to display some specified product - I'll check it and name whole box i.e. "Some special product on March" Is there any modulu which can do that? I have Prestashop 1.5.3 Regards
×
×
  • Create New...