ResolvedPosition of product description

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22953
    guacha
    Participant

    Hi!

    is it possible to move the product description to the lateral, like in the image?

    Move description

    Thanks

    Gustavo

    #22959
    guacha
    Participant

    I was doing some research and I will try to answer my own question:

    I can change the tabs place by changing the priority of the hook woocommerce_output_product_data_tabs.

    Sorry, it was just plain Woocommerce coding.

    Thanks

    #22960
    guacha
    Participant

    I can’t get the woocommerce hooks to work in the theme. The following code does nothing in the product page:

    remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10);
    add_action( 'woocommerce_single_product_summary', 'woocommerce_output_product_data_tabs', 35 );

    I tested this code, but is not working: (in my child theme functions.php)

    function guacha_print_hello() {
      echo "<h1>HELLO</h1>";
    }
    add_action( 'woocommerce_single_product_summary', 'guacha_print_hello', 30 );

    This code doesn’t work either:

    add_action( 'after_setup_theme', 'guacha_add_action', 70);
    function guacha_add_action() {
      add_action( 'woocommerce_single_product_summary', 'guacha_print_hello', 70 );
    }

    Is this a theme issue?

    Thanks

    • This reply was modified 2 weeks, 3 days ago by guacha.
    #22962
    guacha
    Participant

    Sorry, my child theme was not loading correctly.
    Resolved.

    #22979
    Althemist
    Keymaster

    Hello guacha,

    Sorry for the late reply. It looks like we somehow missed your posts.

    I am glad you manged to find a solution. Should you need help with something else, just let us know.

    Regards,
    Dimitar

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for any item belonging to this account
AlThemist

AlThemist

sales 13858, followers 699
Login and Registration Log in · Register