compsoul.dev Posted March 13, 2023 Share Posted March 13, 2023 Hello, I wrote a free module that stores price history. It was created so that your store can meet the omnibus directive. The downsides of my solution, is that you need to scan all products using the module configuration, or every time you change the price, in addition, the module does not collect prices for different currencies, customers or region. I described the installation on the blog, links in the module configuration or in a private message. Possibility of paid implementation, link to my store in the footer. The module is in the test phase, test and share your comments in the comments. This is a revised version, one of the forum users helped me to adapt it to the requirements of the modules I had no idea about, thanks. compsoulomnibus.zip 2 Link to comment Share on other sites More sharing options...
compsoul.dev Posted September 18, 2023 Author Share Posted September 18, 2023 I have added version 1.0.1 with a fix to enable the module to run on: PS 8.0.4 and PHP 8.0.26 compsoulomnibus.zip 1 Link to comment Share on other sites More sharing options...
maccio Posted September 17 Share Posted September 17 I have this error: PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DataCollector/DataCollector.php on line 98PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 65536 bytes) in/vendor/symfony/symfony/src/Symfony/Component/ErrorHandler/Resources/views/exception_full.html.php on line 32PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 335872 bytes) in Unknown on line 0 Link to comment Share on other sites More sharing options...
compsoul.dev Posted September 17 Author Share Posted September 17 Hi, thanks for reporting the issue! To help me investigate further, could you please provide more details? Specifically: PHP version PrestaShop version Module version you're using Any additional modules installed in PrestaShop When exactly does the error occur (e.g., during price changes or specific actions)? How many products are currently in your shop? These details will help me pinpoint the problem faster. Thanks! Link to comment Share on other sites More sharing options...
maccio Posted September 17 Share Posted September 17 PHP version 8.1.28 PrestaShop version 8.1.7 Module version you're using 1.1.0 Any additional modules installed in PrestaShop yes but I don't think it depends on other modules.https://addons.prestashop.com/en/promotions-gifts/7422-price-increment-reduction-by-group-category-and-more.htmlYes but When exactly does the error occur (e.g., during price changes or specific actions)? Add or update prices How many products are currently in your shop? about 5000 I tried to modify your module and process the prices in batches of 100 products at a time, but nothing changes. Link to comment Share on other sites More sharing options...
compsoul.dev Posted September 17 Author Share Posted September 17 Thanks for the detailed information! The PRO branch differs significantly from the free version, so I'll need to create an environment similar to yours to properly test it. I'm currently quite busy, but when I have some free time, I'll investigate the issue further and get back to you. Thanks for your patience! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now