Jump to content

bestcoding.net

Members
  • Posts

    32
  • Joined

  • Last visited

About bestcoding.net

  • Birthday 01/17/1995

Contact Methods

Profile Information

  • First Name
    Mateusz
  • Last Name
    Bartocha

Recent Profile Visitors

562 profile views

bestcoding.net's Achievements

Newbie

Newbie (1/14)

7

Reputation

  1. Konsola przeglądarki też nie znajduje tej zmiennej? Może jakąś literówkę masz. Sklep jest dostępny publicznie?
  2. Może używasz starszej presty, zerknij co masz w zmiennej: prestashop.cart
  3. W zmiennej 'prestashop' jest dużo danych zawsze aktualnych. prestashop.on( 'updateCart', function () { var wartoscCalegoKoszyka = prestashop.cart.totals.total.amount; });
  4. Zmień nazwę funkcji w klasie głównej modułu, z 'displayShoppingCartFooter' na 'hookDisplayShoppingCartFooter'. Dodatkowo usuń linię z 'global $smarty, $cookie;' bo i tak tego nie używasz.
  5. W sklepie jest oddzielny moduł do obsługi rat: https://addons.prestashop.com/pl/platnosc-karta-lub-platnosc-wallet-/28211-raty-payu.html
  6. $link->getCategoryLink($elementid, $category->link_rewrite) $elementid powinno by liczbą, id kategorii; u ciebie ta zmienna to połączenie: $elementprefix + '-products-' + losowa liczba skoro masz tam dostęp do obiektu kategorii to zrób tak zamiast powyższego: $category->getLink()
  7. Open file /themes/yourThemeName/product.tpl and check conditions to add class `unvisible` to `Add to cart` button.
  8. Check do you have file on your server: /classes/controller/AdminController.php
  9. When the error appears, open browser console and see for errors messages. Chrome: Ctrl+Shift+J (Windows / Linux) or Cmd+Opt+J (Mac) Firefox: Ctrl+Shift+J (or Cmd+Shift+J on a Mac)
  10. Disable cache in admin panel to see template changes.
  11. Enable debug mode to see error message. In /config/defines.inc.php change this: define('_PS_MODE_DEV_', false); to this: define('_PS_MODE_DEV_', true); Paste here error which you will se after enabling debug mode.
  12. You can remove validation for this field. In file /classes/Product.php change definition of `name` field: ... 'name' => array('type' => self::TYPE_STRING, 'lang' => true, /*'validate' => 'isCatalogName',*/ 'required' => true, 'size' => 128), ...
  13. Without having a cookie key set, after the upgrade, clients will still be able to log in. But the key should be set for security. This can be fixed without losing passwords by old customers. Old customers will log in using an empty cookie key, but after logging in, their password will be re-encrypted using the new cookie key. To introduce such change, you have to commission it to a programmer.
  14. Sprawdź czy na pewno plik znajduje się pod tą ścieżką: D:\WebDesign\Serwer\htdocs\prestashop\themes\StarterTheme\config\theme.yml Jeśli plik się tam znajduje to problemem mogą być separatory w ścieżce w windows. W windows używany jest backslash \ a w unix forwardslash /. W komunikacie błędu są użyte oba separatory. Ale pierw przede wszystkim upewnij się, że plik istnieje.
×
×
  • Create New...