Paolo Cunti @codencode

Results 124 comments of Paolo Cunti @codencode

@Hlavtox Daniel Are you sure the system can process all the products? Right now I don't remember exactly, but it might also be that the items get indexed anyway, though...

@Hlavtox, while reviewing the code I noticed that the problem is that the system performs additional iterations. I created a copy of the module that sets the conditions to reproduce...

The problem, it seems, is that the system tries to update the records in the `cart_product` table using the old `id_address_delivery`, but the table was previously updated with `id_address_delivery` =...

When deleting the address, in the `cart_product` table the `id_address_delivery` field is set to 0 as you can see here: ```php $sql = 'UPDATE ' . _DB_PREFIX_ . 'cart_product cp...

> I have partially sorted it by this fix: I know is not the best way but ... > > classes/cart.php > > ``` > > > public function updateAddressId($id_address,...

A similar thing happened in some minor versions of 1.7 where the `id_address_delivery` field remained the old one. Although the fact remains that the field is now set to 0...

@Hlavtox, I have also prepared the code to handle the update of the product list (e.g., on the category page when filtering). I could upload this code to this PR...

@Hlavtox, have you had a chance to review this PR? Also, if it's okay, I could create a second PR with the changes related to updating the product list (e.g.,...

@Hlavtox, I noticed the PHPStan test is failing (https://github.com/PrestaShop/ps_googleanalytics/actions/runs/14990171643/job/42111552847?pr=170) because it reports a missing method. This happens because it doesn't recognize the type of the $module attribute. Initially, I had...

@Hlavtox, I also had to modify: - phpstan-1.7.7.neon - phpstan-1.7.8.neon After several attempts, I finally got it working 😄 I think it should be good now. Thanks a lot!