MarketPress - WordPress eCommerce
[resolved] Product Description Question (6 posts)

  1. slabadie
    Posted 2 years ago #

    The product description formatting on the landing page doesn't appear the same when when you select the "Choose Option" button. How can I get the landing page to match? http://quantum.esu.edu/camps/


  2. David
    WPMU DEV Support Staff
    Posted 2 years ago #

    Hi @slabadie,

    I hope you're well today! :)

    I'm not sure what you mean about the formatting, could you clarify?

    Are you referring to the bold text in your product description? If so, your landing page is using an excerpt so the bold styling isn't included there.

    If your theme allows an option to display full content rather than an excerpt, that should help sort it.

    Could you let me know if that's what you're asking about?


  3. slabadie
    Posted 2 years ago #

    You are understanding me correctly. Not only the bold, but the line spacing is an issue. I checked and I don't see that I am using an excerpt.

  4. Hi @slabadie,

    Thank you for your reply.

    The product listing page is indeed using the excerpt.

    You can display HTML markup from the excerpt by manually entering it in the product excerpt section or changing the following MarketPress plugin file on line number 4532


    Before Editing:

    $text = strip_tags($text);

    After Editing:

    $text = strip_tags($text, '<strong><br>');

    Add HTML tags in the above function parameter as many as you want to allow in the excerpt or just comment / remove the above function to allow all HTML tags in the excerpt. Keep in mind allowing HTML tags may raise some problem if the tags are not closed properly when striping the content for excerpt.

    Kind Regards,

  5. slabadie
    Posted 2 years ago #

    That worked, Thanks

  6. David
    WPMU DEV Support Staff
    Posted 2 years ago #

    Hi @slabadie, glad that worked for ya. Anything else we can help with, just let us know. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MarketPress - WordPress eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.