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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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