Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

RJB
Ecommerce Template Expert

United Kingdom
792 Posts

Posted - 09/27/2022 :  12:27:19  
Hi, I noticed on the demo store - http://www.ectdemostore.com/uk_demo the dropdown minicart shows a small shopping cart icon and I would like to set my site up to appear like this. Currently there is a down arrow in this position and I can see that this has been set not to display using css on the demo site, but I can't see how the cart icon has been added. Is there a straightforward way to add this or does it require custom editing?

Richard.

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 09/27/2022 :  15:41:53  
Hi Richard

That cart icon is generated via the Font Awesome code as I have highlighted in bold below. Check that in the head section that the Font Awesome stylesheet is referenced
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<div class="minicartcnt_dp ectdp_minicartopen" onmouseover="domcopen()" onmouseout="startmcclosecount()">
<img src="images/arrow-down.png" style="vertical-align:text-top;" alt="Shopping cart" width="16" height="16">  <a class="ectlink mincart" href="http://www.ectdemostore.com/uk_demo/cart.php"><i class="w3-margin-right fa fa-shopping-cart"></i>  View Cart (<span class="ectMCquant">0</span>)</a>


-----------------------------------------------
Steve
Manchester UK

How to update your store
https://www.ecommercetemplates.com/updater_info.asp

QuickBuy, Product & Product Details Layouts
https://www.ecommercetemplates.com/help/layouts.asp

User Manual - an easy read!
https://www.ecommercetemplates.com/free_downloads.asp#usermanual

Request Updater
https://www.ecommercetemplates.com/updaters.asp

RJB
Ecommerce Template Expert

United Kingdom
792 Posts

Posted - 09/27/2022 :  15:52:34  
Hi Steve,

Thank you for your reply. I have Fontawesome enabled, but I'm not sure how to insert the code - <i class="w3-margin-right fa fa-shopping-cart"></i> . Is there a way to do this via the Includes or css files or would I need to edit the source code?

Richard.

Edited by - RJB on 09/27/2022 15:54:47

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 09/27/2022 :  16:03:43  
On the templates I have used that code is already in the files head section.

-----------------------------------------------
Steve
Manchester UK

How to update your store
https://www.ecommercetemplates.com/updater_info.asp

QuickBuy, Product & Product Details Layouts
https://www.ecommercetemplates.com/help/layouts.asp

User Manual - an easy read!
https://www.ecommercetemplates.com/free_downloads.asp#usermanual

Request Updater
https://www.ecommercetemplates.com/updaters.asp

RJB
Ecommerce Template Expert

United Kingdom
792 Posts

Posted - 09/27/2022 :  16:47:16  
I added the code to Includes using the following and it seems to work..

$GLOBALS['xxCMCSC']='<i class="w3-margin-right fa fa-shopping-cart"></i> View Cart';


Thanks,

Richard.

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 09/28/2022 :  14:07:52  
Richard, that's good to hear
Excuse my late reply I've been out since 6 & just docked back @ HQ

-----------------------------------------------
Steve
Manchester UK

How to update your store
https://www.ecommercetemplates.com/updater_info.asp

QuickBuy, Product & Product Details Layouts
https://www.ecommercetemplates.com/help/layouts.asp

User Manual - an easy read!
https://www.ecommercetemplates.com/free_downloads.asp#usermanual

Request Updater
https://www.ecommercetemplates.com/updaters.asp
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000