How to change the cart icon on the responsive theme?
Hi
go and open in /design/themes/your_skin/templates/addons/my_changes/hooks /checkout/dropdown_title.override.tpl
and copy this code inside
{if $smarty.session.cart.amount}
{$smarty.session.cart.amount} {__("items")} {__("for")} {include file="common/price.tpl" value=$smarty.session.cart.display_subtotal}
{else}
{__("cart_is_empty")}
{/if}
and then this file/design/themes/your_skin/templates/addons/my_changes/hooks /index/meta.post.tpl
and add this code
IYou will get a small cart . If you like to choose another icon have a look at this page http://fortawesome.g…ome/cheatsheet/ to find the style you want
PS check in Addons screen that the My Changes Addon is enabled, as its disabled by default install.
Fotis
Hello Fotis.
There are some way to upload only few icons? instead use whole collection of font "awesome" with those 600 icons?
Hello Fotis.
There are some way to upload only few icons? instead use whole collection of font "awesome" with that 600 icons?
Hi Rafass
you need to use then your own set. You can use icomoon. Browse to the library page and use FontAwesome, you can augment FontAwesome's libary with your custom icons in SVG.
Î¥ou can also subset and combine icon fonts using:
- icnfnt.com (officially supported subsetting of font-awesome icons)
- fontello.com (create a custom subset from a number of icon fonts that are widely available)
If you want access to the raw svg and .png files, there is a git repo for that: Font-Awesome-SVG-PNG
Fotis
Thanks! I've been testing a little with fontello / icommon and others to get the .svg files.
but the question is, how can I upload and use my own icons in Cscart? in fact I just would like to upload 5 or 6 icons only 8)
If you have already been testing the icommon then you know you can create your own set and then you have to invetigate a little bit as there is no official guide on which files you have to upload where.
To give a hint you need to look into the design/themes/[your_theme]/media/fonts folder of your active skin. You will find all the icon files and formats you need to have .
Fotis
Back in 2013 energothemes posted this
Hello,
We have used http://icomoon.io/app-old/ (the new app has some issues) to add more glyphs to our designs.
Just drag and drop the glyphs.svg file from design/themes/[your_theme]/media/fonts and select what you want to use.
After selecting all the glyphs you want to use click the font button to the bottom of the screen and bind your new glyphs to:
e024 for my account
e044 for cart icon
Download the new fonts and rename them to glyphs.eot/svg/ttf/woff.
Make a backup of the cscart glyphs and then copy the new ones over.
Thanks Fotis! 8)
I've created my first icons
Fantastic tuto! 8)
I've created my first icons
Fantastic tuto! 8)
I am Happy this could help you!
;)
Following this great tutorial I've successfully uploaded new icons, but I'm still facing problems to change the icon of the cart...
To change it is necessary change the classes with my changes in
/design/themes/your_skin/templates/addons/my_changes/hooks /checkout/dropdown_title.override.tpl as you explain above fotis?
Following this great tutorial I've successfully uploaded new icons, but I'm still facing problems to change the icon of the cart...
To change it is necessary change the classes with my changes in
/design/themes/your_skin/templates/addons/my_changes/hooks /checkout/dropdown_title.override.tpl as you explain above fotis?
Hi again
they key to this is that part
Important: when you import the new icons in the cs-cart Set in step 7, there is the possibility to change the existing code of CS-Cart, if a Free Icomoon has the same code. So you might get a Pinterest Icon instead of Twitter (see the final image of the store I left that in purpose) because the have the same code and Icomoon wins on that.I would open the CS-Cart svg file and check if the icons I have choosen have the same code with some existing icons. You can then change those codes in the last step before download (step 11).Offcourse this is also the way to change the existing icons of CS-Cart, by replacing the code of a new icon with the code of an existing CS-Cart icon.
So you just have to find the class name\code for the existing cart icon, delete it from the icomoo list and rename the new icon you created with the same code as the exisitng icon. After thatfollow the steps from 11 to the end and you will get your new Cart icon.
Thats it
Fotis
Thanks for your kind explanations Fotis. I'll try to do that.
--
Is funny how difficult and problematic is change a simple icon.
Now I'll have to waste a lot of time trying to delete that icon, the logo of @CSCART well done.
Well nightmare.
Don't know why they put that icon there... really.
I got to step 3. Step 4 does not exist as far as I can tell? Also, can you upload your own custom ones on there?
Bumping this topic... Fotis are IcoMoon fonts already a part of CS Cart since V4.4 ??
Hi
No Its a Customized version integrated but you can still use this method to integrated your icons.
Fotis
Fotis,
Is there a risk that by following your procedure that you may loose the icon already in place in the theme that we use ?
PS
a real shame / sham that there is no CS Cart icon while there is one for Magento and Prestashop.
I am also missing icons for the new and highly improved social media platforms like Gab.ai, Minds.com and Bitchute.com
The legacy social media kartel of Google, Facebook, Twitter and Microsoft need some competition also in terms of icons.
Well you can always add the full set via meta method. So this way you will have CS-Cart and the whole set.
Geia sou Foti
There is no /design/themes/[your_theme]/css/tygh/icons.less file any more.
Well you can always add the full set via meta method. So this way you will have CS-Cart and the whole set.