| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Details | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Product Details
Can I use HTML in the detailed description? I would like to use a 2 column table to display lists however when I try to add the html in the detailed product field it dosen't display correctly. The table is to far down and has unknown spaces.
|
|||||||
#2
|
|||||||
|
|||||||
To do this, you would need to edit the php code that inserts the product description into the database. Probably product_modify.php is the file to change.
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
In product_modify.tpl I forund the code snippet:
Code:
I want to use html in both the short and long description. Can I safely remove Code:
So I am left with: Code:
|
|||||||
#4
|
|||||||
|
|||||||
Well it was a good try, but that dosen't seem to work. Any ideas?
|
|||||||
#5
|
|||||||
|
|||||||
I have isolated the problem to be the br tag. If I put the html all on one line all is well, but using standard html from my html editor xcart puts a br tag at the beginning of every line. I want to be able to copy and paste the html from my editor into the full description area. How do I set this up?
|
|||||||
#6
|
|||||||
|
|||||||
well ... I am having the same problem ...
say, I insert a table into the descriptions. The output has some funny white spaces as jgkiefer reported. If I had three cols in the table, only one col shows with original cols listed as in rows. Something is not right here .. please help.... |
|||||||
#7
|
|||||||
|
|||||||
I found the way around this problem. It is not the prettiest hack but it works. Just make sure your html is on one line and everything will be fine. This can be time consuming but you will get the hang of it.
I wish they would fix this but I am not expecting it anytime soon. |
|||||||
#8
|
|||||||
|
|||||||
works for me .. thanks for your help .. ... but yeah .. they should fix it ....
|
|||||||
#9
|
|||||||
|
|||||||
Same Problem
Yeah, I just wanted to say that I'm in the same boat. I'm not using tables but I'm trying to space things out using
in the detailed description. Xcart wants nothing to do with the . It turns the into a new line. So I can only edit the detailed description once and if I change anything, I have to add in all the 's again or it looks like crap. This needs to be fixed with the next version.
__________________
Looking for quality design at a more than fair price. Look no further for your next web design project. |
|||||||
#10
|
|||||||
|
|||||||
Might have an answer
I got mad and decided to get down and dirty with PHP. Here's the way to just insert HTML into the detailed description field.
Open include/product_modify.php Look for some code that looks like this. Code:
change it to this Code:
Now it interprets your HTML code literally. With the exception of the \n character it turns it into a . If you want it to leave \n alone. Erase the code completely instead of changing it. -Jeremy
__________________
Looking for quality design at a more than fair price. Look no further for your next web design project. |
|||||||
|
|||
X-Cart forums © 2001-2020
|