Jump to content

Does anyone have a fix to make Printful work on Prestashop version 8.1.2?


batola4797

Recommended Posts

  • 4 weeks later...

Count us in with the same issue here. We're also facing the compatibility problem between Printful and Prestashop's latest versions. Any updates or solutions found would be immensely appreciated. Thanks in advance for any assistance or information!

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

I am not sure if there are downgrading tools, but I would advise against doing that. The only difference between 8.1.3 and 8.1.4 should be some bugfixes, not something that would break the module.

There are 2 possibilities:
1. The module is still not fully compatible with PrestaShop 8
2. The module is not compatible with PHP 8.1

What issues are you encountering? Maybe I can try fixing them and creating a Pull Request with the fix in order for their developers to review and add to the module.

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

I'm trying to upload the latest Printful plug into Prestashop 8.1.7, It just says Oops, this version of the module is not compliant with this version of PrestaShop.

 

Screenshot 2024-08-18 at 8.29.29 PM.png

Link to comment
Share on other sites

16 hours ago, Andrei H said:

Hey @kootch

The problem is most likely the fact that the module is still declared compatible with maximum PS 8.1.3

You can try and edit this line: https://github.com/printful/prestashop-module/blob/master/printful.php#L85 and set that to 8.1.7 then try to upload the new zip again.

On 2/28/2024 at 12:19 PM, Andrei H said:

Thanks that worked.

 

  • Like 1
Link to comment
Share on other sites

I have it working in PS 8.1.7 running PHP 8.1.29.

It was tricky to figure out, but with a little digging through all these posts I figured it out. If you are trying to edit the zip file as mentioned in a previous post and it still fails, you can try it like this. It worked for me.

Before getting into the steps, this is a fresh install of PS 8.1.7. No additional modules installed other than Printful so the trouble shooting could be directed at the only thing that could be wrong.

Here is what (as of this time and date) needs to be done.

1. Get the latest zip file from Printful, but do not install it. 

2. You will need to edit a file in the zip file WITHOUT unpacking it first. Get 7-Zip to do this, it is what I used ( https://www.7-zip.org/ ).

3. Open 7-Zip, and from within it, open the zip file, locate the printful.php file and open it in notepad. Go to around line 85. You are looking for this code 'max' => '8.1.3',

4. Change that to 8.1.7 or whatever version you are using and save the file. THEN CLOSE NOTEPAD. This is essential, because until you close notepad, 7-Zip will not update the file for you.

5. Once notepad is closed, you should get a dialog box that says something to the effect of the file has changed would you like to save it. Select yes or ok if it does. Then CLOSE 7-ZIp.

6. Now double check the file inside your zip file by opening 7-zip again and open the printful.php again the same way you did before. Check the line of code you edited and make sure the change is still there. If it is, you should be able to install the module by using the standard upload through Back Office.

I hope this helps. I spent a full day messing with this and after reading some of these posts I finally got this to work. To be sure, I have added products to the shop from Printful without getting the red/pink error as shown in previous posts (I was getting those before on an "almost" got it install), but now it is working as it should.

Cheers.
 

 

Edited by easyvapors (see edit history)
  • Like 1
Link to comment
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...