Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Problems with html in product listing.

Problems with html in product listing.

Locked

Views: 1,256

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Apr 2007, 8:32 AM
#1
shepworth avatar

shepworth

New Zenner

Join Date:
Mar 2007
Posts:
3
Plugin Contributions:
0

Problems with html in product listing.

Hi there,

I have set up a zen cart for someone and everything was working well. Then she amended a product and since then I have this strange problem.

If I go into any product and add something to the description, everything is fine unless I try to put in some html. Even adding '<br>' will give the result that when I press the 'Preview' button, I get redirected to the main website. ie it leaves the zen admin bit.

For example

going from

www.domain.com/cart/admin/balhblah which if we imagine is a new or edited product with some html, after pressing preview, i end up at www.domiain.com - not even in the cart.

very strange, any ideas?

UPDATE: Okay, i've just tried to add some html to a review via admin, and the same thing has happened.....could it be a busted installation even though it was working?

19 Apr 2007, 8:32 AM
#2
shepworth avatar

shepworth

New Zenner

Join Date:
Mar 2007
Posts:
3
Plugin Contributions:
0

Re: Problems with html in product listing.

Just wanted to bump this thread and add in the latest

I've now deleted the installation, reinstalled it, import the sql database.....same problem so i thought i may as well start a totally fresh one new database etc.

same problem......as soon as i enter ANY html in any product description box such as '<br />' then on clicking preview i get taken to the root of my website (jessicarobinson.com) which is not the same as the home page for the shop (.com/cart).

so it can't really be something i've done.

Does anyone have any suggestions other than ripping out my hair? I just don't understand why it used to work.

Thanks.

simon

25 Apr 2007, 2:55 AM
#3
doodlebee avatar

doodlebee

Inactive

Join Date:
Jan 2006
Posts:
228
Plugin Contributions:
0

Re: Problems with html in product listing.

If I were to guess, I would say that your friend put some HTML in her previous description and forgot to close a tag or something. But that would just be a guess!