Restrict option based on characteristic.

  • Posts: 377
  • Thank you received: 7
10 years 5 months ago #197923

-- url of the page with the problem -- : thelostgarden.co.uk/new/index.php/hikash...oduct/1-sat-02-05-15
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3
-- PHP version -- : 5.4

Hi
I am trying to use hikashop to sell table for VIP club events however ideally there needs to be some connection between the selection on the characteristic and then if we can show options.

For example here: thelostgarden.co.uk/new/index.php/hikash...oduct/1-sat-02-05-15
I want people to select a table, if they do then it costs £500. If they select guestlist then it is free. (fine). However i do not want them to be able to see the drink options if they select guestlist. This should only be option they can see if they select a table. Does that make sense and is that possible?

Kind regards

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

  • Posts: 377
  • Thank you received: 7
10 years 5 months ago #197924

Just to add to that i had that working well by setting both to characteristics, however it meant that the stock didnt apply to tables any longer because someone could buy table 1 with drinks package 1, then someone else could buy table 1 with drinks package 2. This means that they would be able to double book the table. Ideally tables would have a stock of 1 per event. drinks packages are unlimited but can only be selected if a table is something that is being bought. I am not sure if hikashop is able to do this so any insight would be great thank you.

Alex

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 5 months ago #197926

Hi,

There is no option to do that.
It would require the customization of the characteristics dropdown to add the display of the options area or not based on what the customer select in the javascript function called hikashopUpdateVariant that you can find in the file administrator/components/com_hikashop/types/characteristic.php

The following user(s) said Thank You: Dibben

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

  • Posts: 377
  • Thank you received: 7
10 years 5 months ago #197985

Hi Nicolas,

Thank you for that, i did check to see if an option could be assigned to a product variant, but i notice this is not something you can assign to a product variant, it might be a nice feature to the future allowing a person to give options based on the characteristic as some options are only compatible with certain choices and not others.

Kind regards

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

Time to create page: 0.037 seconds
Powered by Kunena Forum