WooCommerce - excelling eCommerce
Edit code in woocommerce_single_product_summary (2 posts)

  1. morestar
    Posted 2 years ago #

    So I see in wp-content/plugins/woocommerce/templates/content-single-product.php the following line:

    do_action( 'woocommerce_single_product_summary' );

    This action seems to display the add to cart button, option drop downs and prices.

    Can someone tell me which file I can edit so as to edit the HTML in that area?

    Thank you,


  2. morestar
    Posted 2 years ago #

    Thus far, I've found the file which seems to render the add to cart button and the Sale and Regular price as well, here in;


    BUT, the only line that seems to, in that file, render the add to cart button and sale/regular price, is this line:

    $terms = get_terms( $name, $args );

    I commented that out to test and it did remove it, but my question now is, where is the code coming from that renders the add to cart/etc information?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic