Home Forums WoodMart support forum Display Shop page sidebar on Single product page

Display Shop page sidebar on Single product page

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

    Haresh
    Participant

    Hello,

    How should I show Shop page sidebar on a Single product page and also how can I change content position, see an attached screenshot?

    Any help will be appreciated.

    Thanks in advance!

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

    Artem Temos
    Keymaster

    Hello,

    Unfortunately, you can’t use the shop page sidebar on your products. You are able to add any custom widgets to your product page sidebar in Appearance -> Widgets and then enable the sidebar in Theme Settings -> Product page.

    As for the product page elements order, try to add the following PHP code snippet to the child theme functions.php file to do this

    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20);
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 40);
    
    add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_meta', 20);

    Regards

    #33919

    Haresh
    Participant

    Hello,

    Thank you, sir, it is working superbly…

    Thanks

    #33928

    Artem Temos
    Keymaster

    Great, you are welcome!

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

The topic ‘Display Shop page sidebar on Single product page’ is closed to new replies.