Home Forums WoodMart support forum Customize Single Product page

Customize Single Product page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #319655

    zzzmeo
    Participant

    Hi,
    how to edit single product like my attached image
    I would like to edit by myself , please guide me what file to edit

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #319955

    Luke Nielsen
    Keymaster

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Please, try to add this code to the functions.php file in your child theme

    if ( ! function_exists( 'wd_change_title_position' ) ) {
    
        function wd_change_title_position() {
            remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
            add_action( 'woocommerce_before_single_product', 'woocommerce_template_single_title', 2008 );
        }
    
        add_action( 'wp', 'wd_change_title_position', 3000 );
    }

    In order to move breadcrumbs under the title, you need to go to your theme folder, “woodmart” -> woocommerce -> content-single-product.php -> from line 132 to 144, copy the condition, and paste it into “div” with the variable class “$container_summary” (below line 100)

    https://gyazo.com/d243e1532ca41f5f67edccb4399b46e8

    https://monosnap.com/file/gJBOTIwWhkJATWTxYRrJEZlGbnd2Ao

    Please, create the folder “woocommerce” in your child theme, and copy the file “content-single-product.php” there.

    https://gyazo.com/0689185d2d5d130ff630385ba74d6ff0

    Kind Regards

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