logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Joe Payne2  
#1 Posted : Friday, September 16, 2022 8:36:36 AM(UTC)
Joe Payne2

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/9/2018(UTC)
Posts: 564

Thanks: 122 times
Was thanked: 26 time(s) in 25 post(s)
Basket page is trying to combine products when it shouldn't be doing it on kit component choices.

Steps to reproduce with sample data:

Edit the Build A New Pet Care Package product in admin
Go to Kits tab
In the first component (Dogs), add existing product
Select Feathered Cat Pole and add it to the kit component

Save the product. Now you have the same product available as a choice in two different kit components.

Preview the product.

For the Dogs component, select Feathered Cat Pole.
For the Cats component, select Feathered Cat Pole.
Remaining component choices do not matter. Add the product to the basket.

Basket page will render and initially show Feathered Cat Pole twice. Once for Dogs, again for Cats.

Refresh the basket page. Now it only shows once.

Keep refreshing the page and you'll see it flip back and forth between showing Feathered Cat Pole once and then twice.

The basket Combine() routine is not behaving consistently, and not behaving properly with kit component choices that have the exact same name.

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Friday, September 16, 2022 12:54:59 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Joe,

I can reproduce the issue. That is strange for sure. I continued on to the next checkout page, and the item appears twice for the remaining checkout process and on the invoice as well. The Kit price is also correct in the basket.

Thanks for reporting this. However, we have completed the change set for the next version and the builds are going through final QA now, so if you need this fixed then we'll have to see about posting something here in the forums. Let me know, ok?
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Joe Payne2  
#3 Posted : Friday, September 16, 2022 1:08:20 PM(UTC)
Joe Payne2

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/9/2018(UTC)
Posts: 564

Thanks: 122 times
Was thanked: 26 time(s) in 25 post(s)
I appreciate the offer. We've got a fix in place that resolves it, no need to distract the team on our behalf.

The root issue is traced down deep into the code that wants to combine like products into a single basket item. It's combining based on product name only, which is fine for everything. Except kit components that generate multiple line items with identical names. We modified the basket page to simply render the quantity with the component name if it's greater than 1. So either way, the display is accurate to the shopper for that one page.

We also confirmed as you did the remaining checkout pages render accurately at all times.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.