Miguel Alberola
asked 9 years ago

Hi there

I simply love your Focus theme, and I have a simple question: i have an online shop and would like to add next to the social icons a shopping cart-like icon that directs to the shop.

Any simple way to do so?

Regards

1 Answers
DominicStaff
answered 9 years ago

Hi,
If you want to make a shopping cart icon that directs to your shop, you can go to the wp-content -> themes -> dw-focus -> inc -> template-tags.php file and add the following code under line 76.
<li class="shopping-cart"><a href="Your-shop-link"><i class="fa fa-shopping-cart"></i></li>
Hope this helps !

malberolall
replied 9 years ago

Thanks for the quick answer! The fact is that it is not working, but I think it is my fault: the shop is not in the same website: it is another different website

When I click on the cart it directs me to the url of my website + the url I indicated for the shop. Any thoughts?

Regards

dominic Staff
replied 9 years ago

You can send me username & password of your site for further checking (via private answer).

malberolall
replied 9 years ago

Solved it!
<li class="shopping-cart"><a href="Your-link-here"><i class="fa fa-shopping-cart">

malberolall
replied 9 years ago

Sorry, this one:
<li class="shopping-cart"><a href="Your-link-here"><i class="fa fa-shopping-cart">

malberolall
replied 9 years ago

Well, code gets cut when I submit comment… anyway, solved it!
<li class="shopping-cart"><a href="Your-link-here">
<i class="fa fa-shopping-cart">

Powered by DW Question & Answer Pro