# "Continue Shopping" Link on the EDD Checkout

> Adds a "Continue shopping" link below the Easy Digital Downloads checkout cart, taking buyers back to your products to add more.

- Type: PHP
- Runs: Run everywhere
- Category: [Easy Digital Downloads](https://wpide.com/library/category/edd/)
- Requires: Easy Digital Downloads
- Tags: edd, checkout, cart, navigation
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/edd-continue-shopping-link/

## Code

```php
$wpide_edd_continue_url = ''; // Empty uses the downloads archive.

add_action( 'edd_cart_footer_buttons', function () use ( $wpide_edd_continue_url ) {
    $url = $wpide_edd_continue_url ? $wpide_edd_continue_url : get_post_type_archive_link( 'download' );

    printf( '<a class="wpide-edd-continue" href="%1$s" style="margin-right:1em">&larr; %2$s</a>', esc_url( $url ? $url : home_url( '/' ) ), esc_html( 'Continue shopping' ) );
}, 5 );
```

## Notes

Set $wpide_edd_continue_url to your products page; by default it uses the downloads archive or home page.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find ""Continue Shopping" Link on the EDD Checkout" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
