Support » Plugin: WooCommerce » Edit code in woocommerce_single_product_summary

  • 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,

    http://wordpress.org/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • 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;

    wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php

    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?

Viewing 1 replies (of 1 total)
  • The topic ‘Edit code in woocommerce_single_product_summary’ is closed to new replies.