Jump to content

Rynoxx

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • First Name
    Lukas
  • Last Name
    Söder

Rynoxx's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, @hakeryk2 using the OrderCarrier.php class I posted before and simply using the REST API to edit an OrderCarrier as usual should work, if you make sure that the query parameter sendemail is set to 1
  2. Hi, Sorry for bumping an old post, but I'm posting here to help others which might run into the same issue, and possibly if the original poster still needs a solution. I ran into the same trouble today, and it seems like prestashop 1.7.1 has the functionality for this https://github.com/PrestaShop/PrestaShop/commit/53991dcdd94e761e9714d51eaa193ceb6a9d8497 What I did was backport the changes to OrderCarrier.php from that commit to work with Prestashop 1.6.X, and edit the PSWebServiceLibrary to support the "sendemail" parameter added. Here are my versions of those two files, and a file (changeTrackingNumber.php) which acts as an example for how to use the new update. NOTE: If you're running PrestaShop 1.7.1 you shouldn't need the OrderCarrier.php file. https://gist.github.com/Rynoxx/34655702277b24eba16d7cb4e0271614
×
×
  • Create New...