This topic has 3 replies, 2 voices, and was last updated 5 years, 8 months ago ago by Rose Tyler
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.
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.
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
You must be logged in to reply to this topic.Log in/Sign up