Skip to content
Advertisement

Tag: prestashop-1.7

Prestashop updateCategories() inconsistent times, works almost instantly sometimes and sometimes it slows to a crawl

Has anyone had any issue with using Prestashop’s Product class updateCategories() before for updating lots of products categories at once? We’re using this to map supplier categories to our own categories and we need to change 100’s-1000’s of products categories. The problem we’re running into is that updateCategories usually slows down to a crawl when updating larger amounts of products

PHP Fatal error: require(): Failed opening required lib prestashop

I have installed prestashop api lib in local (xampp) and works great, but when I upload the it to my server, it throws a exception. Log file: autoload_files.php: composer_real.php: composer.json: I supose that laravel doesn´t get correctly the lib but I don´t know how to fix it correctly. Please help, thx. Answer Composer is case sensitive, some letters´ path were

Prestashop 1.7 module front controller 404

I am developing a Prestashop 1.7 module and I have a problem with the Front Controller Module. When I try to access the page I get a 404 error. Here are the files : modules/cbd_calculator/cbd_calculator.php modules/cbd_calculator/controller/front/display.php : modules/cbd_calculator/views/templates/front/display.tpl : I call the uri: http://localhost/modules/cbd_calculator/display or http://localhost/index.php?fc=module&module=cbd_calculator&controller=display They give me a 404 error… I am blocked with this problem, how can

PrestaShop: How to refresh cart after creating specifc price

I have small problem 😉 I working with PrestaShop 1.7.6.9 (manual instaltion on shared hosting) and 1.7.7.1 (docker image from PrestaShop) I create module where price is calculated via code and saved in DB via SpecificPrice class. Saving work excellent, but I have other problem. When i go to cart product priced didn’t change. But when I wait some time

Advertisement