Set default quantity to 1 instead of unlimited?

  • Posts: 319
  • Thank you received: 4
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
7 months 3 days ago #356105

Hi there,

I'm building a site that is likely to be used by individuals rather than businesses, so I'd like to set the default quantity for all products to 1 instead of Unlimited. How do I change that?

thanks!

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

  • Posts: 81718
  • Thank you received: 13108
  • MODERATOR
7 months 3 days ago #356107

Hi,

Open the hikashop_config table via your PHPMyAdmin and add an entry with the namekey default_stock_for_new_products and the value 1
That way, HikaShop will automatically use 1 instead of unlimited when you create a new product in the backend interface.

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

  • Posts: 319
  • Thank you received: 4
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
7 months 3 days ago #356124

Hi,

Thanks. I've done this, but I think there's some information missing here, and it's not changing anything on the frontend.

See video: 1drv.ms/v/s!ApCULpUUmrCAjfda4qbCJDWtrJGjSA?e=GhPYcQ

Thanks! I am sure there's just something missing somewhere - like the function or something?

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

  • Posts: 26034
  • Thank you received: 4006
  • MODERATOR
7 months 2 days ago #356164

Hello,

If you want to have pre-set values for products in the front-end, the best solution is to use the "product template" system.
www.hikashop.com/support/documentation/1...l#configtab_template

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: 319
  • Thank you received: 4
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
7 months 2 days ago #356170

Thanks! I've done that. How do I set a default template for the vendor user group? I assume there's a setting for that somewhere too.

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

  • Posts: 319
  • Thank you received: 4
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
7 months 2 days ago #356171

Nevermind! Figured it out!

The following user(s) said Thank You: Jerome

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

Time to create page: 0.064 seconds
Powered by Kunena Forum