Redski Posted May 9, 2022 Share Posted May 9, 2022 (edited) Site URL: https://joeredski.com/ Hi there, please can you help. Currently, I have two stores. One store for my 'Prints' and another main store for everything else. When I click from the store onto a product page such as 'Presets' and then click on the 'back to store' link at the top, it goes back to the storefront, which is what I wanted. However, when I go onto my 'Prints' store page ( which is the second store page) and click on a print, the 'back to prints' link at the top also takes me back to the storefront. However, I want this link to only go to the 'Prints' main page, not the storefront. Therefore I would have two seperate links at the top of each respective store. Please can you tell me how I would achieve this? Thank you. Edited May 9, 2022 by Redski spelling mistake Link to comment
tuanphan Posted May 13, 2022 Share Posted May 13, 2022 Hi, Add this to Prints Page Header <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script> $(document).ready(function() { $('div#productNav a').attr('href','/prints'); }); </script> Redski 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Redski Posted May 16, 2022 Author Share Posted May 16, 2022 Sorry for the delay in getting back to you. Thank you so much for your help. Unfortunately it hasn't worked. It still goes to the Storefront. Do I need to wait a short time for it to update? Thanks. Link to comment
tuanphan Posted May 20, 2022 Share Posted May 20, 2022 On 5/16/2022 at 8:41 PM, Redski said: Sorry for the delay in getting back to you. Thank you so much for your help. Unfortunately it hasn't worked. It still goes to the Storefront. Do I need to wait a short time for it to update? Thanks. change this to new url /prints Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Redski Posted May 20, 2022 Author Share Posted May 20, 2022 Hi Tuanphan, Thank you for getting back to me. What do you mean by change this to new url? Thank you. Link to comment
tuanphan Posted May 21, 2022 Share Posted May 21, 2022 Misread the question. Try this new code <script> $(document).ready(function() { $('div#productNav a').attr('href','/prints'); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment