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

This topic has 10 replies, 2 voices, and was last updated 2 minutes ago ago by Goostaf

  • 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?

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    9 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.

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

You must be logged in to reply to this topic.Log in/Sign up

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.