WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. slabadie
    Member
    Posted 4 months 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/

    https://wordpress.org/plugins/wordpress-ecommerce/

  2. David
    WPMU DEV Support Staff
    Posted 4 months 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?

    Thanks,
    David

  3. slabadie
    Member
    Posted 4 months 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. WPMU DEV
    Member
    Posted 4 months ago #

    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

    wordpress-ecommerce/marketpress.php

    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,
    WPMU DEV

  5. slabadie
    Member
    Posted 4 months ago #

    That worked, Thanks

  6. David
    WPMU DEV Support Staff
    Posted 4 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.