Iphone variants issue

  • Posts: 228
  • Thank you received: 8
4 years 6 months ago #323049

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.1

Hello,

We have encountered a very weird bug with Hikashop products, when adding a product with variants to the cart, both in Safari browser and in Chrome browser, we always get the first variant in the list and not the selected variant. On Android devices this works perfect and we are getting the selected variant only.

Please advice,

Guy.

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

  • Posts: 12953
  • Thank you received: 1778
4 years 6 months ago #323068

Hello,

Can you eventually give us a link to one of the page where you are having that issue so that we can directly test it ? Thank you.

Kind regards,
Mohamed.

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

  • Posts: 228
  • Thank you received: 8
4 years 6 months ago #323107

Hello Mohamed,

This happens with all products with variants on Iphone. You can check the following product page:

This message contains confidential information


Thank you,

Guy.

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

  • Posts: 12953
  • Thank you received: 1778
4 years 6 months ago #323116

Hello Guy,

Your issue is probably coming from your customizations, can you test it with one of Joomla default templates for example ? Thank you.

Kind regards,
Mohamed.

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

  • Posts: 228
  • Thank you received: 8
4 years 6 months ago #323173

Hello Mohamed,

I've checked this issue with another template and the problem is indeed on our end and it happens ONLY on Apple devices. Debugging this on Apple devices is close to impossible. But, we did manage to find out the reason for this problem and this is something I would like to asl your help with. We managed to find out that this problem happens when the default variant is not the first variant on the list. We would set the variants for all products to be the first but this leads me to another problem, when the stock levels of the first variant drops to zero, we get a message "out of stock" for the entire product, even if other variants are available. So we tried to set the order of the variants but this failed as well as the "Characteristics values ordering" in settings has no effect whatsoever.

We would like to ask your help in solving this issue in one of the following options:
1. Fix the variant order option so we can sort the variants.
2. Fix the first variant 0 stock issue.
3. Allow some other option to order variant.

Greatly appreciate your help,

Guy.

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

  • Posts: 83306
  • Thank you received: 13468
  • MODERATOR
4 years 6 months ago #323179

Hi,

1. You have two orders there:
- The order of the characteristics (if you have several of them). that's defined by their order in the "characteristics" setting of the product itself. You can see drag point next to each characteristics name to swap them.
- The order of the values in the dropdown / radio of a characteristic. That's defined by the "order" you entered for them in the "order" column of the values listing you can see when you edit that characteristic via the Products>Characteristics menu. BUT, that's only the case if you have the "Characteristics values ordering" setting of the HikaShop configuration set to "ordering" as it is the case by default. If it's set to "Alphabetic", then the values will be sorted alphabetically in the dropdown.
Note however that this only applies to how HikaShop displays the interface by default. Since your product page is heavily customized, it's possible that the developer didn't take into account the ordering the way we do by default. In that case, I can't say what to do as I don't know how the page was customized.

2. Normally, with the default display, you have two cases when the default variant is out of stock based on how is configured the "Display out of stock products" setting of the HikaShop configuration:
- if that setting is activated, then the default variant will be selected by default and you will see the "no stock" message by default on the page.
- if that setting is deactivated, then the system will automatically select another variant to be used as default when the default variant is out of stock.
So I would recommend to check that setting. Again, it is possible that the customization done on the product page doesn't take that setting into account...

3. Regarding other options here, I can't say much. If the customization doesn't take into account the systems we have in place in HikaShop, I can only say that it requires code modifications on the customization that was done.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum