- Posts: 13
- Thank you received: 0
Stock levels
I want thee software to track inventory and display out of stock status i just don't want the "28 items in stock" to show anywhere on the front end.
Please Log in or Create an account to join the conversation.
There a three methods:
- You can edit the translation "X_ITEMS_IN_STOCK" in order to empty it (and so, display nothing instead).
- You can edit the view "product | quantity" and remove the line which would display the span with the translation of "X_ITEMS_IN_STOCK"
- You can add a css rule in order to hide the span which have the class "hikashop_product_stock_count".
The first solution would be, I think, the better one.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
When I go to views the only Translation files I find do not contain that term.
Also any edits I make to the "product / quantity" file do not seem to stick and I am not sure exactly what line to remove.
Please Log in or Create an account to join the conversation.
You can find the translation in HikaShop > Configuration > Language, then edit your language file and empty the value of "X_ITEMS_IN_STOCK"
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
there is a space before button cart, how I can hide this ?
Please Log in or Create an account to join the conversation.
Without a link to your website it will be difficult to help you.
But you can probably solve the problem with some css.
www.hikashop.com/fr/support/documentatio...ize-the-display.html
Please Log in or Create an account to join the conversation.
now all products are -1
but I would like to put a stock in some
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you tell me what your problem exactly is and what you really want to do with some screenshots for example.
Thanks
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
I set at 10 in stock only for make screenshoot
When I hide the number of products in stock using the language file remain a space as you can see in the screen shot, I would delete this space
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Try to add a CSS rule:
And edit the view "product | quantity" to replace the line:
(You can also remove the line in the view, so the quantity won't be displayed at all).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.