Attrexx Posted February 2, 2015 Share Posted February 2, 2015 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. 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 More sharing options...
vekia Posted February 2, 2015 Share Posted February 2, 2015 image you associated is unreadable im not 100% sure but: - you use bad comment method <!-- <th class="cart_avail item">{l s='Avail.'}</th> --> in smarty use {* comment *} instead of <!--- comment --> 1 Link to comment Share on other sites More sharing options...
Attrexx Posted February 2, 2015 Author Share Posted February 2, 2015 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 More sharing options...
FullCircles Posted February 3, 2015 Share Posted February 3, 2015 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 1 Link to comment Share on other sites More sharing options...
Attrexx Posted February 3, 2015 Author Share Posted February 3, 2015 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now