Home Forums WoodMart support forum Issue displaying Staggs Product Configurator

Issue displaying Staggs Product Configurator

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #687941

    groupelfd
    Participant

    Hello,

    We bought few days ago WoodMart theme and we want to use the Staggs Product Configurator plugin on our WooCommerce store.

    Here is the current situation:

    The shortcode [staggs_configurator product_id=”ID PRODUCT”] works correctly when placed on a normal WordPress.

    I tested the plugin staggs product configurator on a default WordPress theme , and the configurator works perfectly there, without any shortcode, but with WoodMart Theme, I tried to use the shortcode [staggs_configurator product_id=”ID PRODUCT”] but it works correctly just when placed on a normal WordPress page (not working under elementor)

    So, I tried to display the staggs configurator product above the product price by adding the following code in my child theme’s functions.php but is not working:

    add_action(‘woocommerce_single_product_summary’, ‘ajouter_staggs_au_prix’, 5);
    function ajouter_staggs_au_prix() {
    if ( is_product() && shortcode_exists(‘staggs_configurator’) ) {
    echo do_shortcode(‘[staggs_configurator product_id=”‘ . get_the_ID() . ‘”]’);
    }
    }

    What works:

    Staggs Product Configurator works on default WordPress themes
    Shortcode in normal pages
    Plugin is active and product configurator enabled

    What does not work:

    Staggs configurator in the WoodMart theme
    Shortcode via Elementor Shortcode widget
    Shortcode via child theme hook

    Could you please advise:

    How we can use Staggs Product configurator above the product price in WoodMart as is working for any other free worpress theme?

    If there are any hooks, settings, or workarounds to ensure the shortcode renders correctly when using Elementor or your theme templates.

    Thank you for your help.

    #688031

    Hung Pham
    Keymaster

    Hi groupelfd,

    Thanks for reaching to us and appreciate your patience.

    Could you please check how it works with WooCommerce Storefront to understand if it is our theme issue or not?

    Please note that we do not give a guarantee for full theme compatibility with all existing 3rd party plugins. Sometimes, not always, you need additionally customize the theme or plugin to make them work together. Unfortunately, it’s not possible for the author to make the theme compatible with all the existing plugins and additional customization is outside the scope of our basic support.

    Regards,
    Hung PD

    #688173

    groupelfd
    Participant

    Hi Hung Pham,

    Thank you for your reply,

    We tested the Staggs Product Configurator plugin with the official WooCommerce Storefront theme, and it works perfectly.

    However, with WoodMart, the configurator does not appear and when we use code to custom the theme it only shows below the price and add to cart button.

    Since it works fine on Storefront, the issue clearly comes from compatibility with WoodMart.

    Thank you for your support.

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