Totally Zenned
- Join Date:
- Feb 2009
- Posts:
- 896
- Plugin Contributions:
- 0
One-Page Checkout [Support Thread]
lat9:
What version of OPC is being used?
Where would I find the version number?
Views: 629,524
Totally Zenned
lat9:
What version of OPC is being used?
Where would I find the version number?
Totally Zenned
Log into your administration panel.
Click configuration.
Click One Page Checkout Settings.
Very top: Version/Release Date
Totally Zenned
Version 1.4.0
Administrator
CaroleAs:
Version 1.4.0
That's a very, very old (released 2017-08-12) version. I suggest that you update to the more recent v2.2.1 (released 2019-11-10).
Totally Zenned
lat9:
That's a very, very old (released 2017-08-12) version. I suggest that you update to the more recent v2.2.1 (released 2019-11-10).
Yeah, I upgraded my Zencart store a short time after the initial release of this module.
Sigh... I'll try to do that upgrade soon. (I need to do upgrades so infrequently, that I am always unsure what I am doing!)
Totally Zenned
Checking the instructions to upgrade from 1.4.0 to 2.2.1, I need to uninstall it first, and it says to "delete the files that were copied to your Zen Cart installation's file-system. Then, use your admin's Tools->Run SQL Patches to run the file....."
How do I know which files to delete before running the SQL patches?
After I reinstall it, will I have to redo the French translation?
Administrator
CaroleAs:
Checking the instructions to upgrade from 1.4.0 to 2.2.1, I need to uninstall it first, and it says to "delete the files that were copied to your Zen Cart installation's file-system. Then, use your admin's Tools->Run SQL Patches to run the file....."
How do I know which files to delete before running the SQL patches?
After I reinstall it, will I have to redo the French translation?
Since I'm unclear as to the site's original ZC version and current ZC version, I can't confirm whether you need to uninstall first or simply overwrite and/or merge changes.
Totally Zenned
lat9:
Since I'm unclear as to the site's original ZC version and current ZC version, I can't confirm whether you need to uninstall first or simply overwrite and/or merge changes.
I have ZC 1.5.5e and OPC 1.4.0.
Administrator
CaroleAs:
I have ZC 1.5.5e and OPC 1.4.0.
Just follow the zc155e upgrade instructions documented here. You'll need to add a couple of notifications to the PayPal Express Checkout payment method, too (see the section in that documentation just above the link I posted).
Administrator
lat9:
I've just submitted v2.2.1 of One-Page Checkout to the Zen Cart moderators for review; I'll post back here when it's available for download.
This release contains changes associated with the following GitHub issues:#193: shipping_estimator changes needed for guest-checkout (documentation only)
#219: Sanitize multi-line order comments to preserve line-breaks.
#220: Include notification, enabling external processes to disable the guest-checkout.
#221: Online install/upgrade instructions for paypalwpp.php changes caused PHP errors (documentation only).
Now available for download from the Zen Cart Plugins.
Totally Zenned
lat9:
Just follow the zc155e upgrade instructions documented here. You'll need to add a couple of notifications to the PayPal Express Checkout payment method, too (see the section in that documentation just above the link I posted).
You are pointing to the instructions for Zen Cart 1.5.4, 1.5.5, 1.5.5a-f, (under the Perform Required Edits) but there is also, a bit higher on the page, instructions for Zen Cart 1.5.5b-f (under the Installation), and even more at the beginning, there is this mention:
If you are upgrading an existing OPC installation from a version prior to v2.0.0, you'll need to uninstall that previous version and perform a fresh installation of OPC v2.1.0.
And the uninstallation instructions indicate to delete the files and then run the SQL patches.
So back to my original question: How do I know which files to delete before running the SQL patches?
Administrator
CaroleAs:
You are pointing to the instructions for Zen Cart 1.5.4, 1.5.5, 1.5.5a-f, (under the Perform Required Edits) but there is also, a bit higher on the page, instructions for Zen Cart 1.5.5b-f (under the Installation), and even more at the beginning, there is this mention:
If you are upgrading an existing OPC installation from a version prior to v2.0.0, you'll need to uninstall that previous version and perform a fresh installation of OPC v2.1.0.
And the uninstallation instructions indicate to delete the files and then run the SQL patches.
So back to my original question: How do I know which files to delete before running the SQL patches?
You're correct, I'd forgotten that the changes going from pre-v2.0.0 to the current version were too many to support as an upgrade.
Here's a link to the plugin's GitHub repository, identifying the changes/additions/removals going from OPC v1.4.0 to the currently-released version: https://github.com/lat9/one_page_checkout/compare/v1.4.0...master?diff=unified
Totally Zenned
lat9:
You're correct, I'd forgotten that the changes going from pre-v2.0.0 to the current version were too many to support as an upgrade.
Here's a link to the plugin's GitHub repository, identifying the changes/additions/removals going from OPC v1.4.0 to the currently-released version: https://github.com/lat9/one_page_checkout/compare/v1.4.0...master?diff=unified
Do you mean I have to go through each change for each version from 1.4.0 to the current version?
Do I have to identify all the 129 files listed there to remove them?
Or is there a different way to uninstall the current 1.4.0 version?
Administrator
CaroleAs:
Do you mean I have to go through each change for each version from 1.4.0 to the current version?
Do I have to identify all the 129 files listed there to remove them?Or is there a different way to uninstall the current 1.4.0 version?
I realize that it's a lot of files, but for the upgrade you need to remove the files added by OPC 1.4.0 and, for any core-file modifications, undo those changes. Then you can install the more current version.
Totally Zenned
So, the answer is that I have to go through all those 129 entries and remove them one by one? There is no "faster" way?
Wouldn't it be simpler to look at the original zip file i used, and refer to those files or were others created modified, from using the plugin?
Administrator
CaroleAs:
So, the answer is that I have to go through all those 129 entries and remove them one by one? There is no "faster" way?
Wouldn't it be simpler to look at the original zip file i used, and refer to those files or were others created modified, from using the plugin?
There's, unfortunately, no 'faster' way.:( You can certainly use a file-comparison program to compare (like in that GitHub compare) the various files added/removed/changed in going from v1.4.0, but it's going to be, IMO, more error-prone.
Totally Zenned
Would it be accurate to go through the list of files from the original zip file and just delete the matching ones?
Administrator
CaroleAs:
Would it be accurate to go through the list of files from the original zip file and just delete the matching ones?
Yes, except for the core-file changes. Don't forget to remove any template-overrides that you might have made, too.
Totally Zenned
lat9:
Don't forget to remove any template-overrides that you might have made, too.
And those would be in the instructions for the initial installation?
Administrator
CaroleAs:
And those would be in the instructions for the initial installation?
Yes, but those instructions don't identify the condition where you might have customized one of OPC's templates (present in the template_default sub-directory) in your site's active template directory.
Fields marked required must be completed.
Tell staff why this post should be reviewed.