Skip to main content

What is this or how do I use it?

I have asked before, and not gotten an answer from anyone. I want to get rid of the floating shopping cart icon on the lower right, get rid of the slide out cart drawer, and just have a shopping cart icon on the main menu that takes you to a cart page, like Amazon. I was able to use a generic cart icon on the main menu that takes me to the shopping cart page, but can't figure out how to get rid of the drawer and floating icon. I also feel like this css may do something useful for my layout, if only I knew what to do with this.

https://docs.fluentcart.com/guide/settings-configuration/cart-checkout-settings#cart-icon-in-body

says to turn off floating cart, uncheck the box to disable it, but the floating icon shows regardless of my setting. It doesn't seem to do anything.

how do I use fcart-cart-toogle-button?

What is this or how do I use it?

Sarkar Ripon

Please use the css class in the marked section. So, that menu/Text will be actionable for cart drawer.

incase if you want add fontawesome icon you can also use this

function add_my_font_awesome_kit() {
wp_enqueue_script( 'font-awesome-kit', 'https://kit.fontawesome.com/your.js', array(), null, false );
}
add_action( 'wp_enqueue_scripts', 'add_my_font_awesome_kit' );

Jeff Mapes

Ripon Sarkar thanks for responding. I have been using google material design, but should I be using font awesome? I spent some hours yesterday with claude code rewriting a plugin I made to display mdi icons on my menus, and modified to stop using mdi through cdn, but instead install the font on my wordpress site to reduce dependency on external resources. so your response begs some questions.

  1. any preference between font awesome and google material design?
  2. any reason why I shouldn't install them into the wp template?
  3. Before asking the question, I tried putting fcart-cart-toogle-button in CSS Classes on my cart menu button, but didn't know what text to put, so kept default "cart", but didn't see any result of a cart icon.
  4. is the cart icon supposed to update the number of items when adding to cart? mine seems to stay at 1 no matter what I do, but just on the floating icon since I have yet to get it in the menu to work.

Jeff Mapes

Ripon Sarkar can you help with this?

Sarkar Ripon

Jeff You are requested to open a support ticket. Thank you

Jeff Mapes

Ripon Sarkar I request that you guys update your documentation. do you know when that will happen? Is there a timeline on that?

Sarkar Ripon

May I ask the name of your theme so that I can guide you properly?

Jeff Mapes

Ripon Sarkar I created a ticket. theme is 24