Add to cart button to show even when out of stock

  • Posts: 182
  • Thank you received: 15
12 years 8 months ago #61437

I have been looking everywhere for a setting that allows a customer to order an item even though it is out of stock. But I haven't found any setting to control this.

In this case we want to have contol of the stock in the backend but customer should be able to place an order even if the item is temporarily out of stock.

How do I set that up?

thanks

Jan

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

  • Posts: 2334
  • Thank you received: 403
12 years 8 months ago #61543

It's currently not possible to buy a product when this on is out of stock.
The only thing you can do is add for exemple 10 product to the real number of product you have in order to allow people buying it even when you're temporaly out of stock.

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

  • Posts: 182
  • Thank you received: 15
12 years 8 months ago #61549

Thanks for the information,

Then add that to the wishlist, it must be an option that allows that in Hikashop!


Jan

Last edit: 12 years 8 months ago by jansuhr.

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

  • Posts: 83672
  • Thank you received: 13545
  • MODERATOR
12 years 8 months ago #61550

It's already in the todo list.

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

  • Posts: 83
  • Thank you received: 10
12 years 7 months ago #64471

After entering in the quantities for about 40 or so items, I also discovered that a customer can not order, so I searched and found this post.

So, to solve it I created a new cutom field in product called inventory_qty which is where I track our stock back-end, and I leave the regular quantity field blank.

So that accomplished the same thing. :whistle:


(note, so that I didn't have to hand re-enter the quantities into my new custom field I transferred them using phpmyadmin.
To do this I ran two simple sql statements in phpmyadmin.

The first statement copied the quantities into the new field:
UPDATE jos_hikashop_product SET `inventory_qty`= `product_quantity`

The second statement deleted all the quantities in the Quantity field:
UPDATE jos_hikashop_product SET `inventory_qty`= NULL

Last edit: 12 years 7 months ago by jrod.

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

  • Posts: 182
  • Thank you received: 15
12 years 7 months ago #64485

Thanks for the tip, but how do you update the quantity when someone order a product?

You must have some custom PHP that recalculates the custom field.


BTW, shouldn't this SQL Query "UPDATE jos_hikashop_product SET `inventory_qty`= NULL"
instead be UPDATE jos_hikashop_product SET `product_quantity`= NULL


You want to set the original quantity fielsd to zero, right?

Jan

Last edit: 12 years 7 months ago by jansuhr.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum