• Resolved cohenc

    (@cohenc)


    Hey,

    Is there any way to disable the markup description in its entirety, i’d prefer not to simply use display:none.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cohenc

    (@cohenc)

    Ignore, silly me didn’t check settings.

    Edit:

    Actually, this option seems to have had no effect as it still appends the markup to the description.

    View post on imgur.com

    For now I have commented this out from src/backend/term.php:

    $description .= PHP_EOL . ATTRB_MARKUP_DESC_BEG . $markup . ATTRB_MARKUP_DESC_END;

    • This reply was modified 5 years, 2 months ago by cohenc.
    • This reply was modified 5 years, 2 months ago by cohenc.
    Plugin Author Mark Tomlinson

    (@marktomlinson)

    I am now officially confused.

    I just completed testing all three options of that setting for version 3.7 of the plugin, and they all worked as intended. For each of these tests, I (1) changed the option, and (2) used Set regular prices to reprice the variations. I tried each setting with the words “Test description” in the description, and without the additional text. I also tested each setting with and without pricing information already in the description.

    Do NOT add pricing information to the description field.
    The result was only the words “Test description” if that was there originally, and an empty description if there was no additional description text.

    Add pricing information to the end of the existing description.
    The result was the words “Test description” with the pricing information if the additional text was there originally, and only pricing information if there was no additional description text.

    Overwrite the variation description with price information.
    The result was that the words “Test description” were overwritten if present.

    Note, also, that if there was no markup for a particular variation, the description field remained untouched.

    I wish I could tell you what went wrong in your case, but I can not replicate the issue. ??

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    No activity for two and a half months. Assuming issue is closed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable Markup Description’ is closed to new replies.