• kaboemnld

    (@kaboemnld)


    Hello,

    Notice [alg_wc_url_coupons_print_notices] short is not working it change he [ to { i see no notice when a

    coupon is added to he cart

    Thanks

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

    (@tahaamin)

    Hi,

    It looks like Divi is stripping or modifying the shortcode brackets, which prevents the notice from being displayed.

    Could you please try adding the shortcode without the square brackets, like this:

    alg_wc_url_coupons_print_notices

    and then test again when a coupon is added to the cart.

    Please let us know if this works for you.

    Best regards,

    Thread Starter kaboemnld

    (@kaboemnld)

    Hello,

    without brackets it show only the text

    Thanks

    Plugin Support Taha

    (@tahaamin)

    Hi @kaboemnld,

    Thanks For Your Message.

    Please try the following solutions one by one:

    1 – Use Text Module (Text tab only)
    Add a Text module → switch to the Text tab (not Visual) → paste:
    [alg_wc_url_coupons_print_notices]

    2 – Use Code Module
    Add a Code module in Divi and paste the shortcode with brackets.

    3 – Use Shortcode Module (if available)
    If you have a Shortcode module, use it and paste the shortcode there.

    4 – Disable Divi formatting for the module
    In the module settings, check Advanced options and disable any visual / dynamic / formatting features.

    5 – Test outside Divi layout
    Temporarily switch to the default WooCommerce Cart page (no Divi layout) and test if the notice appears.

    Please ensure that the shortcode condition is actually met (i.e. a coupon is added via URL and a notice is triggered). If no notice is generated, the shortcode will not display anything.

    Let me know if the problem persists after all this.

    Best regards,

    Plugin Support Taha

    (@tahaamin)

    Hi,

    Just to add to our previous messages, there is a known behavior in Divi 5 where shortcodes may sometimes be altered during editing or saving, which can prevent them from being executed correctly.

    As a workaround, please try placing the shortcode inside a Code module in the following format:

    <div>[alg_wc_url_coupons_print_notices]</div>

    This usually helps preserve the shortcode structure.

    Please let us know if this resolves the issue on your side.

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.