Show attribute term description into product page

This topic has 7 replies, 3 voices, and was last updated 6 days, 4 hours ago ago by Andrew Mitchell

  • Avatar: Mauro Giorgi
    Mauro
    Participant
    January 24, 2025 at 23:49

    Hi,
    i’ve products with three variations, can i display descriptions (if exist) into product page belove relative attribute?
    See example into private area.
    Thanks

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    January 27, 2025 at 06:23

    Dear @Mauro,

    Thank you for reaching out to us.

    The customization you are requesting requires extensive coding and falls outside the scope of the standard support services we provide. Additionally, we have not yet tested this functionality with third-party plugins.

    We highly encourage you to share your suggestion on our Taskboard at (https://www.8theme.com/taskboard/). If your idea gains sufficient support from other customers, our development team will carefully consider its implementation in a future update.

    For any additional customizations beyond the default functionalities, we kindly invite you to submit a request through our Customization Panel at (https://www.8theme.com/account/#etheme_customization_panel). Please note that customization services may incur additional charges.

    Should you have any further questions or require assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Avatar: Mauro Giorgi
    Mauro
    Participant
    January 27, 2025 at 07:08

    Hi, i’ve created request… could you suggest some plugins that do this? Can I create 4 hidden blocks and show it when click product variants?
    This is a fundamental function for us
    Thanks

    Avatar: Justin
    Luca Rossi
    Support staff
    January 27, 2025 at 08:19

    Dear @Mauro,

    The idea of creating four hidden blocks sounds excellent. To achieve this functionality, you can utilize the custom JavaScript code provided in the following link: (https://stackoverflow.com/a/27849208/2660153). This code will allow you to display each block when a specific variation is selected.

    Best regards,
    The 8Theme Team

    Avatar: Mauro Giorgi
    Mauro
    Participant
    January 28, 2025 at 18:06

    Hi, thanks…. how can I add custom javascript code?

    Avatar: Justin
    Luca Rossi
    Support staff
    January 29, 2025 at 14:02

    Hi @Mauro,

    You can add this custom code to functions.php file locates in your child theme:

    
    add_action('wp_footer', 'n2t_wp_footer', 999);
    function n2t_wp_footer(){
    	?>
        <script>
            jQuery( function($){
                $(document).ready(function(){
                    $( ".single_variation_wrap" ).on( "show_variation", function ( event, variation ) {
                        if( $(window).width() < 600 ){
                            $("html, body").animate({ scrollTop: 0 }, "slow");
                        }
                    } );
                })
            });
        </script>
    	<?php
    }

    Or use the 3rd party plugins like this plugin: https://wordpress.org/plugins/insert-headers-and-footers/.

    Hope it helps!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    February 3, 2025 at 08:50

    Dear Mauro,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Show attribute term description into product page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.