Move the “size guide” link location on my product pages

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

  • Avatar: Ajaz
    Ajaz
    Participant
    May 28, 2024 at 11:55

    Hi,

    Please advise how to move the “size guide” link location on my product pages.

    This is currently beneath my “shipping & delivery” description, I require to place this under the product description (dress/abaya) but above the “size & fit” title.

    Thanks.

    8 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    May 28, 2024 at 14:15

    Hi @Ajaz,

    Please try adding this custom code under functions.php file locates in your child theme:

    
    function n2t_custom_js() {
        ?>
        <script>
            jQuery(document).ready(function($){
                $('.single-product div.size-guide').insertBefore($('.single-product div.woocommerce-product-details__short-description > p:nth-child(2)'));
            });
        </script>
        <?php
    }
    add_action( 'wp_footer', 'n2t_custom_js', 999 );
    

    Best Regards,
    8Theme’s Team

    Avatar: Ajaz
    Ajaz
    Participant
    June 3, 2024 at 10:29

    Hi,

    I am not using the child theme, also, I am not sure where the “functions.php” file location is. Please advise exactly where to add the custom code.

    Thanks.

    Avatar: Justin
    Luca Rossi
    Support staff
    June 3, 2024 at 10:46

    Dear Ajaz,

    We hope this message finds you well. To facilitate the insertion of custom codes without the use of a child theme, we recommend utilizing the following plugin: [Code Snippets](https://wordpress.org/plugins/code-snippets/).

    Should you require any further assistance, please do not hesitate to reach out.

    Best Regards,
    The 8Theme Team

    Avatar: Ajaz
    Ajaz
    Participant
    June 3, 2024 at 11:02

    I have downloaded, installed, and activated the plugin, where do I enter the custom code?

    Avatar: Justin
    Luca Rossi
    Support staff
    June 4, 2024 at 05:08

    Hi @Ajaz,

    Please take a look at the documents of plugin: https://help.codesnippets.pro/en/.

    Best Regards,
    The 8Theme Team

    Avatar: Ajaz
    Ajaz
    Participant
    June 4, 2024 at 07:55

    You have provided the link to the FAQ page but I asked how do I add the code and where, my question shows that I clearly do not know how to add the code and where through the app you have advised to download and install.

    This has has only complicated the matter for me, don’t you think it is simple to give me the steps showing where to go on the snippet app and add the code rather than being more technical and complicated?

    I asked for your help, please keep it simple and provide the steps to add the code and resolve it.

    Avatar: Justin
    Luca Rossi
    Support staff
    June 4, 2024 at 09:09

    Hi @Ajaz,

    The provided custom code is in PHP language. So please put the custom code under PHP tab.

    For more information, please check this video: https://www.youtube.com/watch?v=29jD2BcBX5w&ab_channel=FerdyKorpershoek.

    Screenshots:
    https://ps.w.org/code-snippets/assets/screenshot-2.png?rev=2256244
    https://ps.w.org/code-snippets/assets/screenshot-3.png?rev=2256244

    Hope it helps 🙂

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 10, 2024 at 11:14

    Dear Ajaz,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

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

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Move the “size guide” link location on my product pages’' 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.