how to display Stock availability in product page

  • Posts: 159
  • Thank you received: 0
6 years 2 months ago #302422

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.6
-- PHP version -- : 5.6
-- Browser(s) name and version -- : chrome

Hi,
i want show "Stock Available" / "Out of Stock" in product page. how can i do that in hikashop ?

also i am getting this error in my error.log file which is regarding to hikashop

[05-Dec-2017 07:04:14 UTC] PHP Warning: Creating default object from empty value in .../components/com_hikashop/views/category/view.feed.php on line 119
[05-Dec-2017 07:43:47 UTC] PHP Warning: Creating default object from empty value in .../components/com_hikashop/views/category/view.feed.php on line 119

Last edit: 6 years 2 months ago by Shafan Hameed.

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

  • Posts: 83512
  • Thank you received: 13511
  • MODERATOR
6 years 2 months ago #302427

Hi,

The stock should display automatically on the product page if you enter a quantity in your product.
Then, if you want to change the text "X items in stock" displayed by default to "stock available", you can use a translation override:
www.hikashop.com/download/languages.html#modify

Thank you for the feedback on the warning. We'll add a patch for that in the next release. You can ignore the warning for now, it's nothing important.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum