Update the productlisting style to match the site #18

Open
wants to merge 4 commits into
from
@@ -49,6 +49,7 @@
if ( count($products_listing['entries']) > 0 ) {
?>
+<div class="ui-widget-header ui-corner-top">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
@@ -104,6 +105,10 @@
?>
</tr>
+ </table>
+</div>
+<div class="ui-widget-content">
+ <table border="0" width="100%" cellspacing="0" cellpadding="2">
<?php
$rows = 0;
@@ -173,6 +178,7 @@
?>
</table>
+</div>
<?php
} else {
@@ -68,6 +68,8 @@ function refreshVariants() {
}
document.getElementById('productInfoPrice').innerHTML = price;
- document.getElementById('productInfoAvailability').innerHTML = availability;
+ if(document.getElementById('productInfoAvailability') != undefined) {
+ document.getElementById('productInfoAvailability').innerHTML = availability;
+ }
document.getElementById('productInfoModel').innerHTML = model;
}
@@ -311,7 +311,6 @@ TABLE.productListing {
.productListing-heading {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
- background: #b6b7cb;
color: white;
font-weight: bold;
}