Breadcrumbs and removing 'Items In Stock' count

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #46450

Hi

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 http://www.highdesertvideo.com/products-by-category/category/55-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.

Attachments:
Last edit: 13 years 1 month ago by ybe.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #46533

Any ideas on this? Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 83780
  • Thank you received: 13570
  • MODERATOR
13 years 1 month ago #46549

Hi,

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.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #46624

Hi Nicolas

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.

  • Posts: 83780
  • Thank you received: 13570
  • MODERATOR
13 years 1 month ago #46625

Then, it could that the module doesn't have a hikashop category listing selected in it's "menu" option. But it would help to have a link to that page so that we can look at how you configured your content display.


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.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #46882

Hi Nicolas

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

Attachments:
Last edit: 13 years 1 month ago by ybe.

Please Log in or Create an account to join the conversation.

  • Posts: 83780
  • Thank you received: 13570
  • MODERATOR
13 years 1 month ago #47000

Could you check that your breadcrumb module is not cached ?

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #47030

Hi - caching on the breadcrumbs module is set under 'Advanced Parameters' as 'Never' which is the only option.

Please Log in or Create an account to join the conversation.

  • Posts: 83780
  • Thank you received: 13570
  • MODERATOR
13 years 1 month ago #47073

Please check that the cache option of the configuration of Joomla, the cache plugin of joomla as well as the cache option of your template if any are all deactivated.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #47077

Hi Nicolas

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.

  • Posts: 52
  • Thank you received: 5
13 years 1 month ago #47080

How about trying another breadcrumbs module... extensions.joomla.org/extensions/structu...site-navigation/6604
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.

  • Posts: 11
  • Thank you received: 0
13 years 1 month ago #47082

Hi

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.

  • Posts: 83780
  • Thank you received: 13570
  • MODERATOR
13 years 4 weeks ago #47374

No, I've never heard of such problem on joomla 1.5 besides caching issues.

The following user(s) said Thank You: melisari

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 3
12 years 7 months ago #66752

Hi,

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;
}

The following user(s) said Thank You: nicolas, sideways

Please Log in or Create an account to join the conversation.

  • Posts: 103
  • Thank you received: 2
12 years 7 months ago #67508

Just found this topic that helped me to solve another issue, thank you so much!

Please Log in or Create an account to join the conversation.

  • Posts: 21
  • Thank you received: 1
12 years 6 months ago #71577

Which file should i edit for this change

Please Log in or Create an account to join the conversation.

  • Posts: 26
  • Thank you received: 3
12 years 6 months ago #71579

Hi,

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.

  • Posts: 21
  • Thank you received: 1
12 years 6 months ago #71592

its in response to the

div.hikashop_product_stock br {
display:none;
}

Please Log in or Create an account to join the conversation.

  • Posts: 83780
  • Thank you received: 13570
  • MODERATOR
12 years 6 months ago #71860

CSS can be added in the frontend CSS file of HikaShop via the Display tab of the configuration.

Please Log in or Create an account to join the conversation.

Time to create page: 0.157 seconds
Powered by Kunena Forum