Table cells in registration template CR_Cart

Questions and answers about ShopSite Custom Templates

Table cells in registration template CR_Cart

Postby ChumsInc » Thu Jul 29, 2010 4:28 pm

I have noticed when using the [-- CR_Cart --] tag in the registration that the cell count is incorrect (colspan="4' instead of colspan="3"). Is there a quick way to correct the error?

Example:
<tbody>
<tr>
<th class="cart_quantity">Quantity</th>
<th class="cart_name">Name</th>
<th class="cart_sku">SKU</th>
<th class="cart_price">Each</th>
<th class="cart_total">Total</th>
</tr>
<tr>
<td class="cart_quantity">1</td>
<td class="cart_name">Product Name</td>
<td class="cart_sku">my sku</td>
<td class="cart_price">$5.99</td>
<td class="cart_total">$5.99</td>
</tr>
<tr>
<td class="cart_op1">&nbsp;</td>
<td colspan="4" class="cart_op">An Option</td>
<td class="cart_op2">&nbsp;</td>
</tr>
</tbody>

Store site: www.gearpipeline.com (Note: the dns records are not yet pointing to the shopsite store and still point to a different hosting software).
ChumsInc
 
Posts: 2
Joined: Thu Jul 29, 2010 4:15 pm
Location: Salt Lake City, UT

Postby ShopSite Lauren » Fri Jul 30, 2010 1:34 pm

There isn't a quick way to fix this as far as the code goes, but you can use CSS to hide the extra field from displaying so that the table is uniform.

<style type="text/css">
td.cart_op2 {
visibility: hidden;
width: 0px;
max-width: 0px;
padding: 0px;
}
</style>
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 887
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Postby ChumsInc » Fri Jul 30, 2010 1:40 pm

Thanks,

That did the trick - I'm looking forward to finally launching on ShopSite soon.
ChumsInc
 
Posts: 2
Joined: Thu Jul 29, 2010 4:15 pm
Location: Salt Lake City, UT


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 99 guests