• Resolved tiezkoz

    (@tiezkoz)


    I would like to use more than 3 replace values. I use “page blocks” in my product descriptions, and I need to replace every page block code (like “[us_page_block id=1953]”) with a custom text. But in the admin I can only use up to 3 replace values (rows) for every attribute.

    Screenshot: https://i.imgur.com/D0x0G9U.png

    How can I fix this? No problem if I have to change something in the code.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @tiezkoz,

    That should be possible. There is no limit to the number of values you can replace. Looking at your screenshot, there should be another “for all products (edit)” selection to the right of the last replace setting. Apparently they where there for the other two settings.

    I did test it on my test server and could not find a limit.

    Could you try to remove all three of them and then try setting them again?

    Thread Starter tiezkoz

    (@tiezkoz)

    Hi Michel,

    Thank you for your reply.

    You are right; it worked after I removed all three of them and then added them again.

    My first attempt didn’t work. I think this had to do with the quotes I used in the replace text. When I use ” and/or ‘ (quotes) things seem to go wrong. Maybe you can look at this in a future release.

    • This reply was modified 5 years, 4 months ago by tiezkoz.
    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    OK, I’ll put that on my list to check and fix for the next release.

    I assume you put the quotes in the replace text fields? What didn’t work; it did not replace the text in the feed?

    Thread Starter tiezkoz

    (@tiezkoz)

    I had the issue with both. Putting the quotes in the “replace” text field and in the “with” text field.

    In de “replace” text field my value was:
    [us_page_block id=”2077″]
    After saving it was changed to:
    [us_page_block id=

    In the “with” field, I had a text with the word:
    tailor’s
    After saving/refreshing I could not find the “for all products (edit)” link anymore. I’m not sure if this had to do with the single quote, but it might be.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Roger, thanks. I’ll put it on my todo list to check it out.

    Have a nice day.

    Thread Starter tiezkoz

    (@tiezkoz)

    Thank you very much for the great support!

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    You’re welcome ??

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    @tiezkoz,

    Found the cause of the issue. It will be fixed in the next release, to be expected somewhere this month.

    Thread Starter tiezkoz

    (@tiezkoz)

    Great, thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Add more than 3 replace values’ is closed to new replies.