- Priority: 0
- Status: Closed
- Theme: Venedor
-
Assigned To:
Fred
- Private: No
- Open Date: 19.03.20, 21:40
- Opened by: Patrick Snoeck
- Closed by: Fred
- Closed on: 04.04.20, 11:15
- Reason: Closed
- Comment: Glad to help!
Ticket #17070 - Cart in sticky header as SVG symbol
Hi,
Is it posible to get the cart in the sticky menu as a SVG icon (like the search icon) on the right of the search box icon?
Thanks
Kind Regards,
Patrick
Comments
Try to move Shopping Cart module into the “displayTop” hook
That worked! Thanks. How/where do I change it to a SVG cart the same as the searchbox? So a square with in it a cart?
to hide the text and leave the icon only use the following code
.cart-title {display:none}
That worked. Where/how can I Change the logo to “si-cart” SVG in the same size as the search logo?
Here is it https://take.ms/SZsXr and here is a tutorial https://venedor3.promokit.eu/promokit/documentation/#svg
Sorry, my mistake….
I mean where can I change the green cart to the “si-cart” of the SVG section. If possible I want a square around it like in the attachment.
So the cart is in the same color/style as the Search block.
Could you help me with that?
Thanks.
Attachments:
OldNewCart.pdf(31.7 KiB)you can do that in the file /themes/venedor/modules/ps_shoppingcart/ps_shoppingcart.tpl
and a square around it you can make with a CSS
Could you make it for me? I don’t no how to do CSS…
And when this is done and the client put something in the cart do I see a number of the products that are in the cart? Because we have hide the text? I would like only to see a number like in the attachment. (if possible in green).
Please let me know what would be the costs.
Attachments:
Document1.pdf(13.8 KiB)We have a lot of customer’s tickets and really don’t have time for customisations.
try following CSS:
In the /themes/venedor/modules/ps_shoppingcart/ps_shoppingcart.tpl
This is the code:
I see already #si-cart is in the code only not showing on the website as the SVG icon as in file themeforest-GDLSe7Tz-venedor-responsive-prestashop-theme/documentation/1.7/index.html#!/svg
Also the code
Doesn’t show anything on the website.
Could you help out?
1. just replace #si-cart icons with another icon what available in the theme http://venedor3.promokit.eu/promokit/documentation/#svg 2. make sure you have disabled all possible cache in your website
Dear Fred,
I changed it to a si-instagram , that worked out ok, only the color is green, so maybe when I change te color to black I see the si-cart as in the documentation?
Where can I change the cart to black? And where do I have to put “.blockcart a {border: 2px solid #333;padding: 4px;}”
Thanks.
You need to use Developer Tools of your browser to easily change the such small things. Check out this video https://www.youtube.com/watch?v=wcFnnxfA70g
That part I know, but I don’t know how to find where I can change the color, and where to put the code for the block around the cart.
I guess the green cart is with full color because of the code #shadow-root (closed), but don’t know where to change it.
Attachments:
Cart.docx(716.2 KiB)Here is it https://take.ms/3IxUB
Found it. Thanks.