Upgrade the Magento extension
Before upgrading your Magento extension:
- Test the upgrade in your staging environment connected to our sandbox before pushing it live
- Keep a copy of your Magento store and database so that you can rollback to the previous version if necessary
- You may need to re-index all of the product and category tables after upgrading the extension
You have several options for how to install the Magento extension.
Upgrade using modgit
Upgrade the extension by going to MAGENTO_ROOT and running
modgit update Magento_Affirm
Upgrade using modman
Upgrade the extension by going to MAGENTO_ROOT and running
modman update Magento_Affirm
Upgrade using Magento Connect Manager
- In your Magento admin panel, go to System > Magento Connect > Magento Connect Manager.
- Under Manage Existing Extensions, select Uninstall under Actions for Affirm_Affirm package name.
- Click Commit Changes.
- Download the latest package release (the compressed .tgz file).
- In your Magento admin panel, go to System > Magento Connect > Magento Connect Manager.
- Click Choose File and select the downloaded package release file..
- Click Upload.
Upgrade using Affirm's deploy script
1. Download the latest Makefile, which requires git and wge.t
2. Copy the Makefile to MAGENTO_ROOT.
3. To install, run the command make install.
4. To update, run the command make update.
Known installation issues
If you upgrade the extension from version 2.x to 3.x via SSH, you may see Affirm promotional banners displayed twice. To fix this issue, remove the following from the Magento directory:
MAGENTO_ROOT/app/code/community/Affirm/Affirm/Model
:Pricer.php
MAGENTO_ROOT/app/code/community/Affirm
:AffirmPromo
MAGENTO_ROOT/app/design/frontend/base/default/template
:affirmpromo
MAGENTO_ROOT/app/etc/modules
:Affirm_AffirmPromo.xml
MAGENTO_ROOT/lib
:Affirm
Updated about 1 year ago