[Resolved] How to place shopping cart icon with link to basket next to search bar

Home Forums Support [Resolved] How to place shopping cart icon with link to basket next to search bar

Home Forums Support How to place shopping cart icon with link to basket next to search bar

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1416428
    Arek

    Hello,

    I am creating shop woocommerce for my client https://jsmetals.internetspace.pl
    How can I place shopping cart icon with link to basket next to search bar, show on file file

    Kind regards,
    Arek Ignasiak

    #1416456
    Leo
    Staff
    Customer Support

    Hi there,

    You’d need to use the cart widget from WooCommerce in the header widget area.

    #1416471
    Arek

    Hello,

    How can I do it? I need only to place shopping cart icon with link to basket just the same like on attached screen?

    Kind regards,
    Arek

    #1416478
    Leo
    Staff
    Customer Support

    WooCommerce comes with a cart widget by default:
    https://docs.woocommerce.com/document/woocommerce-widgets/

    You can add that to the header widget area:
    https://docs.generatepress.com/article/header-widget/

    #1417140
    Arek

    Hello,

    Thank you for the answer.
    I have add this widget to the header widget area but this is not what I want to achive, maybe I am not enough clear.
    I want to achive effect like on attached screen basket
    Can you help me with this please?

    Kind regards,
    Arek

    #1417664
    Leo
    Staff
    Customer Support

    If you are referring to the position then this CSS should help:

    .header-widget {
        order: 1;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    I’m not sure how to turn it into an icon unfortunately – you would need to check with WooCommerce support team.

    #1417730
    Arek

    Ok, I will check with WooCommerce support team.
    Thank you very much for directions.

    Kind regards,
    Arek

    #1418056
    Leo
    Staff
    Customer Support

    No problem 🙂

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