#72 Missing font-awesome images

Posted in ‘Technical Support / Bugs’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Olivier on Monday, 09 December 2024 13:29 UTC

Stephane Hanrez

Hi,

When looking at my cart on my website, I'm supposed to have a "delete" button but I only see a red square. 

See example here : J2 Store Basket

Looking at the code, it's suppose to show a font-awesome icon (fa-trash) but it's not visible.

Doesn't seem to be a css issue, I tried to force text color to white but without success, looks like it simply doesn't find this icon (fa-trash-o)

<a class="btn btn-small btn-danger btn-xs j2store-remove remove-icon" href="https://www.j2commerce.com/index.php/component/j2store/carts/remove?cartitem_id=99">
<i class="fa fa-trash-o"></i>
</a>

Do I need to do something to get font-awesome installed ?

Also is there a way to get this delete button shown right after the quantity instead of below it ?

Thanks

 

 

Olivier

Stephane,

in the J2Commerce configuration page, in the first tab (basic settings), you have the option to load Font-Awesome.

Olivier.

Stephane Hanrez

Hi Olivier,

If you are talking about "Load Font-Awesome UI in front end" it's already activated in the J2Store settings.

Stéphane

Stephane Hanrez

Not sure if it's related but what are those classes : j2store-remove remove-icon ?

<a class="btn btn-small btn-danger btn-xs j2store-remove remove-icon" href="https://www.j2commerce.com/index.php/component/j2store/carts/remove?cartitem_id=99">
<i class="fa fa-trash-o"></i>
</a>

Stephane Hanrez

 

Just tested, if I replace fa-trash-o with fa-trash, then it works fine.

Olivier

Stephane,

we are in the process of updating everything to be curent, so for now you will find classes that may no longer be used like remove-icon.

fa-trash-o was meant for FontAwesome 4, which is still packaged with J2Store. This will be replaced with Joomla's version overtime.

Thank you!

Olivier.

Stay Updated

Subscribe for free and be the first to know about the latest features, updates, and new additions.