ACF on category page - by cienfu - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 3 years, 4 months ago ago by Olga Barlow

  • Avatar: cienfu
    cienfu
    Participant
    July 30, 2021 at 13:00

    Hi,

    I was trying to add some ACF field in after the product listed on a category page. But when i try to edit the woocommerce template files on the child theme, the design crush.

    How can i edit this to add ‘<?php the_field(‘product_summary’); ?>’ on that page?

    Thanks.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 30, 2021 at 15:28

    Hello,

    Use woocommerce hooks in child theme functions.php https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/
    https://docs.woocommerce.com/document/introduction-to-hooks-actions-and-filters/
    if you want to customize single product page and add some additional information.

    Regards

    Avatar: cienfu
    cienfu
    Participant
    July 30, 2021 at 15:49

    I dont want for single products i want for category page, add some paragraphs after the product list div.

    https://ibb.co/pX0P2d0

    add in that category template in that area the code , but when i add woocomerce templates in child theme it broke the design, event without modifications.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 30, 2021 at 17:43

    Hello,

    https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/
    Use woocommerce_after_shop_loop hook.

    Additional customization is outside of our support. You can submit customization request here if you need help with the custom code.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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