Set default quantity to 1 instead of unlimited?

  • Posts: 324
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 4 weeks 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: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 weeks 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: 324
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 4 weeks 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: 26158
  • Thank you received: 4028
  • MODERATOR
1 year 4 weeks 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: 324
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 4 weeks 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: 324
  • Thank you received: 4
  • Hikamarket Multivendor Hikashop Business
1 year 4 weeks 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.062 seconds
Powered by Kunena Forum