• Resolved k4media

    (@k4media)


    It seems that shortcode support has been removed? The code:

    var_dump( shortcode_exists( '[display_stock_alert_form]' ) );

    produces a result of “bool(false)”. Is there another way to show the form?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mouindi

    (@mouindi)

    Hi @ , We have changed the name of the shortcode to display_stock_manager_form

    However there was an issue with this shortcode and we will add the fix in our next update by next week.

    For now, we have added a fix in our GitHub.
    So, after downloading the plugin from here – https://github.com/multivendorx/woocommerce-product-stock-alert.git follow these steps :
    – Delete the installed Stock Alert plugin via wp-admin >> plugin
    – Unzip the GitHub plugin
    – Rename the folder as “woocommerce-product-stock-alert” and remove the master tag. Now, zip this folder again.
    – Install this plugin on your site.


    Please do keep us posted.

    Thread Starter k4media

    (@k4media)

    Hi, thanks a million for following up. It works!!

    Thread Starter k4media

    (@k4media)

    Hello, I am having the same problem again. The shortcodes do not show the form, neither display_stock_manager_form or display_stock_alert_form. I am using the latest version 2.4.2.

    The page I am having trouble: https://devinecellars.com.au/buy/non-alcoholic/cocktail-mixers-syrups/finest-call-raspberry-puree-1l/

    Thread Starter k4media

    (@k4media)

    The problem was bad typing on my part in the shortcode_exists() function. This code is working.

    if ( shortcode_exists('display_stock_manager_form') ) {
        echo do_shortcode('[display_stock_manager_form]');
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode missing’ is closed to new replies.