Jump to content

Box removal from Front Page


kalyncomputers

Recommended Posts

Here's a strange one!

I am doing a site for a customer, http://www.loirbaits.com/Cube. He is asking if it is possible to remove the 'Ajouter au' box from the short description. Obviously he needs it show show on the main product page.

It's been to long since I last played with php and so on, I am supposed to be retired (I am 72!) but this guy has been a customer for 15 years and I would like to help him out.

Thanks

Tim

 

Link to comment
Share on other sites

Just to be clear, on the View Category page, List view, the button does say "Ajouter au panier" -- it's just that the third word is on a line that has fallen out the bottom of the button area.

So, you can let the button get wider or taller, reduce the line-spacing, reword the button legend, or remove the Quantity/Buy items completely. It depends on why, exactly, there is this desire to remove the button.

To remove the button:

In the skin template content.category.php, near line 77, find:

               <div class="small-6 columns">
                  <h3>
                     <a href="{$product.url}" title="{$product.name}">{$product.name}</a> 

Change to:

               <div class="small-9 columns">
                  <h3>
                     <a href="{$product.url}" title="{$product.name}">{$product.name}</a> 



Near line 97, find:

                  {$product.description_short}
               </div>
               <div class="small-3 columns">

Change to:

                  {$product.description_short}
               </div>
               <div class="small-3 columns hide">

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...