Keep Shopping link in default Cart

Hello,

I need the "Keep Shopping" link at the top of the default cart to be sent to our store products URL. How can I complete this?
Tagged:
Comments
  • fc_adamfc_adam FoxyCart Team
    @generocha,

    Just to clarify - are you talking about the button at the top of the sidecart that hides sidecart, or are you referring to somewhere else in the checkout process?
  • Yes, I am referring to the button "Keep Shopping" at the top of the sidecart that hides sidecart.
  • fc_adamfc_adam FoxyCart Team
    @generocha,

    Add this to your own website, and update the URL within it to point to your product page:
    <script>var FC = FC || {};
    FC.onLoad = function() {
    FC.client.on("sidecart-hide", function (params, next) {
    var url = "http://yourstore.com/products/";
    if (window.location.href == url) {
    next();
    } else {
    window.location = url;
    }
    });
    }</script>
Sign In or Register to comment.