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

#   2 Bugs, 1 Missing Falang feature on Product with multple variants

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

6 years 4 months ago -  6 years 4 months ago [\#321589](#321589) by [BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")  *[2 Bugs, 1 Missing Falang feature on Product with multple variants](/forum/25-install-update/900329-2-bugs-1-missing-falang-feature-on-product-with-multple-variants#321589 "-- url of the page with the problem -- :   www.vibel.be/fr/shop/sacs-a-dos-solaires.../category&#95;pathway-91  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.14-1 -- Browser(s) name and version -- : FireFox 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  1. Bug Adding variants with a second set of characteristics (i.e. variant 1 = colors, variant 2 = batteries-type) works awesome, BUT ;do note that &#91;bt&#93;he base price of the product is being rounded down&#91;/b&#93; --&gt; specifically 123,95 EUR becomes 123,00005 EUR and has to be corrected after all the variants have been defined and got their price definition (or percentage of base price)  2. Bug In front office, product detail page -&gt; options selection, (when having 0 stock of a variant), the product shows only variant 1 (i.e. color) and even when user selects a variant without available stock (i.e. red, with zero stock in all its level 2 variants), the user can add it to cart. In FACT it is the base variant (i.e. gray) that is being added to the cart. To replicate this, DO NOT SELECT THE FIRST VARIANT (i.e. Gray, which has enough stock), but SELECT DIRECTLY ANY other color i.e. (blue, red, khaki) which have no stock.  3 Missing Feature: In frontoffice adding characteristcs does not allow (not show) Falang translations (save and edit misses Falang language options) --&gt; Translations have to be done in backoffice/administrator.")* was created by *[BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")*

-- url of the page with the problem -- : [ www.vibel.be/fr/shop/sacs-a-dos-solaires.../category\_pathway-91](https://www.vibel.be/fr/shop/sacs-a-dos-solaires/prod/zenit-sac-a-dos-solaire-avec-batterie/category_pathway-91)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3.14-1
-- Browser(s) name and version -- : FireFox 77.0.1
-- Error-message(debug-mod must be tuned on) -- : none

1. Bug Adding variants with a second set of characteristics (i.e. variant 1 = colors, variant 2 = batteries-type) works awesome, BUT ;do note that [bt]he base price of the product is being rounded down[/b] --&gt; specifically 123,95 EUR becomes 123,00005 EUR and has to be corrected after all the variants have been defined and got their price definition (or percentage of base price)

2. Bug In front office, product detail page -&gt; options selection, (when having 0 stock of a variant), the product shows only variant 1 (i.e. color) and even when user selects a variant without available stock (i.e. red, with zero stock in all its level 2 variants), the user can add it to cart. In FACT it is the base variant (i.e. gray) that is being added to the cart.
To replicate this, DO NOT SELECT THE FIRST VARIANT (i.e. Gray, which has enough stock), but SELECT DIRECTLY ANY other color i.e. (blue, red, khaki) which have no stock.

3 Missing Feature: In frontoffice adding characteristcs does not allow (not show) Falang translations (save and edit misses Falang language options) --&gt; Translations have to be done in backoffice/administrator.

Last edit: 6 years 4 months ago by [BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDMyOS0yLWJ1Z3MtMS1taXNzaW5nLWZhbGFuZy1mZWF0dXJlLW9uLXByb2R1Y3Qtd2l0aC1tdWx0cGxlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86540
- Thank you received: 14299
-
-

6 years 4 months ago [\#321605](#321605) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[2 Bugs, 1 Missing Falang feature on Product with multple variants](/forum/25-install-update/900329-2-bugs-1-missing-falang-feature-on-product-with-multple-variants#321605 "-- url of the page with the problem -- :   www.vibel.be/fr/shop/sacs-a-dos-solaires.../category&#95;pathway-91  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3.14-1 -- Browser(s) name and version -- : FireFox 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  1. Bug Adding variants with a second set of characteristics (i.e. variant 1 = colors, variant 2 = batteries-type) works awesome, BUT ;do note that &#91;bt&#93;he base price of the product is being rounded down&#91;/b&#93; --&gt; specifically 123,95 EUR becomes 123,00005 EUR and has to be corrected after all the variants have been defined and got their price definition (or percentage of base price)  2. Bug In front office, product detail page -&gt; options selection, (when having 0 stock of a variant), the product shows only variant 1 (i.e. color) and even when user selects a variant without available stock (i.e. red, with zero stock in all its level 2 variants), the user can add it to cart. In FACT it is the base variant (i.e. gray) that is being added to the cart. To replicate this, DO NOT SELECT THE FIRST VARIANT (i.e. Gray, which has enough stock), but SELECT DIRECTLY ANY other color i.e. (blue, red, khaki) which have no stock.  3 Missing Feature: In frontoffice adding characteristcs does not allow (not show) Falang translations (save and edit misses Falang language options) --&gt; Translations have to be done in backoffice/administrator.")*

Hi,

1. I was able to reproduce it on the product edition page on my local test website.
It comes from this: [ stackoverflow.com/questions/7571553/java...imals-after-my-comma](https://stackoverflow.com/questions/7571553/javascript-parse-float-is-ignoring-the-decimals-after-my-comma)
Basically, you need to enter the price with a point and not a comma.

2. I was also able to reproduce the problem. I actually only happens when the wishlist system is activated as the system still need to allow the selection of the variants without stock for the display of the "add to wishlist" button since an out of stock product can still be added to the wishlist.

1. and 2. I've made patches for both issues and added them to the currently available HikaShop install package on our website. Download it and install it on your website and it will add the patches so these bugs won't happen anymore.

3. Do you mean that you don't see the flags for the popups when you edit a product as a vendor on the frontend of HikaMarket ?
Could you provide a screenshot of the interface there ?

The following user(s) said Thank You: [BartelBe](/forum/user/59340-bartelbe "View BartelBe's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMDMyOS0yLWJ1Z3MtMS1taXNzaW5nLWZhbGFuZy1mZWF0dXJlLW9uLXByb2R1Y3Qtd2l0aC1tdWx0cGxlLXZhcmlhbnRzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.058 seconds

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