• Resolved ITCS

    (@dimath99)


    Hello,

    The shortcode alg_product_available_variations name=”size” shows the available sizes with the below format for example:

    s: | m: | l:

    I would like to remove the “:” symbol.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @dimath99,

    All plugin’s shortcodes have optional find and replace attributes, so please try [alg_product_available_variations find=":" replace=""]

    Hope that helps.

    Thread Starter ITCS

    (@dimath99)

    Thanks, it worked!

    What if I want to find and replace more than one symbols? I want to replace the “|” separator with a comma?

    Thread Starter ITCS

    (@dimath99)

    To clarify, my current shortcode [alg_product_available_variations name=”size” find=”:” replace=””] gives the below result after your suggestion:

    s | m | l

    I want to replace the “|” symbol with “,”

    Thanks

    Thread Starter ITCS

    (@dimath99)

    Hello,

    I need to know if this is possible before purchasing the premium version.

    Could you please answer to me?

    Thanks

    Plugin Author Algoritmika

    (@algoritmika)

    Hi @dimath99,

    Sorry for not replying earlier. We will be releasing a new plugin version today. There I will be adding:

    1. sep attribute to the [alg_product_available_variations] shortcode, so you could replace the default | with comma:

    [alg_product_available_variations sep=", "]

    2. find_replace_sep attribute to all shortcodes, so you could find/replace multiple values, e.g.:

    [alg_product_available_variations find=":.|" replace=".," find_replace_sep="."]

    Plugin Author Algoritmika

    (@algoritmika)

    Hi again @dimath99,

    As promised, we have just released the new plugin version. Generally I have added all as described in the previous message, except that instead of sep attribute, you should use sep3, i.e.:

    [alg_product_available_variations sep3=", "]

    You can get more info about [alg_product_available_variations] shortcode and its attributes here.

    Please let me know if you notice any issues or have any questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove “:” symbol’ is closed to new replies.