Show availability in product view

  • Posts: 41
  • Thank you received: 0
10 years 6 months ago #155928

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello
I am trying to interconnect hikashop with a greek best price grabber called skroutz.gr
One of the problems I have is that I can't find how to display availability in product page. I have all the products set to unlimited availability. How can make this apear as "status: available" in the product page?
Thank you

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

  • Posts: 13201
  • Thank you received: 2322
10 years 6 months ago #155999

Hi,

Thanks to edit the view "product / quantity" and add the code:

		echo '<span class="hikashop_product_stock_count">'.JText::_('ITEM_AVAILABLE').'<br/></span>';
After:
	if($this->row->product_quantity==-1){
	?>
	<div class="hikashop_product_stock">
	<?php
And add a translation override like:

ITEM_AVAILABLE="Status: available"

www.hikashop.com/support/faq.html#tran

The following user(s) said Thank You: atzounis

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

  • Posts: 41
  • Thank you received: 0
10 years 6 months ago #156011

Thank you Xavier! You are the best! :D

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

Time to create page: 0.067 seconds
Powered by Kunena Forum