• Under “Social Links” in customization, you can add a cart icon. I added the icon and pasted my cart link in the box. However, when clicking on the icon it opens the cart in a different tab. How can I keep the cart and have it open in the same tab?

Viewing 1 replies (of 1 total)
  • Hello,

    To solve your issue first you will have to create a child theme.
    (To create a child theme please visit :-https://catchthemes.com/blog/create-child-theme-wordpress/ )

    Now on the child theme’s function.php you will have to copy and paste the catchresponsive_get_social_icons() function
    (from line number 22 to 56 )

    Now on the function there you will be able to see target="_blank" remove the html on the last $output variable. That will open your social icon link on the same tab.

    Note:- If after the removal of the target="_blank" if your link does not open in the same tab. Delete the link and save the customization option and now again add the link and save again.

    If you have any queries and want a swift response please visit the themes official forum
    https://catchthemes.com/support-forum

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Cart Icon Opens in separate tab’ is closed to new replies.