Waitinglist deliverytime?

  • Posts: 81
  • Thank you received: 2
12 years 9 months ago #45092

Hi all,
I've got the following case:
We sell shoes and some of them are in stock, and some are to be ordered from our shoemaker.
the stock shoes have a shipping time of a few workdays,
the shoes that are not in stock will take 3-6 weeks to ship.

I activated the waitinglist, and that works fine, but I would like to inform customers about the time
it will take to arrive at their home in both cases..

What would be the best way to acchieve that?

Thanks, and by the way: I really like Hikashop better, the longer i'm working with it.

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45227

Hi,

You could override the "no stock" message to add your message with a translation override:
www.hikashop.com/en/download/languages.html#modify

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

  • Posts: 81
  • Thank you received: 2
12 years 9 months ago #45257

Yes I thought of that, but then products that are really no longer available will heve the same message.

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45264

Then, you should create a custom field of the table product via the menu Display>Custom fields so that you can easily select whether the product is of one group or the other.
Then, you can edit the file "quantity" of the view "product" via the menu Display->Views and replace the line:
echo JText::_('NO_STOCK');

with something a tad more complex:
if($this->row->CUSTOM_FIELD=='group1'){
echo 'No stock';
}else{
echo JText::_('NO_STOCK');
}

where CUSTOM_FIELD is the column name of your custom field and "group1" one value of your custom field. and then do the override like explained before.

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

  • Posts: 81
  • Thank you received: 2
12 years 9 months ago #45536

Thanks, I will try this later. Iḿ sure this will help!

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

Time to create page: 0.050 seconds
Powered by Kunena Forum