Jump to content

[solved ]How to get rid of "Available" in product listings


Recommended Posts

I'm using PS 1.5.4.1. I'm also using a purchased theme.

 

Right now I'm still working with the products/images that come with the theme. When I click on iPods or Laptops and it shows the category listing, it shows the word "Available" above the title (see image below).

 

How can I get rid of the "Available" word. I don't want it.

post-636657-0-87566400-1377817891_thumb.png

Link to comment
Share on other sites

Actually, here's what I did:

 

I went into my product-list.tpl file, and found the following code:

 

{if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}

{if ($product.allow_oosp || $product.quantity > 0)}<span class="availability bordercolor">{l s='Available'}

{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}<span class="bordercolor">{l s='Product available with different options'}</span>{else}<span class="bordercolor">{l s='Out of stock'}</span>{/if}</span>{/if}

 

I then simply did a little research and found that all you need to do to comment out code in a .tpl file is surround those lines of code with {*...*}.

 

And that did it!

 

Now if someone could just help me with my previous issue of getting the rating stars to appear in the categories listings!

Link to comment
Share on other sites

×
×
  • Create New...