Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1325417
    striker150
    Participant

    Hey Themeco crew,

    I would like to display the product short description on the shop / shop category pages
    Been following this guide right here.

    I was able to get the product short description to appear within my product blocks, but something odd is happening to the formatting on the product categories after the new .php is added to the child theme. it appears to be adding odd spacing on the category pages. I’ve attached some before and after

    Thanks!

    #1325423
    striker150
    Participant
    This reply has been marked as private.
    #1325479
    Christopher
    Moderator

    Hi there,

    Your FTP credentials didn’t work, please check.
    Please share the code you added to achieve this.

    Thanks.

    #1325496
    striker150
    Participant
    This reply has been marked as private.
    #1326125
    Rad
    Moderator

    Hi there,

    Your product items are wrapped with another link with class, woocommerce-LoopProduct-link. X theme doesn’t have this class, either your custom template and code doesn’t have it

    Would it be okay if I disable all other plugins and templates? Please backup your site first as this process may reset some plugin settings and configuration.

    Thanks!

    #1332183
    striker150
    Participant

    Hey Rad,

    thanks for the assistance. I just backed up my site and exported a copy of the customizer. please feel free to disable/re-enable plugins as you see fit.

    Thanks!

    #1332870
    striker150
    Participant

    I have been working with the .php files trying to find the source of this error. the effected file is the content-product.php page I added to the x-child/woocommerce/ folder, I have removed it. I was unable to find any issues with any of the other scripts running.

    #1332997
    striker150
    Participant

    Figured out a work around.
    I was able to add the Woocommerce hooks directly into the functions.php and it worked.

    https://wordpress.org/support/topic/show-a-short-description-in-shop-category-pages/

    Thanks for your help!

    #1333008
    Lely
    Moderator

    Glad you were able to figure this out.

    Thank you also for sharing the link.
    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1325417 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>