Redirection of the website WooCommerce - by Kombajn88

This topic has 9 replies, 4 voices, and was last updated 11 months ago ago by Andrew Mitchell

  • Avatar: Kombajn88
    Kombajn88
    Participant
    December 26, 2023 at 19:32

    Hello,

    I once added a redirect code, when the user clicks on a category in the store, he is redirected to the selected page. I added this feature in “Theme file editor” in Theme functions (functions.php). I would like to remove it, however, in functions.php there is no code that I added at all, there is only the base code. I added this two xstore updates ago

    Please help

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 27, 2023 at 05:36

    Hello, @Kombajn88,

    Thank you so much for purchasing our theme and contacting our support center.

    If you were making modifications directly in the parent theme and then updated the theme, your changes could be overwritten by the update. This is a common issue when making direct modifications to the main theme files.

    If the redirect feature was added through the “Theme file editor” in the “Theme functions” (functions.php) file, but you can’t find the code there now, there are a few steps you can take to troubleshoot and resolve the issue:

    Child Theme Check:
    First, make sure that you are checking the correct functions.php file. If you are using child themes, modifications might be in the child theme’s functions.php rather than the main theme’s functions.php.

    Child Theme Creation:
    If you still can’t find the redirect code, consider creating a child theme if you haven’t already. This allows you to make modifications without affecting the main theme, and it’s easier to track changes.

    Best regards,
    The 8Theme Team.

    Avatar: Kombajn88
    Kombajn88
    Participant
    December 27, 2023 at 10:06

    I have not used child themes before. If I add it, will my problem go away?

    Do you perhaps know where in the xstore theme in the files I can look for the functions.php overwritten with my code?

    Avatar: Justin
    Luca Rossi
    Support staff
    December 27, 2023 at 11:50

    Dear @Kombajn88,

    We hope this message finds you well.

    We suspect that the difficulties you are experiencing may be related to cache issues. To facilitate a thorough investigation, we kindly request that you provide us with the credentials for your administrative account, as well as the URL of your website. This will enable us to examine the matter more closely and provide the necessary support.

    Additionally, we have included a comprehensive guide to assist you with the installation and configuration of the child theme. You can access the guide at the following link: https://www.8theme.com/documentation/docs/child-theme/

    We appreciate your cooperation and look forward to resolving your concerns promptly.

    Best regards,
    The 8Theme Team

    Avatar: Kombajn88
    Kombajn88
    Participant
    December 27, 2023 at 14:23

    Ok

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    December 27, 2023 at 15:27

    Dear @Kombajn88,

    We hope this message finds you well.

    We would like to inform you that any custom code added directly to the parent theme will be overwritten upon updating the theme. To prevent this, we highly recommend utilizing a child theme. Should you prefer not to install a child theme, an alternative solution is to employ a third-party plugin.

    For your convenience, we have installed the WPCode Snippet plugin on your behalf, which can be found at the following URL: https://wordpress.org/plugins/insert-headers-and-footers/. Additionally, we have taken the liberty of adjusting the codes for you to ensure optimal functionality.

    Should you require any further assistance or have any questions, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: Kombajn88
    Kombajn88
    Participant
    December 27, 2023 at 15:55

    Thank you so much, I really appreciate your help and commitment, the best support

    When I started creating the store I thought that I had to create each category page myself by creating pages.

    Then I found out that to do it from the position of WordPress (by adding categories) and then the whole store works correctly (display prducts, sorting, etc.)

    Unfortunately, now when I select a category from the top menu (img) it takes me to the page I created myself, instead of the category page.

    I would like to undo this, just don’t know how.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    December 28, 2023 at 04:42

    Dear @Kombajn88,

    We hope this message finds you well.

    We would like to inform you that the section you are currently viewing is the secondary menu. To update the links for the menu items, kindly proceed to the following URL: [Private Content]

    Please follow these steps upon arrival at the designated page:

    1. Remove the existing menu items.
    2. Subsequently, add the product categories, which can be found on the left-hand side of the interface. For your reference, here is a screenshot illustrating the process: https://prnt.sc/Rf4KqehM_CWN

    We trust that these instructions will be of assistance to you. Should you require any further guidance, please do not hesitate to reach out.

    Best regards,

    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    December 29, 2023 at 10:00

    Dear Kombajn88,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Redirection of the website WooCommerce’' has been successfully resolved, and the topic is now closed for further responses

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