The option can also be turned off

  • Posts: 55
  • Thank you received: 0
  • Hikashop Business
4 years 11 months ago #317527

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.3.12
-- Browser(s) name and version -- : Chrome

I am looking to disable the button via css or override in the relevant php file for no stock



I just don't see how I can make this.

Supplement:

It is also possible to show the color by default.
And that the measures are then loaded as a dropdown.
And that in that dropdown the out of stock products is disabled.
So that you can indicate all sizes that you can supply

Attachments:
Last edit: 4 years 11 months ago by webmasterab.

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

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
4 years 11 months ago #317532

Hello,

First maybe you can try this configuration that seems to match your needs to me, see my screenshot :



This will enable the dynamic dropdown display :



This will automatically remove impossible or unavailable configuration.

Or if not, you can have a look on this tutorial , and especially this part to create an override view.
Of course, this required some Html & Php knowledge.

Hope this will make you progress on your needs.
Regards

Last edit: 4 years 11 months ago by Philip.

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

  • Posts: 55
  • Thank you received: 0
  • Hikashop Business
4 years 11 months ago #317539

Thanks for your response.

I have already looked at the option you indicate, but it does not meet the need.

We would like to see the color as standard and then the sizes that go with it.
the sizes that are not in stock are not active.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #317548

Hi,

If you set the "characteristics selection method" setting to "table", then you'll have a 2D table with only the variants with stock with a radio button. The others will have a cross icon.
Your first screenshot tells me you already have that setting configured like that, but you have a display issue on your website leading to both the radio input and the cross icon being displayed for variants without stock.
So that seems to be a glitch, probably related to the template CSS.
I would need a link to that page so check the situation to be able to tell you what's wrong there.

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

Time to create page: 0.067 seconds
Powered by Kunena Forum