Keep Shopping Button Link

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
CASE
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 49
Joined: Tue Jan 22, 2008 7:18 am

Keep Shopping Button Link

Post by CASE » Thu Jun 25, 2009 2:32 pm

Our catalog and product pages are managed outside of AbleCommerce (but pull information from the database). Once the person adds something to the cart, we pull the AbleCommerce checkout process into iFRAMES within the site.

We would like to change the Keep Shopping button in the basket to point to our store, but I am not sure where to go in order to do this.

Thanks for your help.

mwolf
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 50
Joined: Mon Jul 02, 2007 9:37 pm
Location: Chicago, IL
Contact:

Re: Keep Shopping Button Link

Post by mwolf » Thu Jun 25, 2009 7:57 pm

Hi CASE,

For the basket page, you could open Basket.ascx.cs and modify the KeepShoppingButton_Click() function.

Here is the original code:

Code: Select all

    protected void KeepShoppingButton_Click(object sender, EventArgs e)
    {
        Response.Redirect(NavigationHelper.GetLastShoppingUrl());
    }
You would need to change it to something like this:

Code: Select all

    protected void KeepShoppingButton_Click(object sender, EventArgs e)
    {
        //Response.Redirect(NavigationHelper.GetLastShoppingUrl());
        Response.Redirect("http://www.google.com");
    }

Post Reply