Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #1087416

    Hi there,

    in a previous ticket I have asked how to move the category description on product category pages to the bottom of the page: https://kriesi.at/support/topic/remove-the-category-description-text-from-the-image-banner-at-category-page/
    Thanks for helping me on this again! However I have now discovered that the pagination buttons to go to the next page with products is below the category description text: See example: https://www.tretroller-laden.de/produkt-kategorie/tretroller-erwachsene/
    Is there any way to place the pagination button directly below the products and the category description text below the pagination buttons?

    Thank you very much in advance!

    #1088256

    Hey stofson,

    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
      ( do 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,
    Victoria

    #1088261
    This reply has been marked as private.
    #1089831

    Hi,

    Thanks for the update.

    You need to adjust the priority of the hook. Look for this code:

    add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 5 );
    

    Set the priority value from 5 to 15 or 20.

    Best regards,
    Ismaelw

    #1089938

    Hi Imael, thanks. In which file do I find this code?

    Thanks!

    #1090744

    Hi stofson,

    You can find it in /enfold/config-woocommerce/config.php

    Best regards,
    Victoria

    #1090756

    Hi Victoria, thanks for the file name, but unfortunately I cannot find the mentioned code in the file.

    #1090816

    Hi,

    It’s in the functions.php file.

    // https://kriesi.at/support/topic/moving-category-description-under-products/#post-533014

    Did you use that code?

    Best regards,
    Ismael

    #1094974

    Hi Ismael,
    thanks, it worked. The problem is now that the sidebar is now at the very bottom of the page below the category description instead of left of the products. How can I increase the priority of the sidebar that it show on the left next to the product listings?

    Thanks

    #1095248

    Hi,

    Thanks for the update.

    That modification should not have affected the sidebar. Could you post the actual code on pastebin.com? Or generate a new login token so that we can test it.

    Best regards,
    Ismael

    #1162530

    Hi, I want to come back to this issue.

    Putting the code “add_action( ‘woocommerce_after_shop_loop’, ‘woocommerce_taxonomy_archive_description’, 5 );” into the functions php file and replace the 5 by 10 or 20 does not solve the issue. Could you therefore please find another solution to put the pagination buttons right behind the products?

    I have granted you 7 days of temporary login. See private credentials.

    Thanks, Roan

    #1162865

    Hi,

    Thank you for the update.

    The login token has expired. Did you disable it? Please generate another token so that we can inspect the issue.

    Best regards,
    Ismael

    #1162868

    here the updated credentials.

    Thanks!

    #1162923

    Hi Ismael
    The credentials in my previous reply should work. I have tested them.

    #1163277

    Hi,

    Thank you for the update.

    We were able to login to the site but unable to edit the files because the Appearance > Editor panel is not accessible. Please enable the editor or post the FTP details in the private field. Have you tried changing the priority to 1 or 2 so that the description is appended right after the product loop?

    Best regards,
    Ismael

    #1201167

    Hi Ismael,
    yes, I have tried to change priority to 1 or 2, but it does not help either.
    Please find my FTP credentials and a new 7 days temporary login link in the private content.

    Many thanks for your help!

    #1202981

    Hi, any response?

    Thanks.

    #1203232

    Hi,

    Sorry for the delay. We tried to access the file server but the account is incorrect or invalid. Please post another account and provide the URL of the page where we can actually see the pagination.

    Best regards,
    Ismael

    #1203248

    Hi,
    sorry, the password I mentioned was not correct. Please find the right password in the private content of this message. The issue can be observed on the following page:
    https://www.tretroller-laden.de/produkt-kategorie/tretroller-erwachsene/

    Thanks!

    #1203949

    Hi,

    We can now access the file server but we can’t find the wp-content directory in the tretroller-laden.de folder. Where is root directory of the site?

    Best regards,
    Ismael

    #1203961

    the folder has been renamed (see private content)

    #1204694

    Could you please try again?

    Thanks!

    #1205390

    Hi,

    Sorry for the delay. We edited the hooks in the functions.php file to render the pagination before the taxonomy description.

    
    /**
     * Hook in each tabs callback function after single content.
     */
    
    function av_woo_hooks() { 
    	add_action( 'woocommerce_after_single_product_summary', 'woocommerce_product_description_tab' );
    	add_action( 'woocommerce_after_single_product_summary', 'woocommerce_product_additional_information_tab' );
    	add_action( 'woocommerce_after_single_product_summary', 'comments_template' );
    	add_action( 'woocommerce_after_shop_loop', 'woocommerce_taxonomy_archive_description', 2 );
    	remove_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop', 10);
    	add_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop_mod', 1);
    	add_action( 'woocommerce_after_shop_loop', 'avia_woocommerce_after_shop_loop_mod_close', 10);
    } 
    add_action( 'init', 'av_woo_hooks');
    
    function avia_woocommerce_after_shop_loop_mod()
    {
    			global $avia_config;
    			if(isset($avia_config['dynamic_template'])) return;
    			if(isset($avia_config['overview'] )) echo avia_pagination('', 'nav');
    }
    
    function avia_woocommerce_after_shop_loop_mod_close()
    {
    			echo "</div>
    </main>"; //end content
    }
    

    Best regards,
    Ismael

Viewing 23 posts - 1 through 23 (of 23 total)
  • You must be logged in to reply to this topic.