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

#   One Vendor add to cart issue

##

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

10 years 9 months ago -  10 years 9 months ago [\#228535](#228535) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  *[One Vendor add to cart issue](/forum/22-market-bug-report/882017-one-vendor-add-to-cart-issue#228535 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7  Hi,  I've set Limit vendors in cart to One vendor When adding products from different vendors, no error is shown, although they are not actually added to cart.  There is the test case: 1. Add product from vendor 1 - Success msg 2. Add product from vendor 2 - Success msg 3. Only product from Vendor 1 is in the cart and no error msg Files 4 and 5 - configuration  If needed I may provide access to bachend.  Regards")* was created by *[filiar](/forum/user/33070-filiar "View filiar's Profile")*

-- HikaShop version -- : 2.6.1
-- HikaMarket version -- : 1.6.7

Hi,

I've set Limit vendors in cart to **One vendor**
When adding products from different vendors, no error is shown, although they are not actually added to cart.

There is the test case:
1. Add product from vendor 1 - Success msg
2. Add product from vendor 2 - Success msg
3. Only product from Vendor 1 is in the cart and no error msg
Files 4 and 5 - configuration

If needed I may provide access to bachend.

Regards

- [ ![successADDtoCart.jpg](/forum/attachment/29251) ](/forum/attachment/29251 "...sADDtoCart.jpg") [ ](/forum/attachment/29251?download=1 "...sADDtoCart.jpg")
- [ ![product2Added.jpg](/forum/attachment/29252) ](/forum/attachment/29252 "product2Added.jpg") [ ](/forum/attachment/29252?download=1 "product2Added.jpg")
- [ ![checkout.jpg](/forum/attachment/29253) ](/forum/attachment/29253 "checkout.jpg") [ ](/forum/attachment/29253?download=1 "checkout.jpg")
- [ ![vendor.jpg](/forum/attachment/29254) ](/forum/attachment/29254 "vendor.jpg") [ ](/forum/attachment/29254?download=1 "vendor.jpg")
- [ ![vendor2.jpg](/forum/attachment/29255) ](/forum/attachment/29255 "vendor2.jpg") [ ](/forum/attachment/29255?download=1 "vendor2.jpg")

Last edit: 10 years 9 months ago by [filiar](/forum/user/33070-filiar "View filiar's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg4MjAxNy1vbmUtdmVuZG9yLWFkZC10by1jYXJ0LWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 9 months ago [\#228538](#228538) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[One Vendor add to cart issue](/forum/22-market-bug-report/882017-one-vendor-add-to-cart-issue#228538 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7  Hi,  I've set Limit vendors in cart to One vendor When adding products from different vendors, no error is shown, although they are not actually added to cart.  There is the test case: 1. Add product from vendor 1 - Success msg 2. Add product from vendor 2 - Success msg 3. Only product from Vendor 1 is in the cart and no error msg Files 4 and 5 - configuration  If needed I may provide access to bachend.  Regards")*

Hi,

In fact, one error should be shown but depending your HikaShop configuration, it is possible to have some cases when it does not work properly.

Because you are using the "add to cart popup", that popup is always display to the customer ; even if the product is not added to the cart.
That is an issue in the HikaShop cart system that I have fixed with the refactoring in HikaShop 3.
HikaMarket uses an HikaShop trigger to authorize or refuse the addition of the product in the cart ( onAfterProductQuantityCheck ) ; that trigger is in the cart class for the function which verify the limits (min/max per order, product limits, etc).
Thanks to that trigger, HikaMarket can change the product quantity but, HikaShop will still consider that the product has been added to the cart for the "popup" part. Some Joomla message will be added saying that the "limitation has been reached".

You will have the exact same displaying issue if you set a limitation on the product and you reach it.

That's why for the refactoring in HikaShop 3 ; I rewrote the entire structure of the cart system in order to allow new features and change how the "add to cart popup" is made.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg4MjAxNy1vbmUtdmVuZG9yLWFkZC10by1jYXJ0LWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

10 years 9 months ago [\#228561](#228561) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  Replied by *[filiar](/forum/user/33070-filiar "View filiar's Profile")* on topic *[One Vendor add to cart issue](/forum/22-market-bug-report/882017-one-vendor-add-to-cart-issue#228561 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7  Hi,  I've set Limit vendors in cart to One vendor When adding products from different vendors, no error is shown, although they are not actually added to cart.  There is the test case: 1. Add product from vendor 1 - Success msg 2. Add product from vendor 2 - Success msg 3. Only product from Vendor 1 is in the cart and no error msg Files 4 and 5 - configuration  If needed I may provide access to bachend.  Regards")*

If I understand correctly this issue won't be present in HS3. And this should be Ok for us, as far as we are still on developement.

Any Idea about when should we expect HS3?

Kind Regards Again!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg4MjAxNy1vbmUtdmVuZG9yLWFkZC10by1jYXJ0LWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

10 years 9 months ago [\#228564](#228564) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  Replied by *[filiar](/forum/user/33070-filiar "View filiar's Profile")* on topic *[One Vendor add to cart issue](/forum/22-market-bug-report/882017-one-vendor-add-to-cart-issue#228564 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7  Hi,  I've set Limit vendors in cart to One vendor When adding products from different vendors, no error is shown, although they are not actually added to cart.  There is the test case: 1. Add product from vendor 1 - Success msg 2. Add product from vendor 2 - Success msg 3. Only product from Vendor 1 is in the cart and no error msg Files 4 and 5 - configuration  If needed I may provide access to bachend.  Regards")*

And if I may propose a solution that you maybe allready have in mind.

You may think of adding products from different vendors to cart and grouping them for each vendor just as it is done in Aliexpress for example.

This will be of a great ease for the customer because he will be able to first select all that he wants and then finalize orders for each of the vendors.

Regards.

- [ ![ali.jpg](/forum/attachment/29260) ](/forum/attachment/29260 "ali.jpg") [ ](/forum/attachment/29260?download=1 "ali.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg4MjAxNy1vbmUtdmVuZG9yLWFkZC10by1jYXJ0LWlzc3VlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 9 months ago [\#228567](#228567) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[One Vendor add to cart issue](/forum/22-market-bug-report/882017-one-vendor-add-to-cart-issue#228567 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7  Hi,  I've set Limit vendors in cart to One vendor When adding products from different vendors, no error is shown, although they are not actually added to cart.  There is the test case: 1. Add product from vendor 1 - Success msg 2. Add product from vendor 2 - Success msg 3. Only product from Vendor 1 is in the cart and no error msg Files 4 and 5 - configuration  If needed I may provide access to bachend.  Regards")*

Hi,

Yes ; that's one of the many goals in HikaShop 3.
With the new cart and checkout structures ; we want to propose more feature and to allow components to do more stuff ; like changing the targeted cart when a product is added to the cart. Or to propose a dynamic checkout where the cart could be another than the current one.
These won't arrive at the beginning but the new structure will allow us to do so at terms in our components (HikaMarket, HikaAuction, etc).

Now the project is still on development ; some parts are nearly finished and currently under testing ; some parts will require a little more time.
It is a huge development that we started and even if the major part is done, there is still to do and to test.
And due to some retro-compatibility breaks ; we will release a beta version, like we did for HikaShop 2.0
But, I'm not able to provide any schedule ; I'm not in charge of the project anymore to be able to re-focus on my components.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg4MjAxNy1vbmUtdmVuZG9yLWFkZC10by1jYXJ0LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.056 seconds

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