Title: Working with errors
Last modified: September 1, 2018

---

# Working with errors

 *  [Gomle](https://wordpress.org/support/users/gomle/)
 * (@gomle)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/working-with-errors/)
 * Hi, thank you for this plugin – FINALLY something that actually works, when adding
   the webservice the correct way.
 * It seems I have problems with my https://
 * Everytime I load the WP-page containing the PS products, it asks the visitor 
   for a username and password for the prestashop-store-domain. [http://www.myshop.com](http://www.myshop.com).
 * In the code for this plugin it says:
 *     ```
         //API URL to get product by ID.  Use https! 
          $requestURL = "https://" . $webservice_key . "@" . $url;
          $requestURL .= "/api/products/" . $id; 
       ```
   
 * So I can’t quite figure out what’s the problem. Maybe you can?
 * And the image is not there, I changed the path in the product_display_for_prestashop.
   php to work with my image-path, but the image id’s are not handled correctly 
   in the script itself.
 * Product id 41 will not be images/41/image-id, it will be a completely different
   path.
    E.g [http://yourdomain.com/1981-large_default/name-of-your-product.jpg](http://yourdomain.com/1981-large_default/name-of-your-product.jpg)
   Where the 1981 is the ID of the image, and this image-id can differ from the 
   actual product-ID. The images have their own id’s.
 * Any chance you will update this nice plugin, so it’s usable? 🙂
 * Prestashop 1.6.1.16

The topic ‘Working with errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/product-display-for-prestashop.svg)
 * [Product Display for Prestashop](https://wordpress.org/plugins/product-display-for-prestashop/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/product-display-for-prestashop/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/product-display-for-prestashop/)
 * [Active Topics](https://wordpress.org/support/plugin/product-display-for-prestashop/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/product-display-for-prestashop/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/product-display-for-prestashop/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Gomle](https://wordpress.org/support/users/gomle/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/working-with-errors/)
 * Status: not resolved