alexh123 Posted April 26 Posted April 26 Hi all. I am struggling with the following issue and hope someone can help. I have a store on my website that is working great. When a customer is in a product, they can click 'back to store' to return to /store. However, I am doing a special product launch on a different page from /store. Let's call this /newpage. The issue is that the special products back link goes to /store, and when I update it to return to /newpage, all my other products backlinks also link back to /newpage! I don't want this! And can't figure out what exactly to search for to find the answer, so here I am. I hope someone can help. Thanks!
tuanphan Posted April 26 Posted April 26 You can share link to that product, we can give a simple code to change the link Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
alexh123 Posted April 26 Author Posted April 26 Thank you for your help. The product's page is /hom but the issue is when I edit the 'back' link, it updates on all products... I hope this makes sense?
alexh123 Posted April 26 Author Posted April 26 Full product page link is https://www.mysteriousal.com/hom
tuanphan Posted April 27 Posted April 27 I see 4 products. Which product you want to change link? Or change all 4 products? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
tuanphan Posted April 29 Posted April 29 20 hours ago, alexh123 said: All 4 please. To return to /hom You can edit 4 Products > Edit Additional Info Add a Code Block Paste this code <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script> <script> jQuery(document).ready(function($){ $('div.page-header a[href="/store"]').attr('href','/hom'); }) </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
alexh123 Posted April 29 Author Posted April 29 Thanks so much. I just bought you a coffee! tuanphan 1
tuanphan Posted April 30 Posted April 30 On 4/29/2024 at 9:17 AM, alexh123 said: Thanks so much. I just bought you a coffee! Thank you! Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment