- Posts: 11
- Thank you received: 0
Breadcrumbs and removing 'Items In Stock' count
I have looked through the docs and cannot seem to find the answer.
1. I want to have the Joomla Breadcrumbs module display the Category hierarchy in HikaShop but can only get it to show the Joomla menu depth. Some others have done it as here www.highdesertvideo.com/products-by-cate...-snms-winged-sprints
2. I want to remove the count of 'items in stock' that shows next to the price on all views. Is there a setting?
In my example, you can see in this image that the breadcrumbs only shows the menus (please not the '.' after Other is a menu item that I am attempting to hide until the shop goes live. You can also see the count of 'items in stock' above the 'Add to Cart' button' that I do not want to have show.
Thanks for your help.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
1. Make sure that the "simplified breadcrumb" option is turned off in the configuration of HikaShop.
2. You can do that with a translation override:
www.hikashop.com/en/download/languages.html#modify
Please Log in or Create an account to join the conversation.
Thanks for your response.
The Simplified Breadcrumbs option was already set to No. Any other ideas?
I just changed the X_ITEMS_IN_STOCK="%s items in stock" to X_ITEMS_IN_STOCK="" which eliminated the text but now left a 'blank' above the Add To Cart button. Using Firebug I can see the structure
<td class="hikashop_product_add_to_cart_row">
But there is no reference any HikaShop css setting, only the main template. Any ideas how to remove the 'blank' line that is making the button lower than the rest of the product info?
Thanks for your help
Please Log in or Create an account to join the conversation.
You can indeed use CSS to remove the blank space.
HikaShop's CSS can be edited via the Display tab of the configuration. You will have to add that class definition.
Please Log in or Create an account to join the conversation.
Thanks for your help. Think I figured out the CSS but am still having breadcrumbs issues.
I've attached another 3 screen shots - in sequence top left, bottom left, top right.
Shop Online in the menu is a Category Listing for Product Categories (top). It shows fine in breadcrumbs when clicked (top left screen).
But when you click into Beer for example, the breadcrumbs do not change. Same next level down to American (Misc).
Any ideas what I am doing wrong?
Thanks again!
Link here... link
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thanks for your help. All of those cache settings are off.
Any other ideas?
Thank
Please Log in or Create an account to join the conversation.
if your on 2.5 give it also a try i think it works...but if i doesn't try something else from the same category...
btw always create backups...
Please Log in or Create an account to join the conversation.
Just tried that one for Joomla 1.5 - same result.
Have you not had such an issue before?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I know this is an old thread but I'm posting my solution to this which looks to have worked well (might save someone else some time).
Firstly I removed the text as suggested by nicolas from the translations ('X_ITEMS_IN_STOCK)
Then I noticed I had a massive white space between the price and the add to wishlist button
I then found a <br> that was making that white space exist
I've hidden that break in that specific area by doing the following (selects the break under product stock and hides it):
div.hikashop_product_stock br {
display:none;
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
If this is in regards to my CSS note above - you can paste the command directly into your frontend css file.
If this doesn't make the desired change then please remove the line from the config.
Please Log in or Create an account to join the conversation.
div.hikashop_product_stock br {
display:none;
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.