Continue Shopping Button

continue_shopping_01.png
2.8 Phoenix 1.1.0.0 - 1.1.0.8
Released:
Tue Oct 27, 2026 8:02 am
File size:
8.77 KiB
Validated for:
Phoenix 1.1.0.0 - 1.1.0.8
MD5 checksum:
3138dcb21b7f8df0c0fb00f625103652
2.4 Phoenix 1.0.8.7 - 1.0.9.3
Released:
Tue Aug 23, 2022 6:52 am
File size:
5.62 KiB
Validated for:
Phoenix 1.0.8.7 - 1.0.9.3
MD5 checksum:
0e78ff9c67508a6d526b23500277f197
2.0 Phoenix 1.0.8.2 - 1.0.8.6
Released:
Tue Apr 27, 2021 2:16 pm
File size:
9.51 KiB
Validated for:
Phoenix 1.0.8.2 - 1.0.8.6
MD5 checksum:
257ae2a6899e5b4b64e6bb3f127c97bb
1.0 Phoenix 1.0.7.3 - 1.0.8.0
Released:
Tue Apr 27, 2021 2:15 pm
File size:
9.83 KiB
Validated for:
Phoenix 1.0.7.3 - 1.0.8.0
MD5 checksum:
d34b20e4bb2b00bc50a9c1731ff4029c
Description
The purpose of this contribution is to add a Continue Shopping button to the Shopping Cart Page.
- If there are products in the shopping cart, it links to the category of the last successfully added product that is still in the cart. This includes adding more of an existing product with the same options.
- If the last added product is no longer in the cart, or no addition has been tracked yet, it uses the most recently added separate cart item remaining in the cart.
- If the cart is empty and the visitor is returning from checkout, it links to the home page.
- Otherwise, an empty cart links to the latest remembered category visited through a category or product page. This category is retained when the cart is emptied.
- If no category has been remembered, it searches navigation history for a suitable storefront page, skipping background endpoints, shopping cart entries, and checkout pages. If none is available, it links to the home page.
The purpose of this contribution is to add a Continue Shopping button to the Shopping Cart Page.
Initial Release
Version 1.0 for Phoenix 1.0.7.3-1.0.8.0
Version 2.0 for Phoenix 1.0.8.2-1.0.8.6
Version 2.3 for Phoenix 1.0.8.7-1.0.9.3
Version 2.4 for Phoenix 1.0.9.4+
Changes: Fix for minor Notice error if empty shopping cart.
Version 2.4 for Phoenix 1.0.8.7+
Changes:
Fixed backlink if shopping cart is empty
Tested with PHP 8.3 and Phoenix 1.0.9.4
### Version 2.7 - 2026-10-25

- Protected the empty-cart Continue Shopping link against background endpoints such as the Pulse analytics collector, preventing navigation to its "Method Not Allowed" error page.
- The button now searches earlier navigation history, skipping background endpoints, shopping cart entries, and checkout pages.
- Falls back to the home page when no suitable storefront destination is available.

### Version 2.8 - 2026-10-27

- Corrected the cart product selection: Phoenix returns products in reverse insertion order, so the previous code selected the oldest item instead of the newest.
- Added a system hook to remember successful product additions, including repeat additions with the same options.
- Remembered additions are checked during application startup, before the shopping cart content builds the button, preventing the destination from lagging behind by one addition.
- Remembered the latest browsed category independently of Phoenix navigation history, preserving the destination after emptying the cart.
- Retained the background-endpoint protection introduced in version 2.7.
NOT SUPPORTED
TESTED 7.x
TESTED 8.0-8.5
TESTED
Secure payment via PayPal. Thank you for keeping Phoenix alive.
  • Author raiwa
  • Last updated Tue Oct 27, 2026 8:02 am
  • Total Downloads 6617
  • Rating
    (1)
  • Categories Content
continue_shopping_admin_01.png
  • Addon Revisions/Downloads
    Version
    Phoenix Version(s)