Jump to content

0kph

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • Location
    Wroclaw
  • Activity
    Freelancer

0kph's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • First Post Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. I gdzie znalazłeś? Bo widzę że już masz sensowny wpis.
  2. W tej chwili zdałem się na support nazwy.pl i czekam co oni wypatrzą ze swojej strony, bo bez wglądu w log serwera smtp praktycznie nie ma szans na rzeczową analizę przypadku. Znajomy zwrócił mi uwagę, że te kłopoty zeszły się w czasie z ogłoszeniem przez nazwę wdrożenia IPSa. Może to zbieg okoliczności, a może nie. https://www.nazwa.pl/blog/2019/10/29/nazwa-pl-wdrozyla-system-wykrywania-i-zapobiegania-wlamaniom-ips/ EDIT: Problem został skutecznie rozwiązany przez support nazwa.pl i nie dotyczył Presty samej w sobie. Szczegóły nie są mi znane.
  3. Dziś po wielu miesiącach nie dotykania panelu presty maile przestały przychodzić. Próba wysłania maila testowego kończy się komunikatem: "Connection could not be established with host xxxxxxxxxxxxxxxx.nazwa.pl [Connection refused #111] Zna ktoś sposób, aby poznać więcej szczegółów takiego odrzucania połączeń? Wersja PrestaShop: 1.7.1.1 Wersja PHP: 5.6.38 Metoda obsługi poczty: Używasz swoich własnych parametrów SMTP. Serwer SMTP: xxxxxxxx.nazwa.pl Nazwa użytkownika SMTP: Zdefiniowany Hasło SMTP: Zdefiniowany Szyfrowanie: ssl Port SMTP: 465
  4. For 1.7.2 I'm using simple solution. Works on logged customers and guests. <?php class ProductController extends ProductControllerCore { public function process() { parent::process(); $cenaKatalogowa = 0; $spec_price = 0; $cenaKatalogowa = $this->product->getPriceStatic($this->product->id, false, 0, 6, null, false, true, 1, false, null, null, null, $spec_price, false, false);// <------ this is what you need to see price without group discount $this->context->smarty->assign(array( 'cena_katalogowa' => $cenaKatalogowa, )); } } Change 'cena_katalogowa' to base_price or 'raw_price and in 'product.tpl' you can use {$base_price} or {$raw_price} Did not tested with other type of discount. How to use: 1) make new file ProductController.php (or open existing) in ps_root/override/controllers/front/ 2) put content inside (or add it if you already have controler)
  5. You need to know about issue connected with the option "Set required fields for this section" from Back Office (at least in 1.7.1.1). Eg.: when you set the 'phone' field as 'required' and you have already customers in database who did not enter phone number during last orders, they will not able to make new orders. They will get Error 500 screen. My customers was not able to find out why they havegot this nic error... IMHO the option should has the warning about consequences it or there should check all entries in database before save new set of required fields.
  6. First of all, if you have all categories in csv file: - make database backup - make database backup again, for sure ;-) - mark "Delete all categories before import" set to Yes. You clear all categories tables. - in next window put "2" in field "Line to skip", because categories with ID 1 and Id 2 are created by Prestashop automatically. If you will do it, You don't need edit csv file.
×
×
  • Create New...