PrestaShop

Teapplix ActionShip supports PrestaShop order import.

You will need to enable webservice api in your PrestaShop website. Use next instructions or PrestaShop instructions page to do this.

Step 1: Enabling PrestaShop Webservice API

  1. Open Advanced Parameters tab
  2. Click Webservice link
  3. Enable PrestaShop Webservice API
  4. Click Add New API Key

Step 2: Creating API Key

  1. Click Generate to generate new API Key
  2. Enter key description (optional)
  3. Set Status to yes
  4. Check all checkboxes. (use scroll to find more)

5. Don't forget to save your changes

Step 3: Configuring your ActionShip account

  1. Navigate to Integration => Marketplaces & Carts
  2. Click +Add Marketplaces and select PrestaShop
  3. Click Close to close the marketplaces options page
  4. Click +Add PrestaShop Account
  5. Copy the API Key value into the "Key"
  6. Copy your PrestaShop URL into the Store URL field (e.g. https://mystore.com). Please note that https://www.mystore.com may not work.
  7. Choose order status.   You can click on the "Select" button to get the order status list from Prestashop, and select all those you would like to download to Teapplix.
  8. Save your PrestaShop configuration.

Now ActionShip will receive orders from your PrestaShop shop. You may want to click “Sync orders” to load them immediately.

Please Note:
By default we save the company name from the order's billing info.
If the billing company name is empty, we will save the company name from the delivery info if the delivery recipient name is the same as billing.
If you need to save the company name from the delivery info always, please notify our technical support team.

Do you use Prestashop version 1.6.0.11 or higher?

New versions of Prestashop since 1.6.0.11 (and current 1.6.0.14) have bugs in the code. In order to Teapplix was able to get the right data, you must fix them on your own server otherwise Teapplix not be able to download your orders. To do this you should open a couple files in text editor and modify them.

You may  contact Prestashop support team or use manual method below.

Make manual bug fix

1. File "classes/webservice/WebserviceRequest.php"
Add symbol "!" to "if" section in this line in function manageFilters, as shown on this picture:

pic1

In addition, this line should be modified as following: -

classes/webservice/WebserviceRequest.php
-    if (!isset($this->resourceConfiguration['fields'][$field]['getter'])) {
+   if (!isset($this->resourceConfiguration['fields'][$field]['getter']) && !in_array($field, array("date_upd", "current_state"))) {

2. File "classes/order/Order.php"
Remove "$state" between parentheses at function getWsCurrentState() as shown on this picture:

pic2