• Resolved eclev91

    (@eclev91)


    The default value for the price_row_format argument in the shortcodes is <del>%old_price%</del> %price%. If we try and pass a variation of this that still uses the del tags, like <del>%old_price%</del>%price% ea, the del tags are escaped and show up literally.

    This may be due to a recent release that added escaping to shortcode args. Or maybe it never worked. Idk.

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

    (@tahaamin)

    Hello @eclev91,

    Could you please use the following instead: <del>%old_price_total%</del> %price% ea

    You can find all available placeholders in this screenshot, the one you shared previously appears to be incomplete.

    Please let me know if this resolves the issue.

    Thread Starter eclev91

    (@eclev91)

    The issue is not that the price doesn’t show up. It does. It’s that the HTML is escaped rather than rendered.

    Plugin Support Taha

    (@tahaamin)

    Hi @eclev91,

    I hope you’re doing well!

    I think you’re referring to a Pro version, right? The table is only available in the Pro version. If that’s the case, I’d be happy to assist you, but please reach out to us via support ticket: support@wpfactory.com

    I’ve just tested “Show discount pricing info in cart,” and it’s working well, see here and here.

    If you’re using the free version:

    Could you please point out:

    • The exact setting you’re dealing with
    • How to reproduce the issue locally on my end

    I’ll check the issue for you. Thank you for your understanding.

    Best regards,

    Thread Starter eclev91

    (@eclev91)

    We are not referring to the pro version. The shortcode is available in the free version

    [alg_wc_product_ppq_table price_row_format="<del>%old_price%</del>%price% ea"]

    Renders as:

    • This reply was modified 2 months, 3 weeks ago by eclev91.
    Plugin Support Taha

    (@tahaamin)

    Hello @eclev91,

    Thank you for your response.

    As described, the table features are only available in the Pro version. Therefore, the delete tags functionality will not be rendered in the Free version, as the feature is closed there, as shown here: https://prnt.sc/H27pK-lGwpZ9

    Best regards,

    Plugin Support Taha

    (@tahaamin)

    Hello @eclev91,

    I think I may have made a mistake here. I may have previously stated that the table feature is restricted to the Pro version, but it could actually be working in the Free version as well.

    I am checking this with our developer now and will update you soon.

    I apologize for the confusion, and thank you for your patience.
    Best regards,

    Plugin Contributor Tom Anbinder

    (@anbinder)

    Hi, @eclev91,

    Could you please let me know how/where you are adding the shortcode? I’ve just tried adding it to a “Product description” – it seems to be working fine; the HTML is properly rendered, not escaped.

    I’m adding this:

    [alg_wc_product_ppq_table price_row_format="<del>%old_price%</del> %price% ea"]

    And the result looks like this:

    Thread Starter eclev91

    (@eclev91)

    Hi all, thanks for the acknowledgement.

    I’m having the issue in both short and regular product descriptions. Let me fiddle around in a test environment and see if I can identify a conflict or something.

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

You must be logged in to reply to this topic.