Jump to content

[SOLVED]Price and Add to cart button disabled in product list


Recommended Posts

When you look at a product in the product list in my shop the “add to cart” and ''price'' button is brighter and it is not possible to click on.

I use PS 1.3.6.0 and this themes: http://dapurpixel.com/theme/rumah-batik-theme/

This is my global.css

/* product-list.tpl */
ul#product_list { margin-top: 0em; list-style-type: none }
ul#product_list li {
   background: #f9e21b;
   border: solid 1px #d0d3d8;
   padding: 6px;
   min-height: 99px;
   height: auto;
   clear: both;
   margin-bottom: 0.4em
}
* html ul#product_list li {
   height: auto !important;
   height: 130px
}
ul#product_list li a {
   text-decoration: none;
   color: #374853
}
ul#product_list a.product_img_link {
   border: solid 1px #d0d3d8;
   float: left;
   margin-right: 0.6em
}
ul#product_list a.product_img_link img { vertical-align: bottom; display: block }
ul#product_list li h3 { margin: 0.4em 0 }
ul#product_list li .new {
   background:;
   border: 0px solid #488C40;
   color: white;
   font-size: 0;
   font-weight: bold;
   margin: 0 1em 0 0;
   padding: 0 0.4em;
   text-transform: uppercase;
   vertical-align: 0.3em
}
ul#product_list li p.product_desc {
   margin-bottom: 0;
   font-size: 0.92em
}
ul#product_list li div.center_block {
   float: left;
   width: 90%
}
ul#product_list li div.right_block {
   float: right;
   width: 11em;
   text-align: right;
   margin-left: 1em;
   margin-top: 0
}
ul#product_list li .discount, ul#product_list li .on_sale, ul#product_list li .online_only {
   color: #da0f00;
   text-transform: uppercase;
   font-weight: bold;
   display: block
}
ul#product_list li .reduction {
   display: block;
   margin-bottom: 0.3em
}
ul#product_list li .price {
   display: block;
   font-size: 1.5em;
   margin-bottom: 0.2em
}
ul#product_list li span.availability {
   color: #488c40;
   font-size: 0.9em
}
ul#product_list li a.button { margin-top: 0.5em }
ul#product_list li p.compare input { vertical-align: text-bottom }



and this is my product-list.tpl

>{if isset($products)}
   <!-- Products list -->
</pre>
<ul>
   {foreach from=$products item=product name=products}


getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="60px" height="60px"{/if} />
{if isset($product.new) && $product.new == 1}{l s='New'}{/if}{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}

{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'}
                                                                                 

               {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}{l s='On sale!'}
               {elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}{l s='Reduced price!'}{/if}
               {if isset($product.online_only) && $product.online_only}{l s='Online only!'}{/if}
               {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}

                   {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
{/if}
                   {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}{/if}

               {/if}
               {if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && !$PS_CATALOG_MODE}
                   {if ($product.allow_oosp || $product.quantity > 0) && $product.customizable != 2}
getPageLink('cart.php')}?add&id_product={$product.id_product|intval}{if isset($static_token)}&token={$static_token}{/if}" title="{l s='Add to cart'}">{l s='Add to cart'}
                   {else}
{l s='Add to cart'}
                   {/if}
               {/if}
{l s='View'}                


   {/foreach}
</ul>
<br>   <!-- /Products list --><br



How fix that problem? Thanx!

44097_ClcP4NxRpizYXKH8laEm_t

Link to comment
Share on other sites

  • 3 weeks later...

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...