The html looks right — the checkout page is just a html table:
<table>
<tbody>
<tr>
..headers
</tr>
<tr>Item one info</tr>
<tr>Item 2 info</tr>
...
</tbody>
</table>
And your site looks like it has that too. I think you’ve got some css in maybe your theme that is making the rows very close to each other or otherwise collapsing them. You can look at http://iguanaworks.net/ for a reference of SCABN generating the checkout page correctly. I think you’ll see that the html is basically the same, which I why I think it is a css issue.
Hi Bluey,
Thanks for getting back o me quickly.
I’ve managed to figure out what is wrong with the table. For some reason the anchors have either a single quote at one end and a double quote at the other end of their href parameters e.g.
<td align='right'>£ 15.00<br /><a href="/bjc-checkout/?remove=womens-t-shirt-purple-sml&randomid=277617560' class ='remove_item' name = 'womens-t-shirt-purple-sml'>Remove</a></td>
</tr>
<tr class = 'ck_content'>
<td><input type='hidden' name='item_1' value='womens-t-shirt-black-sml' /><input type='text' name='qty_1' size='2' value='1' class = 'qty_womens-t-shirt-black-sml' title='womens-t-shirt-black-sml' /></td>
<td><a href='http://www.bjc2014.co.uk/?page_id=1574" ><strong>Womens T-Shirt Black</strong><br />Sml</a></td>
As It looks kind of random and I am not sure where in the plugins code the checkout page is generated I’m not sure how to sort this one out but it looks like a minor bug in your plugin. Maybe a typo 🙂
Actually I guess you would prefer to see both cart item rows for comparison.
<tr class = 'ck_content'>
<td><input type='hidden' name='item_0' value='womens-t-shirt-purple-sml' /><input type='text' name='qty_0' size='2' value='1' class = 'qty_womens-t-shirt-purple-sml' title='womens-t-shirt-purple-sml' /></td>
<td><a href="http://www.bjc2014.co.uk/?page_id=1574" ><strong>Womens T-Shirt Purple</strong><br />Sml</a></td>
<td align='right'>£ 15.00<br /><a href="/bjc-checkout/?remove=womens-t-shirt-purple-sml&randomid=277617560' class ='remove_item' name = 'womens-t-shirt-purple-sml'>Remove</a></td>
</tr>
<tr class = 'ck_content'>
<td><input type='hidden' name='item_1' value='womens-t-shirt-black-sml' /><input type='text' name='qty_1' size='2' value='1' class = 'qty_womens-t-shirt-black-sml' title='womens-t-shirt-black-sml' /></td>
<td><a href='http://www.bjc2014.co.uk/?page_id=1574" ><strong>Womens T-Shirt Black</strong><br />Sml</a></td>
<td align='right'>£ 15.00<br /><a href='/bjc-checkout/?remove=womens-t-shirt-black-sml&randomid=277617560' class ='remove_item' name = 'womens-t-shirt-black-sml'>Remove</a></td>
</tr>
Cheers
Paul
I don’t understand why you are seeing what you are seeing. I’m pretty sure the relevant line of code is:
$output .= "<td><a href='". $item['url']."'><strong>".$item['name']."</strong><br />";
in classes/display.php
But that code should quote the url in href= in double quotes (“).
Also, it is the same code to generate the table for the sidebar widget as on the checkout page. The only difference is if/else line to control the id of the containing div. So if it were a bug in that code, I’d expect the same problem in the sidebar widget.
My only guess is that your theme or maybe a different plugin is filtering the output the SCABN for some reason and it is causing problems. Can you try using a default 2013 or 2014 theme and seeing if that makes a difference?
Not sure if it will help, but try 2.1.2 version of SCABN (just released). I tweaked a few lines of code to hopefully bypass some filtering by theme’s that might be causing the problems.