- This topic has 5 replies, 2 voices, and was last updated 4 years ago by
Tom.
-
AuthorPosts
-
March 19, 2019 at 1:56 am #843007
Iñaki Mansilla
Hi!.
How can I get this??:
1. Show number of items instead of price.
2. Number of items right above of a personalised shopping cart icon like show in the pic https://ibb.co/r2Y1n1y
Something like this example: http://www.maideralzaga.com
I have already place my icon like this:
.main-navigation a.cart-contents.shopping-bag:before, .secondary-navigation a.cart-contents.shopping-bag:before { content: url(https://www.ianmosh.com/wp-content/uploads/2019/03/shopping-bag-ic1.png);
display: inline;
line-height: inherit;
vertical-align: -5px;
}I have been trying to do it with this, but I coundn´t manage to make it work. https://docs.woocommerce.com/document/show-cart-contents-total/
I can read code but can´t write PHP, so I am not sure if I am asking too much??… Thanks for your help!.
GeneratePress 2.2.2GP Premium 1.7.8March 19, 2019 at 9:14 am #843521Tom
Lead DeveloperLead DeveloperHi there,
In GPP 1.8, we added an option to display the number of items instead of the price: https://generatepress.com/gp-premium-1-8/
If you install that version and open your site up so we can see it, we should be able to implement your icon 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 19, 2019 at 11:29 am #843688Iñaki Mansilla
Wow I am overwhelmed with all that many new features and improvements. You guys are the best!, best theme / framework, and best support!!.
Thank you very much!!.
Just one small thing, why is it that you set the font-size so tiny??… I read:
.cart-contents > span.number-of-items {
font-size: 10px;
}I can´t find this option in the Customizer… Although it’s not a big deal as we can change it right away with css.
March 19, 2019 at 4:52 pm #843923Tom
Lead DeveloperLead DeveloperYea, I think we’ll increase that a bit. CSS is the way to go for now.
Glad you like the new version! 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 20, 2019 at 1:14 am #844150Iñaki Mansilla
Ok, no big deal.
Thanks Tom.March 20, 2019 at 7:38 am #844608Tom
Lead DeveloperLead DeveloperNo problem 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.