Jump to content

Admin order search not working without tracking number field


Shapes

Recommended Posts

Hello,

The admin order search form is not working on my website.
When I try to submit a search I get a validation error, tracking number seems to be required.

4366325_Capturedecran2021-08-17a19_12_49.png.8853d543f79009b3fa21720e6bc48765.png

Any idea on how I could get this solved please?

Working on PrestaShop 1.7.7.5 with PHP 7.3.29 (I did not see this bug fix in 1.7.7.6 changelog).

Best regards

Link to comment
Share on other sites

On 8/17/2021 at 7:13 PM, Shapes said:

Hello,

The admin order search form is not working on my website.
When I try to submit a search I get a validation error, tracking number seems to be required.

4366325_Capturedecran2021-08-17a19_12_49.png.8853d543f79009b3fa21720e6bc48765.png

Any idea on how I could get this solved please?

Working on PrestaShop 1.7.7.5 with PHP 7.3.29 (I did not see this bug fix in 1.7.7.6 changelog).

Best regards

J'ai trouvé le problème vient du module Colissimo, lorsqu'on active la fonction "Afficher le numéro de suivi sur la page de commande" du module.
J'ai envoyé un message au développeur, en attendant 2 solutions pour corriger le problème:

  1.  Désactiver cette fonction dans le module 😅
  2. Rajouter ces lignes dans le fichier modules/colissimo/colissimo.php ligne 2131 (aprés $filterTracking->setAssociatedColumn('tracking_number');)
$filterTracking->setTypeOptions([
	'required' => false,
]);

 

Edited by xlkiller (see edit history)
  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...