Jump to content
cirmanuoleg

Trimitere email cu AWB number

Recommended Posts

Buna ziua

Am un magazin online pe prestashop 1.7 integrat cu un ERP

Cei de la ERP au facut cateva integrari, se importa comenzile, cand se emite AWB din ERP se introduce AWB-ul in contul clientului ...

Problema este ca nu se trimite email catre clinet cu awb-ul, cum se intampla cand se introduce acel awb manual

Ei practic insereaza awb-ul in tabelul psgk_order_carrier, coloana tracking_number

ce ar mai trebui de facut sa se trimita acel email

multumesc

Share this post


Link to post
Share on other sites

Buna ziua!

O solutie este ca un fisier php pus in cron sa verifice periodic in tabela respectiva, si daca are awb sa trimita informatii catre client cu ce informatii vrei...

Share this post


Link to post
Share on other sites

In adminOrdersControllers, daca dai o cautare dupa 'submitShippingNumber', gasesti exact functionalitatea care se face cand bagi awb-ul manual. Ar trebui sa nu bage direct in baza de date acel awb, ci sa se foloseasca de acele functii.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More