I Try to Customize Products grid content

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

  • Avatar: Caroline
    Caroline
    Participant
    March 14, 2024 at 09:41

    Hi, I want to had some infos on my products grid content but I don’t find the file to change that. Can you help me?

    11 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    March 14, 2024 at 13:01

    Dear Caroline,

    We trust this message finds you well.

    We would like to inform you that there is an available hook in which you can insert your information beneath the product title. To implement this, kindly insert the following snippet of code into the functions.php file located within your child theme directory:

    
    add_action('after_etheme_product_grid_list_product_element_title', 'after_etheme_product_grid_list_product_element_title');
    function after_etheme_product_grid_list_product_element_title(){
          echo 'Your information will go here';
    }
    

    We hope you find this addition beneficial. Should you require any further assistance, please do not hesitate to reach out.

    Warm regards,
    The 8Theme Team

    Avatar: Caroline
    Caroline
    Participant
    March 14, 2024 at 15:21

    Sorry but it’s not working.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 14, 2024 at 17:54

    Hi @Caroline,

    Thank you for reaching out to us with your inquiry.

    To assist you further, we kindly request that you provide us with temporary wp-admin and FTP access credentials.

    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Caroline
    Caroline
    Participant
    March 14, 2024 at 17:58

    Thanks I give you everything in the private area

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    March 14, 2024 at 18:06

    Dear Caroline,

    We hope this message finds you well.

    We would like to bring to your attention that there was a slight discrepancy in the placement of certain codes within the website’s files. It has come to our notice that the codes were initially added to the style.css file, whereas they should have been incorporated into the functions.php file.

    For your reference, here is a screenshot illustrating the incorrect placement:
    [https://prnt.sc/kqDFp3IuKgb4](https://prnt.sc/kqDFp3IuKgb4)

    Our team has taken the initiative to rectify this issue on your behalf. The codes have now been correctly positioned within the functions.php file, as can be seen in the following screenshot:
    [https://prnt.sc/hnrHx6ZFeACL](https://prnt.sc/hnrHx6ZFeACL)

    As a result of this adjustment, the texts should now correctly appear beneath the product title, as demonstrated in this screenshot:
    [https://prnt.sc/VJkQfefiuWSj](https://prnt.sc/VJkQfefiuWSj)

    We trust that this amendment aligns with the intended functionality and enhances the performance of your website. Should you have any further questions or require additional assistance, please do not hesitate to reach out to us.

    Warm regards,
    The 8Theme Team

    Avatar: Caroline
    Caroline
    Participant
    March 14, 2024 at 18:20

    I’m so sorry, I did it quickly and did’t notice that I put it in the css 😱

    Avatar: Justin
    Luca Rossi
    Support staff
    March 14, 2024 at 18:27

    Dear @Caroline,

    We are pleased to learn that all is functioning properly at this time.

    Warm regards,
    The 8Theme Team

    Avatar: Caroline
    Caroline
    Participant
    March 14, 2024 at 18:29

    I need to put an ACF field here but the code doesn’t work. How can I do that?

    Avatar: Justin
    Luca Rossi
    Support staff
    March 15, 2024 at 05:19

    Hi @Caroline,

    Your code is wrong, we’ve updated it. The correct code should be:

    
    add_action('after_etheme_product_grid_list_product_element_title', 'after_etheme_product_grid_list_product_element_title');
    function after_etheme_product_grid_list_product_element_title(){
    	echo '<div class="assis"><span>assis</span> '.get_field('assis').'</div>';
    	echo '<div class="cocktail"><span>cocktail</span> '.get_field('cocktail').'</div>';
    	echo '<div class="conference"><span>conference</span> '.get_field('conference').'</div>';
    }
    

    Fore more information, please take a look at this article: https://www.advancedcustomfields.com/resources/get_field/

    Warm regards,
    The 8Theme Team

    Avatar: Caroline
    Caroline
    Participant
    March 15, 2024 at 07:01

    Thanks a lot

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    March 15, 2024 at 07:01

    Dear Caroline,

    Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?

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

    Your support fuels our journey, and we appreciate it more than words can express.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘I Try to Customize Products grid content’' 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.