Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eStore – How to enter formatted product descriptions

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore – How to enter formatted product descriptions

Tagged: formatted product descriptions, style p product description, use HTML in product description

  • This topic has 7 replies, 3 voices, and was last updated 12 years, 3 months ago by admin.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • July 27, 2012 at 5:04 am #7002
    mshanhun
    Participant

    When I put in the description into the Product info it doesn’t retain line breaks.

    How can I format the product descriptions more nicely?

    [http://www.digitalscrapbookinghq.com/store/]

    July 27, 2012 at 11:10 pm #47820
    admin
    Keymaster

    You can add HTML code in the product description area. So if you want to add line breaks simply use the following character where you want it:

    <br />

    January 29, 2013 at 7:19 pm #47821
    SharonS
    Member

    Is there a way to target p with CSS for product descriptions? I have already entered descriptions for 400+ products (all with descriptions with multiple paragraphs) and would like to separate the paragraphs with CSS. In looking at the add/edit product page > Add’l Product Details, the Description paragraphs appear to be separated.

    January 30, 2013 at 5:26 am #47822
    admin
    Keymaster

    Yes there is a way. Please post a link to the page where you are displaying the product description and I should be able to tell you what CSS selection you should be using.

    January 30, 2013 at 6:05 am #47823
    SharonS
    Member

    Here’s one of the pages; click on one of the tabs to see the paragraphs smushed together: [http://mybellacolor.com/hair-client-products/educational-documents-2]

    Thanks!

    January 31, 2013 at 12:32 am #47824
    admin
    Keymaster

    It doesn’t look like you entered any paragraph tags in the product description at all. You need to first insert those paragraph tags in the product description area to be able to select/target them and then apply CSS to it. At the moment you have just plain text there. You can’t make paragraphs out of them unfortunately.

    Edit the product description and use paragraph tags then we will be able to target it. Here is an example of what the product description should look like with paragraph:

    <p>This is some description of this product.</p>
    <p>This is another paragraph in this product description area.</p>
    <p>Here is another paragraph to test.</p>

    January 31, 2013 at 1:36 am #47825
    SharonS
    Member

    I entered it in Excel, saved as csv and uploaded to phpMyAdmin – including the line breaks. And again, it looks like they’re there in the description….makes me think there has to be a better way than going into each of the 400+ products and entering <p> codes. Any suggestions???

    January 31, 2013 at 10:39 pm #47826
    admin
    Keymaster

    Hi, I looked at the source code on your site and there is no paragraph or line break tags in the description section. Which means when you imported it there was no HTML paragraph tags in their. Did enter the description in the CSV file like I explained in my post above?

    Remember, if you just use the “Enter” key to create a line break, it won’t work in the HTML space. So lets first identify why no line break tags (<br />) or paragraph tags (<p>) are present in the description. Then you can correct the mistake. Without the HTML line break tag or paragraph tags present, it is just a blog of text and there is nothing you will be able to do to style and add breaks where you want to in the HTML space.

    Once you know where things went wrong, you can delete all the data and re-import all the products but using the correct tags in the description this time.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ