[Support request] How to move add to cart and price below description?

Home Forums Support [Support request] How to move add to cart and price below description?

Home Forums Support How to move add to cart and price below description?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2215526
    B

    Hi.
    On a single product Woocommerce page, I’m trying to move the add to cart button and price below the text of the description, but I can’t seem to do it right, and I’ve dug through the GP forums endlessly. Full disclosure: I’m using this code to remove all the tabs of the product:

    
    add_filter( 'woocommerce_product_tabs',  'woocommerce_template_product_description_reviews', 40 );
    function woocommerce_template_product_description_reviews() {
       woocommerce_get_template( 'single-product/tabs/description.php' );
    	;}
    // Remove the product description Title
    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 98 ); 
    add_filter( 'woocommerce_product_description_heading', '__return_null' );

    Here’s a screenshot:

    #2215582
    Leo
    Staff
    Customer Support

    Hi there,

    By default, the add to cart should be below the description:
    https://gpsites.co/seller/product/happy-ninja-hoodie/

    Can you try removing your snippets to see if it’s causing the issue?

    #2215597
    B

    Hi thanks. Removing the snippets just replaces the tabs at the bottom (Description / Additional Information) which I’m trying to remove. I’m trying to keep the text of Description without the tab.

    The layout I’m trying to get:

    [ IMAGE ] [ DESCRIPTION ]
    then at the bottom:
    [ PRICE ] [ ADD TO CART ]

    If that helps?

    #2215723
    Ying
    Staff
    Customer Support

    Hi there,

    You can remove the tabs at customizer > layout > Woocommerce > single product, uncheck the Display product tabs box.

    But Description is in the tab, maybe try using short description instead?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.