• Resolved maxhoehle

    (@maxhoehle)


    Hello there,
    I think I need a shortcode of my whole tab section, is there a way to easily add it somewhere else ?
    I want the tab section in woo commerce just dropping when a button is clicked.
    So imagine something like :
    Do you want to customize the size ?
    (When clicking this field the tab appears)

    Hopefully you will have a solution. Thank you

    • This topic was modified 7 years, 3 months ago by maxhoehle.
    • This topic was modified 7 years, 3 months ago by maxhoehle.
Viewing 1 replies (of 1 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @maxhoehle,

    Unfortunately there is no shortcode (or plan for a shortcode). The reason for this is that we don’t control any of the display for the tabs – we simply pass the data into WooCommerce’s existing tab structure (i.e. the one they use for the default Description tab).

    However, if I were trying to create the flow you’re looking for, I would add some JavaScript to the single product page. This JavaScript would do two things: (1) hide the tabs on page load and (2) show the tabs when your button is clicked.

    Does that make sense? I can help you achieve this but if you don’t know WordPress/Coding/JavaScript it’ll be a bit difficult.

    Let me know.

    Cheers,
    Kevin.

Viewing 1 replies (of 1 total)
  • The topic ‘Short-Code for tabs’ is closed to new replies.