Remove the option "link product quantity" in the H

  • Posts: 43
  • Thank you received: 1
9 years 5 months ago #176081

-- HikaShop version -- : 3.3.3
-- HikaSerial version -- : 1.8.3
-- Joomla version -- : 3.3
-- PHP version -- : 5.4

Hi Hikaserial support

How do I remove the option "link product quantity" in the HikaSerial configuration?

I wan't to set a limit on products in Hikashop. This is currently not possible with Hikaserial attached.

Best regards

Carsten

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #176083

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: 43
  • Thank you received: 1
9 years 5 months ago #176235

Hi Jerome

Nothing happens when I change the option "Link Product quantity" in Hikaserial. I still can't put a limit on products in Hikashop. What am I missing here?

Best regards

Carsten

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #176242

Hi,

Put a limit ?
Please provide more details about your configuration and your problem.
The option "link product quantity" is here to modify the "product quantity" of the product while associated with a pack.

If the pack have a serial generator, it will set the product quantity to unlimited. If the pack does not have a serial generator, it will set the product quantity to the number of serials in the pack.
If you deactivate the option, HikaSerial won't force the value anymore so you will be able to change the product quantity.

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: 43
  • Thank you received: 1
9 years 5 months ago #176257

Hi Jerome

sorry about that, I'm pretty new at this. Yes the pack have a serial generator. But I tried to disable "link product quantity", and this did not give me the opportunity to change product limit in the Hikashop, product page.

Should I send you user information so you can have a look at it?

Best regards

Carsten

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

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #176266

Hi,

The only thing I see could be a configuration saving/loading problem.
So please edit the file "administrator/components/com_hikaserial/classes/product.php" and replace

if($config->get('link_product_quantity', false) === false)
By
if($config->get('link_product_quantity', false) == false)
In order to be less restrictive on the configuration value.

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.

Moderators: Obsidev
Time to create page: 0.063 seconds
Powered by Kunena Forum