Hello, I recently changed the button on the category.tpl from Add to Cart to Product Details and it works just fine.
What I want to do it make it look like a button on the product.tpl. See image.
I've tried different codes and can't seem to get it to work.
Does anyone know what coding I need to make my link look the same?
Thanks.
We do, but we don't know what you have right now.
Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com
sorry, here is the code I've come up with:
location: https://www.rvj-ventures.com/cart/index ... urer_id=23
<div class="button-group">
<center>
<a class="button" href="<?php echo str_replace('&', '&', $product['href']); ?>" ><span><font="Arial" size="+5"><b>Product Details!</b> <i class="fa fa-info-circle" aria-hidden="true"></i></font></span></a>
</center>
</div>
location: https://www.rvj-ventures.com/cart/index ... urer_id=23
<div class="button-group">
<center>
<a class="button" href="<?php echo str_replace('&', '&', $product['href']); ?>" ><span><font="Arial" size="+5"><b>Product Details!</b> <i class="fa fa-info-circle" aria-hidden="true"></i></font></span></a>
</center>
</div>
First of all:
is outdated.
the same.
Such was used 10 years ago.
Use CSS
instead.
Second, why not this way:
Code: Select all
<center>..</center>
Code: Select all
<font>..</font>
Such was used 10 years ago.
Use CSS
Code: Select all
<span style="font-size: xx; text-align: center;">
Second, why not this way:
Code: Select all
<a class="btn btn-info" href="<?php echo str_replace('&', '&', $product['href']); ?>" ><span><font="Arial" size="+5"><b>Product Details!</b> <i class="fa fa-info-circle" aria-hidden="true"></i></font></span></a>
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Who is online
Users browsing this forum: No registered users and 3 guests