[Skip to main content](#vessel-content)

#   Iphone variants issue

##

- **[theguy](/forum/user/32584-theguy "View theguy's Profile")**
- [![theguy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32584-theguy "View theguy's Profile") Topic Author
- [ Offline](/forum/user/32584-theguy)

Less More

- Posts: 228
- Thank you received: 8
-
-

6 years 2 months ago [\#323049](#323049) by [theguy](/forum/user/32584-theguy "View theguy's Profile")  *[Iphone variants issue](/forum/26-product-category-display/900618-iphone-variants-issue#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.")* was created by *[theguy](/forum/user/32584-theguy "View theguy's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA2MTgtaXBob25lLXZhcmlhbnRzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

6 years 2 months ago [\#323068](#323068) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Iphone variants issue](/forum/26-product-category-display/900618-iphone-variants-issue#323068 "-- 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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA2MTgtaXBob25lLXZhcmlhbnRzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[theguy](/forum/user/32584-theguy "View theguy's Profile")**
- [![theguy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32584-theguy "View theguy's Profile") Topic Author
- [ Offline](/forum/user/32584-theguy)

Less More

- Posts: 228
- Thank you received: 8
-
-

6 years 2 months ago [\#323107](#323107) by [theguy](/forum/user/32584-theguy "View theguy's Profile")  Replied by *[theguy](/forum/user/32584-theguy "View theguy's Profile")* on topic *[Iphone variants issue](/forum/26-product-category-display/900618-iphone-variants-issue#323107 "-- 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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA2MTgtaXBob25lLXZhcmlhbnRzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

6 years 2 months ago [\#323116](#323116) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Iphone variants issue](/forum/26-product-category-display/900618-iphone-variants-issue#323116 "-- 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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA2MTgtaXBob25lLXZhcmlhbnRzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[theguy](/forum/user/32584-theguy "View theguy's Profile")**
- [![theguy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32584-theguy "View theguy's Profile") Topic Author
- [ Offline](/forum/user/32584-theguy)

Less More

- Posts: 228
- Thank you received: 8
-
-

6 years 2 months ago [\#323173](#323173) by [theguy](/forum/user/32584-theguy "View theguy's Profile")  Replied by *[theguy](/forum/user/32584-theguy "View theguy's Profile")* on topic *[Iphone variants issue](/forum/26-product-category-display/900618-iphone-variants-issue#323173 "-- 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.")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA2MTgtaXBob25lLXZhcmlhbnRzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86324
- Thank you received: 14286
-
-

6 years 2 months ago [\#323179](#323179) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Iphone variants issue](/forum/26-product-category-display/900618-iphone-variants-issue#323179 "-- 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.")*

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&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA2MTgtaXBob25lLXZhcmlhbnRzLWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.086 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
