Home Forums Space themes support forum How can I move product meta to above the product details?

How can I move product meta to above the product details?

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

    arshpal88
    Participant

    Hi, I want to move the category below the title. How can I do that?

    #353566

    Luke Nielsen
    Keymaster

    Hello,

    You can change the position of the “Category” field with the help of the below custom PHP code. Paste it to the functions.php file in your child theme.

    add_action( 'wp', function (){
        remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40);
        add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 7);
    }, 1000 );

    Don’t hesitate to let me know if you need any further help or any other info.

    Kind Regards

    #354587

    arshpal88
    Participant

    It worked perfectly. Thanks a lot for your support.

    #354731

    Luke Nielsen
    Keymaster

    Hello,

    Glad that everything is sorted out!

    We will appreciate it if you can refer your friends or family members to become a part of our Xtemos family.

    Thanks for your time and have a great day.

    Kind Regards

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

The topic ‘How can I move product meta to above the product details?’ is closed to new replies.