• Resolved George

    (@siou1975)


    Hello. Please I would like to ask a question. I want to edit the products meta in Woocommerce. I want to change the traditional layout(image) of sku, category, etc and edit them.
    Is there any plugin to do that kind of things? Or I must edit the woocommerce files by my self? Thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Best not to edit WooCommerce files since any edits will be overwritten by updates.

    The layout is managed by a series of add_action() functions. You can see these in woocommerce/templates/content-single-product.php. Your theme may be using its own version.

    The approach is to use remove_action() calls to remove the sections you don’t want and put them back with add_action() using a different priority parameter to put them somewhere else. These lines go in functions.php for your child theme where they are update-safe.

    A forum answer is not the best place to go into detail, but there’s a lot of guidance out there if you google WooCommerce hooks single product page.

    I don’t know of a plugin to do it but someone might be able to help with that question.

    Thread Starter George

    (@siou1975)

    Thank you very much for your answer lorro. I will start to search your query. Thanks again.

    Plugin Support Thu P. a11n

    (@thup90)

    Hi there,

    I trust you’re in the right direction. I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘edit product meta woocommerce’ is closed to new replies.