Jump to content

"Ghost" < < symbols appear on front end but not in source


Attrexx

Recommended Posts

Hey all,
 
so I was customizing the order page on a shop and I've noticed that a series of symbols ( < < < < < ) has appeared just above the product detail panel.
Looking in the source I found absolutely nothing that could generate them, checked every closing tag and so on.
These symbols are messing my layout not much but enough to be annoying and to look so unprofessional to the future customers.

I am attaching to this post a screenshot of the ghostly output, the source code and link to page.
 
Please advise :(
 
Thank you.

LwUSFDws.png
 
Source code (problem is at line 75):
http://codepaste.net/xixas2#
 
Link to page:
http://libanezu.ro/matar/order

Link to comment
Share on other sites

I am sorry for the bad thumbnail link:
here it is: http://i.imgur.com/DZvsaoQ.png?1
 

As for the commenting, thank you for the tip as it will be useful later on, but it does not affect the issue in OP.

Commenting was used for removing the  availability column in table.

The problem I have is right under the page title (see page link).

 

Thanks Vekia.

Link to comment
Share on other sites

I'd say it's likely that the problem is somewhere inside the block that loops through the products, the number of < matches it exactly, plus, it's being output at the top of the table, which is usually the case when unexpected content not inside a <td> tag gets added in the middle of a table.

 

I can't see anything wrong in the php code provided, but I've spotted the actual issue on the source code of the page, it's this bit:

 

<<!--         <td class="cart_avail"><span class="label label-success">În stoc</span></td>-->

 

Probably in shopping-cart-product-line.tpl

  • Like 1
Link to comment
Share on other sites

Thank you @FullCircles!
 

That pointed spot on the issue. It seems like @vekia has scoped it right in the first place. My code commenting techniques suck :))

I have removed both occurrences of the availability code from both shopping cart .tpl files which were improperly commented out and now the symbols are gone and layout is back in boundaries.

Thank you both for the help :)

I believe we can mark this as Solved.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...