• Resolved gComm

    (@gcommercepk)


    I want to move the product description “not short product description” under the add to card button on single product pages on my site here –> https://goo.gl/iVQdde

    Also it should not be tabbed and there should be no heading “product description” it should look exactly like the clean looking product short description the is above the add to cart.

    To clear out exactly the area i want to move under add to cart button i have typed ” move this area under add to cart in it on my product page ” on my site here —> https://goo.gl/iVQdde

    Please give simple css codes for me,waiting for help ??
    Cheers !

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hey,

    You can’t do this with CSS.

    To remove the tab you’ll need to filter woocommerce_product_tabs and unset the description array. Alternatively you can use our Tab Manager extension to manage your tabs.

    You’d then need to hook woocommerce_product_description_tab into woocommerce_single_product_summary to display the full description there.

    Best

    Thread Starter gComm

    (@gcommercepk)

    thats as little too complicated for ?? would moving the short description area (that is above the add to cart button) below the add to card button be easier and achievable via Css ?

    Short description area meaning the one where it is written “free shipping” on this page –> https://www.shirtsnatch.com/product/clan-t-shirt/

    That would be much easier, but you cannot do it with CSS :p That doesn’t mean it’s not easy though. This snippet should do the trick;

    add_action( 'init', 'jk_move_short_description' );
    function jk_move_short_description() {
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 40 );
    }

    I recommend using our Theme Customisations plugin to make this change.

    Thread Starter gComm

    (@gcommercepk)

    Thanks james but where am i supposed to paste this code ?

    Thread Starter gComm

    (@gcommercepk)

    thanks james figured it out !

    Hi gComm

    i would appreciate to know where you finally paste the code please

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Move Product Description under Add to Cart Button !’ is closed to new replies.