Home Forums WoodMart support forum please how to add the categories product menu in product single page on mobile

please how to add the categories product menu in product single page on mobile

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

    kais
    Participant

    please how to add the categories product menu with submenu in product single page on mobile
    it’s work fine on desktop page but i can not add it on mobile product page
    regards.menu

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

    Hello,

    I saw the screenshot you attached.

    Unfortunately, there is no option in theme settings to add a sidebar on the single product page on mobile. It requires customization and this is beyond our limitations and support policy.

    If you are trying to ask anything else then please provide some relevant screenshots of the specific area where you want to add the sidebar to check it myself and help you out accordingly.

    Best Regards.

    #184870

    kais
    Participant

    no really
    i found a simple easy solution bro
    why do you complicate it and close all doors
    just generate a shortecode for product categorie widget
    ans add action to add shortcode in single product page in function.php child themes

    add_action( 'woocommerce_before_single_product', 'mobile_on_checkout_page_only', 5 );
     
    function mobile_on_checkout_page_only() {
     
    echo do_shortcode('[do_widget id=woocommerce_product_categories-9]');
     
    }

    and some css code to hide it on decktop and it’s alright

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

    Hello,

    We are Glad that you resolved the issue by yourself. You are Great!!

    Your solution might be useful for others.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

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

The topic ‘please how to add the categories product menu in product single page on mobile’ is closed to new replies.