After the update the headers in categories are missing, how to get them back?

This topic has 15 replies, 3 voices, and was last updated 1 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: Goostaf
    Goostaf
    Participant
    October 12, 2024 at 08:50

    Hello, it’s very difficult for us to update the theme and plugin, because a lot of edits need to be done afterwards and now the headers have disappeared somewhere, how can I get them back?

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    14 Answers
    Avatar: Goostaf
    Goostaf
    Participant
    October 12, 2024 at 09:07

    I’ll outline here the steps we take when upgrading, perhaps you can help simplify the process through a child topic.

    1. woo.php – here we remove always this piece, it duplicates the headers in the code

    add_filter( ‘woocommerce_loop_add_to_cart_args’, ‘etheme_product_loop_data_name’, 10, 2 );
    function etheme_product_loop_data_name($args, $product){
    $args[‘attributes’][‘data-product_name’] = $product->get_name();
    return $args;
    }

    2. cart-checkout.php replace this file with the archive file, because translations are lost and they are not available through the Loco plugin for some reason.

    3. here we replace ourselves file: ../meshar.ru/public_html/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php because translations are broken and they are not available through the Loco plugin for some reason.

    4. here we replace ourselves file ../meshar.ru/public_html/wp-content/themes/xstore/woocommerce/cart/cart.php because translations are broken and through the Loco plugin they can’t be done either.

    5. here we replace ourselves order-total file in review-order.php ../meshar.ru/public_html/wp-content/themes/xstore/woocommerce/checkout , also our translations always fail and through the Loco plugin they can not be done too.

    6. here we replace ourselves proceed-to-checkout-button.php file for the same reason

    7. here we replace ourselves thankyou-advanced.php for the same reason

    8. here we replace ourselves file../meshar.ru/public_html/wp-content/plugins/et-core-plugin/app/models/customizer/functions.php for the same reason (Quantity in goods word translate)

    9. here we replace ourselvesthe file single-product-reviews.php in Xstore also to keep the translation in our language, in Loco there is no option too

    These are the edits we make every time we update the theme and your plugin, if you can solve it all, you are welcome! And we are waiting for a solution for Headers, they have disappeared in all categories.

    Now we have done all this and there is nothing to do, just if it can be simplified in the future, we will be glad!

    Avatar: Goostaf
    Goostaf
    Participant
    October 12, 2024 at 11:04

    Maybe that’s the problem. We haven’t updated the Woocomerce plugin, there are a lot of edits to be made there as well

    Files is visible for topic creator and
    support staff only.
    Avatar: Goostaf
    Goostaf
    Participant
    October 12, 2024 at 11:18

    I replaced all the files in the child according to the instructions, but the headers did not return, please help

    Avatar: Goostaf
    Goostaf
    Participant
    October 12, 2024 at 15:17

    It turns out that the headlines are missing in the products, we will have to roll back this update if you do not help us solve it quickly:(

    Avatar: Goostaf
    Goostaf
    Participant
    October 12, 2024 at 17:00

    I have now done a rollback and updated your plugin and theme again, everything repeats, the headers from categories and products disappear.

    Avatar: Justin
    Luca Rossi
    Support staff
    October 14, 2024 at 09:52

    Dear @Goostaf,

    We hope this message finds you well.

    We recently saw the header looks like this: [Screenshot Link](https://www.awesomescreenshot.com/image/51067123?key=8c7186b7dd00e0a7100f62d94ce46a89).

    Could you kindly confirm this issue has gone?

    Thank you in advance for your support.

    Best regards,
    8Theme Team

    Avatar: Goostaf
    Goostaf
    Participant
    October 14, 2024 at 10:08

    Right now it’s like this because we rolled the update back, I can do it right now and see the problem, do it now?

    Avatar: Justin
    Luca Rossi
    Support staff
    October 14, 2024 at 16:37

    Dear @Goostaf,

    We hope this message finds you well.

    As this is your live website, we kindly advise against making any direct changes. To ensure the safety and stability of your site, we recommend creating a staging version where we can perform necessary tests.

    To assist with this, you may use the following plugin to set up a staging environment: [WP Staging Plugin](https://wordpress.org/plugins/wp-staging/).

    Thank you for your cooperation. Please let us know if you need any further assistance.

    Best regards,
    The 8Theme Team

    Avatar: Goostaf
    Goostaf
    Participant
    October 14, 2024 at 17:17

    I have now made a full backup, if you want, you can try to update the plugin and theme and see the problem, if there is no solution immediately, I will restore the backup, can I do so? I have not worked with such a plugin.

    Avatar: Goostaf
    Goostaf
    Participant
    October 15, 2024 at 15:42

    Hello, will they help us? I can do the update myself and show the problem, but I would like to understand the timing of the solution, it is probably more correct for you to go in, do it and immediately see the problem so that we do not wait very long. We have made a full backup

    Avatar: Justin
    Luca Rossi
    Support staff
    October 16, 2024 at 04:49

    Dear @Goostaf,

    Thank you for bringing this issue to our attention. We are currently investigating the matter and will provide you with an update as soon as possible.

    In the meantime, we kindly ask that you refrain from replying to your own topics, as doing so may inadvertently move them to the bottom of the queue.

    Thank you for your understanding and cooperation.

    Best regards,
    8Theme Team

    Avatar: Justin
    Luca Rossi
    Support staff
    October 16, 2024 at 17:19

    Hi @Goostaf,

    We’ve added this custom code under functions.php file and the header is back:

    
    add_action( 'woocommerce_shop_loop_header', 'n2t_woocommerce_product_taxonomy_archive_header' );
    
    function n2t_woocommerce_product_taxonomy_archive_header() {
    	wc_get_template( 'loop/header.php' );
    }
    

    Could you please check again?

    Thank you!

    Avatar: Goostaf
    Goostaf
    Participant
    October 16, 2024 at 18:48

    Everything is great, thank you so much!!!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 16, 2024 at 18:48

    Dear Goostaf,

    Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?

    Click here to share your insights: https://themeforest.net/downloads

    Your support fuels our journey, and we appreciate it more than words can express.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘After the update the headers in categories are missing, how to get them back?’' 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.