Change the continue shopping link - by Libby Carter

This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago ago by Rose Tyler

  • Avatar: Libby_Carter
    Libby Carter
    Participant
    March 26, 2019 at 12:19

    Once you add a product to the cart, there is a pop up that has two options to continue shopping or checkout.

    I would like to change the continue shopping link at present it remains on the page (link appears to be javascript:void(0)) but instead, I would like to take them to the shop home page. Please advise.

    Please, contact administrator
    for this information.
    2 Answers
    Avatar: Libby_Carter
    Libby Carter
    Participant
    March 26, 2019 at 12:49

    I have found this

    modalWindow.eModal('endLoading')
    	                 .eModal('setTitle',productName)
    	                 .eModal('addImage', productImageSrc)
    	                 .eModal('addText', successfullyAdded)
    	                 .eModal('addBtn',{
    	                        title: contBtn,
    	                        href: 'javascript:void(0);',
    	                        cssClass: 'btn filled',
    	                        hideOnClick: true
    	                    })

    I think I need to change the href: ‘javascript:void(0);’, line but when I had the link here it seems to break the pop up.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 26, 2019 at 15:13

    Hello,

    What theme do you use on the site? It is not XStore. Please register purchase code http://prntscr.com/n35gmj of this theme for your account on our site and post topics in a correct thread http://prntscr.com/n35gvw

    If you are using Royal theme on the site, et_cart_madal function can be found in js/etheme.js file http://prntscr.com/n35ivx You need to create a variable for the desired URL, like it was done for checkoutUrl (var checkoutUrl = '<?php echo esc_url( wc_get_checkout_url() ); ?>'; – royal/framework/theme-functions.php).
    For example, http://prntscr.com/n35lnv + http://prntscr.com/n35m1u
    Please note that additional customization in files is beyond our basic support scope.

    Regards

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.