Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

product listings


slave2thebean

Recommended Posts

I've done a search but I'm not getting anything on this (I'm sure its there, I'm just not putting in the right search terms or something.)

 

I would like my product attributes to show up as a list instead of continous text. Here's what I mean:

 

product listing

 

As you can see, the listing of what is included with my product is wrapped text and I would like it to be a list. Could someone tell me how to do this?

 

TIA,

Sarah

Link to comment
Share on other sites

the product description is also rendered as HTML.

 

Thus if you edit, and press enter/return on your keyboard, this is not kept as a new line unless you add some code in your admin pages to change newline characters to html <br> tags. This is generally done by a NL2BR function. You can search on this term and will find some tip&tricks posting about this.

 

Manually, you can also ofcourse add the <br> whenever you want to start a new line.

 

Alternatively, if you really want to have lists with bullets, you are better of installign a wysiwyg editor for your products descriptions.

Essentially for this you need to have <ul><li>line x</li><li>line y</li></ul>, the editors make it much easier to have such HTML tags in your product descriptions.

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...