News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

HTML tags in the product name?

Started by junkyard, October 30, 2013, 03:59:25 PM

Previous topic - Next topic

junkyard

Hello!
We are thinking of better formatting for the product names  shown in store's product listing (the lists generated from search and by choosing a category),  namely we have to split the long product names that we have into 2 separate lines:

current behavior:
       PRODUCT NAME SHORT DESCRIP
                              TION
to =>
                    PRODUCT NAME
                    SHORT DESCRIPTION

Currently,  product names continue to the second line automatically after the 26th character or so, but we need to be able to specify by what exact character the new line should start for each product name we have. Inserting some extra spaces in name is ignored and did not help either..
We thought it could be achieved by adding HTML tags like <br> directly into the product names at Catalog > Products > click on product > General > Product Name field,  but HTML gets treated as simple text, so no help here..  :( Is there any way to do it,  maybe escaping the tags somehow, or else?   
Any ideas are appreciated! 
Thank you

abantecart

Can you post sceenshot or link?

I can not see how word can be wrapped in 2 parts. Are you sure you do not have space between DESCRIP TION?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

junkyard

There were names like  Chrysler engine oil filter 4.7/V8/4.0/L6    where "/4.0/L6" part kept leaping.  Looks like it was because of that / character in all cases. Sometimes it was backslash, sometimes it was forward. We have replaced slashes with dashes to solve the problem.  Thank you for the hint!

Forum Rules Code of conduct
AbanteCart.com 2010 -