Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1288441

    Hi,
    I posted a support ticket earlyer and we found a solution and then the topic was closed to new replies. See this topic: https://kriesi.at/support/topic/move-category-description-below-products/?login_error#post-1281479

    Now I realise when I create a new category the description stays in the top and are not moved to the bottom. Why is that?

    #1288898

    Hi ditteditte,

    Have you added the code in functions.php?
    If yes and it still does not work then, please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1288900

    Thank you for your assistance. I went in this morning to double check that I had the right code in the function.php
    It was there so i just saved the file and closed it. I then went to the pages where the category description didn’t move and all of a sudden it had moved to the bottom… It was like saving the function.php once again tricked it to work…. Does that make sence?

    #1289015

    Hmm now I figured out what the problem is. When there is no pagination (because there is not enough products) the category description don’t move as there is no pagination to move it below. Can you help me modify the code so that the categroy description will move even if there is no pagination?

    function av_move_wc_cat_description(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(“.kategoritekst”).insertAfter(jQuery(“.pagination”));
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘av_move_wc_cat_description’);

    #1289204

    Hi ditteditte,

    I see, can you give us a link to the page mentioned? (with and without pagination) so we can inspect on the pages and try to adjust your code accordingly.

    Best regards,
    Nikko

    #1289618
    #1289876

    Hi ditteditte,

    Can you try to replace your jQuery code with this instead (inside the script):

    jQuery(window).load(function(){
        jQuery(".woocommerce-page .entry-content-wrapper").append(jQuery(".kategoritekst"));
    }); 

    Best regards,
    Nikko

    #1290077

    Perfect! Thank you!!!

    #1290079

    Hmm if I dont have an even number of products the description moves up along the last products so it sits at the one site insted of underneath. Please see this page: https://nederkjaersholm.dk/produkt-kategori/brugskunst-online/smaa-moebler/

    #1290080

    I figured it out myself. Thank you for your assistance.

    #1290103

    Hi ditteditte,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Move Category Description below products’ is closed to new replies.