Cancel and Continue button in cart page

nareshnaresh Member
Hi Adam,

Would like to know whether can we put one fixed url to redirect the User from cart page when user clicks on Cancel and continue button in cart page. IF yes please help us with the procedure.



Thank you.
Comments
  • fc_adamfc_adam FoxyCart Team
    @naresh,

    Could I confirm with you - are you referring to the "Keep shopping" link at the top of the Sidecart display, or the button displayed on the full-page cart view? Depending which you're referring to, the approach is a little different.
  • nareshnaresh Member
    Hi Adam,

    Thanks for the reply, we are referring full-page cart view.
  • fc_adamfc_adam FoxyCart Team
    @naresh,

    Thanks for confirming. To change the link there - you can simply include this at the top of the "cart" template in your store's administration, selecting "Custom Template" to see the default template in the text area:
    {% set cart_cancel_and_continue_link = "http://example.com/test" %}
  • nareshnaresh Member
    Hi Adam,

    Greetings,

    We have changed the default template like below but its not working as expected. please advise.

    <!DOCTYPE html>





    {{ config.store_name }} Cart





    {{ fc_header_content|raw }}




    {% set cart_is_fullpage = true %}
    {% set cart_cancel_and_continue_link = "http://gulamelts.webflow.io/" %}

    {% embed 'cart.inc.twig' %}
    {% endembed %}




    {% include template_from_string(fc_footer_content) %}

  • fc_adamfc_adam FoxyCart Team
    @naresh,

    Could I confirm - is this for the gulamelts store? I don't see the cart template customised for that store currently.
  • nareshnaresh Member
    Hi Adam,

    Yes.

    Thank you.
  • marijamarija FoxyCart Team
    edited August 30
    Hi @naresh

    As Adam mentioned we're not seeing this change in the cart template in your store. In your Foxy administration, you'll go to this page: https://admin.foxycart.com/admin.php?ThisAction=EditTemplate&template=cart , select the "Custom Template" option and add the code ({% set cart_cancel_and_continue_link = "http://gulamelts.webflow.io/" %}) at the top.

    As a further troubleshooting measure, perhaps you could send a link to where you're making the change.
Sign In or Register to comment.