• Resolved nicoladefazio

    (@nicoladefazio)


    Hi,
    i’m using a theme with this content-single-product.php :
    <div class=”summary entry-summary”>
    <?php woocommerce_template_single_title(); ?>
    <?php woocommerce_template_single_rating(); ?>
    <?php woocommerce_template_single_excerpt(); ?>
    <?php woocommerce_template_single_price(); ?>
    <?php woocommerce_template_single_meta(); ?>
    <?php woocommerce_template_single_add_to_cart(); ?>
    <?php woocommerce_template_single_sharing(); ?>
    […]

    And i always see “add to cart” button instead of enquiry btn.

    I need to replace woocommerce_template_single_add_to_cart() in content-single-product.php with the equivalent one to show enquiry button: is it possible?

    NOTE: if i use <?php do_action( ‘woocommerce_single_product_summary’ ); ?> enquiry button works but theme isnt correctly shown.

    thank you so much

    https://wordpress.org/plugins/woocommerce-catalog-enquiry/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘content-single-product.php’ is closed to new replies.