defreytas Posted March 19, 2016 Share Posted March 19, 2016 How is it possible to change the shopping cart logo in prestashop 1.6 latest version?Where is this file located? Link to comment Share on other sites More sharing options...
endriu107 Posted March 19, 2016 Share Posted March 19, 2016 In file blockcart.css line 48 you have content: "\f07a"; If you want change icon just change it f07a, in file _variables.scss you can find list of icon and code. 1 Link to comment Share on other sites More sharing options...
defreytas Posted March 19, 2016 Author Share Posted March 19, 2016 But what and how if I want to have a custom icon to replace the shopping cart icon? Link to comment Share on other sites More sharing options...
endriu107 Posted March 19, 2016 Share Posted March 19, 2016 You supposed to edit blockcart.tpl file and put there your icon. Link to comment Share on other sites More sharing options...
defreytas Posted March 19, 2016 Author Share Posted March 19, 2016 (edited) With what kind of code??I have made a custom gif but how do I place it in the blockcart.tpl?And do I need to upload the gif image somewhere? Edited March 19, 2016 by defreytas (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted March 19, 2016 Share Posted March 19, 2016 Yes, upload img to your ftp server, add image like normaly html page: http://www.w3schools.com/tags/tag_img.asp Link to comment Share on other sites More sharing options...
Alexandra-Ionela Posted November 26, 2016 Share Posted November 26, 2016 (edited) Hi! I want to change the "Cart" and "Account" icons (font awesome icons) in the Desktop and Mobile version of the theme (Warehouse) with this and this (google material icons) and I don't have any ideea how to do it. I asked the theme developer to help me and he gives me some clue but I still don't know how to do the changes. Here is what he told me to do: - You do not have to edit any file, the best is to overwrite it with custom css in themeeditor module .mh-button .mh-icon .icon-shopping-cart::before {content: " ";} - and put it in content. - Of couruse you need to include font first in your system - Altenatively you can modify files like: theme/warehouse/mobile-header.tpl I attached some picture to understand what I want. Thank you in advance! Edited November 26, 2016 by Alexandra-Ionela (see edit history) Link to comment Share on other sites More sharing options...
dl3737 Posted January 5, 2017 Share Posted January 5, 2017 No answer from anyone? Link to comment Share on other sites More sharing options...
ArisCom Posted October 3, 2017 Share Posted October 3, 2017 I did it like this: In blockcart.css file I replaced line with "f07a" with line "content: url(../../../img/cart-icon.png);" And I uploaded the new cart icon into themes/default-bootstrap/img folder on the a server. The frontend reflected the change first after I cleared Prestashop Cache. Regards, Richard Link to comment Share on other sites More sharing options...
ccristian Posted October 4, 2020 Share Posted October 4, 2020 On 10/3/2017 at 4:37 PM, ArisCom said: I did it like this: In blockcart.css file I replaced line with "f07a" with line "content: url(../../../img/cart-icon.png);" And I uploaded the new cart icon into themes/default-bootstrap/img folder on the a server. The frontend reflected the change first after I cleared Prestashop Cache. Regards, Richard Hi! Can you tell us the path to this file you mentioned above "blockcart.css" so can we make the changes like you did? I am using PrestaShop 1.7 Thank you! Link to comment Share on other sites More sharing options...
ArisCom Posted October 4, 2020 Share Posted October 4, 2020 On PS 1.6 you can find it here: ./themes/default-bootstrap/css/modules/blockcart/blockcart.css I'm not sure about PS 1.7, but it could be similar. Regards, Richard Link to comment Share on other sites More sharing options...
ArisCom Posted October 4, 2020 Share Posted October 4, 2020 1 hour ago, ccristian said: Hi! Can you tell us the path to this file you mentioned above "blockcart.css" so can we make the changes like you did? I am using PrestaShop 1.7 Thank you! On PS 1.6 you can find it here: ./themes/default-bootstrap/css/modules/blockcart/blockcart.css I'm not sure about PS 1.7, but it could be similar. Regards, Richard Link to comment Share on other sites More sharing options...
ccristian Posted October 7, 2020 Share Posted October 7, 2020 On 10/5/2020 at 1:44 AM, ArisCom said: On PS 1.6 you can find it here: ./themes/default-bootstrap/css/modules/blockcart/blockcart.css I'm not sure about PS 1.7, but it could be similar. Regards, Richard NO, it's not. On PrestaShop 1.7 the path it's different....hmmmmmmmm Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now