remove price total from mini cart

  • Posts: 4
  • Thank you received: 0
13 years 7 months ago #13451

How do I remove the total price from showing in the mini cart, while still allowing the quantity to show?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 7 months ago #13454

You can go in the hikashop cart module options via the joomla module manager, click on the "hikashop options" link and then turn off the "display price" option.

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

  • Posts: 4
  • Thank you received: 0
13 years 7 months ago #13462

Well, I already have the "display price" option set to "No" and it's still showing up. Any suggestions for going into the PHP code and commenting out the line that affects that?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 7 months ago #13469

Ah yes. I went over the word "mini" in your previous message. Indeed the total is still displayed regardless of the price option when using the mini cart.
You can however easily change it by overriding the translation string:
X_ITEMS_FOR_X="%s items for %s"
to:
X_ITEMS_FOR_X="%s items"

in the config under the tab languages when editing your translation file, like explained there:
www.hikashop.com/download/languages.html#modify

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

  • Posts: 147
  • Thank you received: 6
9 years 11 months ago #182750

Hi I just updated to the latest 2.3.4 version of hikashop in joomla 3.3 and the solution above stoped working.
It was working before the update though.
The language override still there showing only %s items however the price is now coming up.
Can someone please advise.

Thanks

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

  • Posts: 13201
  • Thank you received: 2322
9 years 11 months ago #182763

Hi,

There was a little thing changed, but shouldn't impact your case.
We now handle the singular/plural translation for "items in cart" or "item in cart".

Do you had made a view override on the view "product / cart" ? If it it, please check that this override were made properly.
You can too add the desired translation to the string "X_ITEM_FOR_X".

The following user(s) said Thank You: ebrahimahamdi

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

  • Posts: 147
  • Thank you received: 6
9 years 11 months ago #182862

HI, that was it.
We now need the translation override for the two strings, the ITEM and ITEMS.

Thanks a lot.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum