Jump to content

michal_c

Members
  • Posts

    45
  • Joined

  • Last visited

Recent Profile Visitors

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

michal_c's Achievements

Contributor

Contributor (5/14)

  • Collaborator Rare
  • One Month Later Rare
  • Week One Done Rare
  • First Post Rare
  • Reacting Well Rare

Recent Badges

0

Reputation

  1. Witajcie, Teraz mnie dopadł błąd jak w temacie. Podsyłam kod z tego co wypluł tryb debugowania. Dacie wskazówki co poprawić? Strona padła nagle, gdy nie wprowadzaliśmy żadnych zmian :) (1/1) ContextErrorException Notice: Undefined index: price in d8717862480996089c0b8ccc855bd105ad213446_2.file.product.tpl.php line 165 at Block_170719044363f869fe280702_69384479->callBlock(object(SmartyCustomTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_170719044363f869fe280702_69384479), object(SmartyCustomTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_170719044363f869fe280702_69384479)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_170719044363f869fe280702_69384479', 'product_price_and_shipping', 0) in d8717862480996089c0b8ccc855bd105ad213446_2.file.product.tpl.php line 267 at Block_154583755663f869fe268ae1_30907303->callBlock(object(SmartyCustomTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_154583755663f869fe268ae1_30907303), object(SmartyCustomTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_154583755663f869fe268ae1_30907303)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_154583755663f869fe268ae1_30907303', 'product_miniature_item') in d8717862480996089c0b8ccc855bd105ad213446_2.file.product.tpl.php line 28 at content_63f869fe2949d2_98935892(object(SmartyCustomTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render() in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:[1]catalog/_partials/miniatures/product.tpl', 'ps_newproducts|1|1|1|14', 'classic', 0, 3600, array(), 0, false) in 05e8bcadf36094b37f899ff328a16a2a1ffe3f9c_2.file.product.tpl.php line 40 at content_63f869fe259717_20823747(object(SmartyCustomTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render() in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'ps_newproducts|1|1|1|14', 'classic', 0, 3600, array('product' => object(ProductListingLazyArray), 'position' => 0, 'productClasses' => 'col-xs-6 col-lg-4 col-xl-3'), 0, true) in 20b8be9b5da9e2b249f6a5c8e4f88bfd7f0b0c88_2.file.productlist.tpl.php line 39 at content_63f869fe218241_97619315(object(SmartyCustomTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render() in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/productlist.tpl', 'ps_newproducts|1|1|1|14', 'classic', 0, 3600, array('products' => array(object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray), object(ProductListingLazyArray)), 'productClass' => 'col-xs-6 col-lg-4 col-xl-3'), 0, false) in 4a8df44403a47041b050fac755e17268c2a7c3e7_2.module.psnewproductsviewstemplat.php line 31 at content_63f869fe35c350_36351743(object(SmartyCustomTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render(false, 0) in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false) in SmartyCustomTemplate.php line 44 at SmartyCustomTemplateCore->fetch() in Module.php line 2490 at ModuleCore->fetch('module:ps_newproducts/views/templates/hook/ps_newproducts.tpl', 'ps_newproducts|1|1|1|14') in ps_newproducts.php line 206 at Ps_NewProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 1017 at HookCore::coreRenderWidget(object(Ps_NewProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 964 at HookCore::exec('displayHome') in IndexController.php line 39 at IndexControllerCore->initContent() in Controller.php line 306 at ControllerCore->run() in Dispatcher.php line 518 at DispatcherCore->dispatch() in index.php line 28
  2. Podbijam. Skorzystałem z tego kodu (powieliłem te divy, dodając nowe chceckboxy). Niestety linki nie działają. Tzn. Checkbox działa, wyświetla tekst i odnośnik. Kliknięcie w niego nie powoduje żadnej akcji, ale można otworzyć link w nowej karcie. Ma ktoś pomysł co może powodować błąd? Pomogło wyrzucenie linku poza label. Jednak chciałbym zrozumieć co było nie tak.
  3. Skasowanie pliku (z tą samą wartością) w folderze szablonu pomogło.
  4. W obu są te same treści (poprawne). Wysyła się błędny 😔
  5. Jasne, Problem w tym, że w folderze mails/pl miałem poprawną treść i nigdzie nie widziałem plików ze starą treścią. W folderach szablonów maili dostępnych w mails/themes/ też nie zauważyłem plików pl, dlatego zastanawiam się skąd może je pobierać.
  6. Dla uściślenia - edytowałem wcześniej te pliki i co ciekawe - np. szablon bankwire w tym folderze miał poprawną treść. A do klienta szła wiadomość sprzed zmian. Dlatego nie wiedziałem co się dzieje. Skopiowanie i zmiana nazwy szablonu pomogła. Z jakiegoś powodu może presta pobierała plik z innego miejsca, a gdy przypisałem (w panelu administratora/statusy zamówień) plik z inną nazwą to zadziałało?
  7. Które pliki masz na myśli (szablony maili)? Wstępnie wygląda na to, że skopiowanie szablonu maila (html i txt) i zmiana nazwy pomogła. Oczywiście musiałem przypisać nowy szablon do odpowiadającego mu statusu.
  8. Mam do wyboru szablon classic i modern. Próbowałem wprowadzać zmiany w jednym i drugim, żeby wyłapać gdzie może leżeć problem. Niestety bez efektu.
  9. Witajcie, Mam małego mindfuc*a. Edytuję teksty powiadomień mailowych wysyłanych do klientów (maile transakcyjne). Robię to poprzez zakładkę Międzynarodowy/Tłumaczenia/Modyfikuj tłumaczenia Oczywiście modyfikuję tam HTM i odpowiadający mu TXT. Czyszczę pamięć podręczną i gdy tworzę zamówienie testowe - brak zmian. Sprawdzałem opcję generuj e-maile w Szablonach maili W folderze mails/pl na serwerze widać zmiany w plikach. W edycji statusów zamówień podgląd maila generuje wygląd maila sprzed zmian. Podpowiedzcie proszę co przeoczyłem, albo gdzie popełniam błąd.
  10. Tak dla "potomnych". Jeżeli nie masz plików en, to musisz pobrać paczkę lokalizacyjną en (Międzynarodowy/lokalizacja/Importuj paczkę lokalizacyjną). Wtedy wgrają Ci się pliki na serwer. Zwróć tylko uwagę, czy nie podmieni Ci z automatu np. jednostek miary. Odnośnie wgrywania plików en do pl. Podmieniamy, czy tylko uzupełniamy brakujące?
  11. Ok, poradziłem sobie. /modules/creativeelements/views/css/ce Moduł ma sporo folderów i ciężko było namierzyć...
  12. Witajcie, muszę edytować pliki css i tpl elemetów tworzonych za pomocą modułu Creative Elements (pochodna elementora). Orientujecie się, gdzie szukać tych plików?
  13. Dzięki, Aż tak zaawansowany nie jestem, ale właśnie w ten sposób się uczę. Podsumowując: Tworzę moduł, który korzysta ze zmiennej $category->id (to dobra zmienna dla 1.7?) i za pomocą funkcji if tworzę różne linki, które są zależne od id zwracanej kategorii?
×
×
  • Create New...