Support » Plugin: WooCommerce » Woocommerece product page customization

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Claudio Sanches

    (@claudiosanches)

    You can remove the up-sells products and display your own content using:

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_upsell_display', 15 );
    
    function my_wc_product_content() {
      // Your content here.
    }
    
    add_action( 'woocommerce_after_single_product_summary', 'my_wc_product_content', 15 );
    

    Thx Mr. Sanches
    Your code works perfectly, but I need to retrieve product name inside the custom content.
    Can you help please with the correct code?
    Thx

    Plugin Author Mike Jolley

    (@mikejolley)

    The snippet above shows how you add content – adding the content is something you’ll need to add yourself inside the above snippet. We cannot really help with advanced customisations – if you need a dev, look at jobs.wordpress.net

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerece product page customization’ is closed to new replies.