Selling Items on Back-Order

  • Posts: 34
  • Thank you received: 0
13 years 1 week ago #30197

Hi,

I just wanted to know if there is a way to sell an item that is out of stock (maybe with a message that "item is on back-order and therefore might take longer")?

If yes, how?

Thanks,
Zoltan

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 week ago #30224

Hi,

That's not possible.

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

  • Posts: 34
  • Thank you received: 0
13 years 1 week ago #30366

Would it be pretty complex as a custom feature, or a simple one?

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
13 years 1 week ago #30389

It depends how you want to do it.
For example, you could do that:

You set a quantity greater than what you really have, 20 more than what you have.
Then, in the file "cart" of the view "checkout" that you can edit via the menu Display->Views, you can add the code:
if($row->cart_product_quantity<20){
$app =& Jfactory::getApplication();
$app->enqueueMessage('item '.$row->product_name.' is on back-order and therefore might take longer');
}

after the line:
if($group && $row->cart_product_option_parent_id) continue;

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

  • Posts: 34
  • Thank you received: 0
13 years 1 week ago #30621

Thanks, Nicolas!

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

Time to create page: 0.042 seconds
Powered by Kunena Forum