remove "X items available"

  • Posts: 3
  • Thank you received: 0
11 years 11 months ago #86836

how can i remove the text "X items available" on the product page?

I tried to delete this:

// <div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main">
// <?php
// $this->row = & $this->element;
// $this->ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this->row->product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }';
// $this->setLayout('quantity');
// echo $this->loadTemplate();
// ?>
// </div>

but then i can't order the product anymore, so this won't work.

Anyone can help?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 11 months ago #86891

Hi,

My solution would be to :
- Go to "Hikashop->System->Configuration->Language->'Your language file'"
- Change the line :

X_ITEMS_IN_STOCK="%s items in stock"
by :
X_ITEMS_IN_STOCK=" "

Hope this will help you.

The following user(s) said Thank You: Jeroen Coolsaet

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

Time to create page: 0.065 seconds
Powered by Kunena Forum