• Resolved epatt29

    (@epatt29)


    Hi there!

    I love the plugin, it was extremely easy to set up! My client asked if it’s possible to include the category banner on the child product. I thought it might be possible using something inside functions.php, but wanted to ask in case this is something in development, or included in the paid version of the plugin. Note: I’m not really a developer, I just end up coming up with solutions sometimes.

    What I was thinking was something like…
    if ( is_product() ) {add_action(‘woocommerce_before_main_content’, $plugin_admin, ‘WBM_show_category_banner’,10);}

    But I feel like it’s missing some kind of query for the category. In the best of worlds, it wouldn’t be a problem because this site is 95% single-category-per-product, but the other 5%…

    Best,
    Liz

Viewing 1 replies (of 1 total)
  • Plugin Author Dotstore

    (@dots)

    Hello @epatt29,
    Thanks for contacting us. As you written code is not working for product page this is for category page because this is working on a woocommerce action and this is the function is relevant to the category. So we suggest you can create a support ticket for that kind functionality out team will provide customize cost for this functionality, Here is support link: https://store.multidots.com/dotstore-support-panel/

    Thank You,
    Multidots.

    • This reply was modified 7 years ago by Dotstore.
Viewing 1 replies (of 1 total)
  • The topic ‘Include Category Banner on Product Page’ is closed to new replies.