• Resolved damiansmith86

    (@damiansmith86)


    Hey,

    Is there anyway of loading the “popup” upon page load, maybe as simple as calling a function on the page?

    Any help would be gratefully received.

    Thanks

    • This topic was modified 3 years, 3 months ago by damiansmith86.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marc Lacroix

    (@marcusig)

    Hi there,

    There are different ways of opening the configurator.
    – Add ?open_configurator=1 to the URL
    – Trigger the click event on the button: $( '.configure-product-simple' ).trigger( 'click' );
    – Using JS, open the configurator by specifying the product ID: PC.fe.open( 4042 );
    – You could also insert the configurator inline instead of the default modal, like seen on https://demos.mklacroix.com/configurable-watch/.
    To do this on the product page, you’ll either need to use a page builder which allows it, or create a specific single product template and insert the inline shortcode([mkl_configurator]).

    Marc

    So is there possibility to put it instead of the image and add to cart and so on on a specific product page?
    E.g. porto theme permits to build product page template so my question is
    What i have to use to display plugin configurator at the top of product page
    The mostly important if i click on a product in shop page
    When i click select option button can be transferred to the product page build in template but with specific ID product called by button?
    Not known if clear enough? Thanks

    Thread Starter damiansmith86

    (@damiansmith86)

    Thank you very much @marcusig – the URL option was exactly what I was looking for.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Open configurator on page load’ is closed to new replies.