Jump to content

c64girl

Members
  • Posts

    470
  • Joined

  • Last visited

  • Days Won

    2

c64girl last won the day on August 13 2024

c64girl had the most liked content!

Profile Information

  • Location
    Poland
  • Activity
    Other

Recent Profile Visitors

2,662 profile views

c64girl's Achievements

Rising Star

Rising Star (9/14)

  • Reacting Well Rare
  • Dedicated Rare
  • Conversation Starter Rare
  • First Post Rare
  • Collaborator Rare

Recent Badges

36

Reputation

  1. if($this->context->controller->php_self != 'index') { $this->context->controller->addJS($this->_path.'views/js/socail_login.js'); $this->context->controller->addCSS($this->_path.'views/css/front.css'); $this->context->controller->addCSS($this->_path.'views/font/fontello-codes.css'); } This code will cut the loading files js and css on index page, but You can use it to disable module loading funciotns in php file and specify CATEGORY pages. It will be something like this, test this: $currentCategoryId = Tools::getValue('id_category'); $excludedCategories = [421, 525, 444]; if ($currentCategoryId && !in_array($currentCategoryId, $excludedCategories)) { // here go your code You want to block to load }
  2. This is another reason to abandon this ridiculous marketplace platform altogether. Which, as I've had the opportunity to find out several times, has nothing to do with user security. In several modules I have found links to third-party .js or exploits that are hidden by the authors in such a way that they delete changelogs and provide only the patched version. Not to mention authors who release modules that break, overload or malfunction from the very beginning of the installation spoiling the store or work differently than they should and the author fixes such bugs on the fly.
  3. Chyba was tenteges... Co się zmienia? Obecnie, jeśli Twoja subskrypcja Business Care wygasła i chcesz ją reaktywować, opłata wynosi: Cena subskrypcji Business Care + 30% ceny samego dodatku (Addons) Od 20 marca nowa opłata za reaktywację wyniesie: Cena subskrypcji Business Care + 95% ceny samego dodatku (Addons) To jest kolejny powód aby zrezygnować w całości z tej śmiesznej platformy marketplace. Która jak kilka razy miałem okazję się przekonać nie ma nic wspólnego z bezpieczeństwem użytkowników. W kilku modułach znalazłem odnośniki do stron trzecich .js czy exploity które są chowane przez autorów w sposób taki że kasują oni changelogi i udostępniają tylko poprawioną wersję "załataną". Nie wspomnę o autorach którzy klepią moduły które psują, obciążają czy też nie działają od samego początku instalacji psując sklep lub działają inaczej niż powinny i autor je w biegu naprawia takie błędy.
  4. Any module on market that will make attributes/combinations show in popup or left slider like in here: https://suitsupply.com/pl-pl/men/suits/garnitur-milano-tailored-fit-szary-w-paski/P6910.html
  5. I'm looking for a module that will allow me to select a category or products, and if the customer has such products in the shopping cart a popup or information on the page or information on site will inform them to add the products I select to get a bigger discount.
  6. I did, i disable loading the modules on index page if they don't needed there. Because they load some .js and .css slowing down main page
  7. I know how it works, but i think creators of the modules seems to forget it.
  8. No its not, some modules hook to head instead of checkout. They load .js and .css on all pages instead of the ones they are used at the moment. I have recaptcha module from prestashop store it loads everywhere instead of the pages that it soppose to like register login or checkout, slowing down the page. Same other modules, autors do good modules but they sometime dont think the consequences.
  9. I was thinking about disabling modules on specific pages. I found that modules hook to head or other hooks but they are not used on main page. The google score is killing me because of this. Is there a module that will be able set on what pages other modiles will run and on what pages modules will not run?
  10. Ktoś bawił się w tłumaczenie strony za pomocą sztucznej inteligencji np. chat gpt? Chodzi o jednorazowe przetłumaczenie wszystkich słów na stronie i zapisanie ich do tłumaczenia prestashop z automatu. Potem np. jakaś edycja tego co zostało źle przetłumaczone. Albo może jakiś widget tłumaczenia jak ma google, problem tylko zapewne w tym że po przekroczeniu jakiegoś limitu pobierana będzie opłata?
  11. Tak, ta zmiana tylko i wyłącznie dla kogoś kto prowadzi firmę w PL i sprzedaje tylko na PL.
  12. Ostatnio zastanawiałem się dlaczego presta nie ma walidacji NIP i że muszą być jakieś specjalne moduły pod to pisane. Doszedłem do wniosku że zrobię walidację w pliku prestashop. Oby komuś pomogło z debilami co wpisują 111111111 itd. Zmiana w pliku: /classes/Validate.php public static function isVatNumber($vat_number) { // Sprawdzamy, czy numer NIP składa się z 10 cyfr if (!preg_match('/^[0-9]{10}$/', $vat_number)) { return false; } // Przypisujemy numer NIP do zmiennej $nip = str_split($vat_number); // Sprawdzamy, czy NIP nie jest sekwencją tych samych cyfr if (preg_match('/^(\d)\1*$/', $vat_number)) { return false; } // Definiujemy wagi dla każdej cyfry NIP $weights = [6, 5, 7, 2, 3, 4, 5, 6, 7]; // Obliczamy sumę kontrolną $sum = 0; foreach ($weights as $i => $weight) { $sum += $nip[$i] * $weight; } // Sprawdzamy, czy ostatnia cyfra jest zgodna z obliczoną sumą return ($sum % 11 === (int)$nip[9]); }
  13. They so mutch moderate the modules they pass modules that load 3rd party scripts from .ru sites. I was posting about this some time ago. Autor and Prestashop seems dont care They should stop all modules connection outside the prestashop store, this is my opinion on this.
  14. What, they want to make You to pay 99 euro for moderation of Your modules? xD
  15. I was searching for a module but all dont have this function. For now i am using https://www.sunnytoo.com/product/easy-filter-module-for-prestashop1-7 But it not have this function.
×
×
  • Create New...