Catalog Mode "learn More" Button

I am running catalog mode in version 4.1.5 and need to find a way to add a “Learn More” button to the products when listed on the home page or category pages. This button would then link to that product’s page. There is currently no call to action on these products and I would have to rely on a visitor clicking the product image or product name to get to the product page; some very big assumptions to make.

Hello.



Some code modifications are required to implement such a feature.

[quote name='spinball' timestamp='1404916287' post='187257']

I am running catalog mode in version 4.1.5 and need to find a way to add a “Learn More” button to the products when listed on the home page or category pages. This button would then link to that product's page. There is currently no call to action on these products and I would have to rely on a visitor clicking the product image or product name to get to the product page; some very big assumptions to make.

[/quote]



Do you want to replace the default add to cart button with the learn more one?

Thanks for the replies. I am aware that there would need to be some code modification to make this happen. I would like to replace the add to cart button with a learn more button that would appear like the add to cart and link to that products page. The button would not appear on the product page as the user would already be there. This would only happen when in catalog mode or is there is no url for that particular product that would be linked to the “Buy Now” button usually found in catalog mode. I have found that a call to action like “learn more” is much more effective than assuming the user will click on a image or product name.

Ok spinball



go to file /design/themes/basic/templates/blocks/list_templates/grid_list.tpl



and add this code


<br />
</br>{include file="buttons/button.tpl" but_id="buy_now_`$obj_id`" but_text=__("more") but_href="products.view?product_id=`$product.product_id`"}<br />

```<br />
<br />
over<br />
<br />
```php
<br />
{if $settings.Appearance.enable_quick_view == 'Y'}<br />
					{include file="views/products/components/quick_view_link.tpl" quick_nav_ids=$quick_nav_ids}<br />
				{/if}<br />

```<br />
<br />
You can also Replace this code totaly if you dont want to have the quick link button.<br />
<br />
Result will be something like this<br />
<br />
![](upload://6I6PuuEmauXO02up6hgyYXrei26.jpeg)<br />
<br />
Fotis<br />
<br />
PS<br />
<br />
you can have whatever text you want on button by changing the more in but_text=__("more") to whatever you like but dont forget then to open that in languages also

Thanks dvsgr.

I added the code as instructed and no button appears. I cleared the cache after editing the file. Is there possibly an admin setting that I am missing. Your edit seems pretty straight forward.

Hi



Try to clear your cache manually. I just delete all files and folders under var/cache



Fotis

That did it. Thanks a bunch! I truly appreciate your generosity on this.

Anytime spinball



Fotis