Option to leave product stock counter on purchase

  • Posts: 16
  • Thank you received: 0
9 years 10 months ago #186686

-- url of the page with the problem -- : www.schmuckdesign24.de/
-- HikaShop version -- : 2.3.5 Bussines
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29

I manage a shop where all products get manufactured on demand /purchase.
When somone purchases a product I want to leave the on stock counter untouched.
I have tried some options but didn't find the right option.
Is there a possibility to change the shops behavior as described?

Just now I always have to set the stock counter back to 1 if someone purchses a product.

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

  • Posts: 2143
  • Thank you received: 747
9 years 10 months ago #186705

Bruno wrote: I manage a shop where all products get manufactured on demand /purchase.


... and once one is sold, it is still available = getting manufactured on demand again upon next order?
If so, why not set the quantity to unlimited (Unbegrenzt)? No stock maintenance necessary then.

Or did I get something wrong... in that case sorry...


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Bruno

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

  • Posts: 16
  • Thank you received: 0
9 years 10 months ago #186712

You got it right!
So where can I set the quantity to unlimited? Checkbox or anything like this.

... I tried to enter unlimited (Unbegrenzt) into the quantity field ... and it keeps the value.
If this is the correct way, it is not very sugestiv.

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

  • Posts: 16
  • Thank you received: 0
9 years 10 months ago #186713

I just found out: empty field or anything else than a number is the same as unlimited (Unbegrenzt)

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

  • Posts: 2143
  • Thank you received: 747
9 years 10 months ago #186714

Bruno wrote: I just found out: empty field or anything else than a number is the same as unlimited (Unbegrenzt)


Ah, sehr gut! :)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 10 months ago by lousyfool.

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

  • Posts: 16
  • Thank you received: 0
9 years 10 months ago #186720

After inspecting the hikashop database tables with phpAdmin I found out that unlimited (Unbegrenzt) means that the value of product_quantity in the table jos_hikashop_product is "-1"

Now I changed all products of the shop with this SQL statement:

UPDATE `jos_hikashop_product` SET `product_quantity`=-1;
to unlimited
;)

Last edit: 9 years 10 months ago by Bruno.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
9 years 10 months ago #186732

Hi,

That's right, "-1" is the special number for "unlimited".

Please note that you can also use the mass-action system if you want to update all your products in your database.
www.hikashop.com/support/support/documen...massaction-form.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 16
  • Thank you received: 0
9 years 10 months ago #186845

Thanks for the hint, I will try the mass-action system next time

Last edit: 9 years 10 months ago by Bruno.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum