[Resolved] SHOPHING CART ICON CONTENTS TOTAL

Home Forums Support [Resolved] SHOPHING CART ICON CONTENTS TOTAL

Home Forums Support SHOPHING CART ICON CONTENTS TOTAL

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!.

    #843521
    Tom
    Lead Developer
    Lead Developer

    Hi 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 🙂

    #843688
    Iñ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;
    }

    https://ibb.co/z7SZQm0

    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.

    #843923
    Tom
    Lead Developer
    Lead Developer

    Yea, I think we’ll increase that a bit. CSS is the way to go for now.

    Glad you like the new version! 🙂

    #844150
    Iñaki Mansilla

    Ok, no big deal.
    Thanks Tom.

    #844608
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.