AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce Gold and older versions only
»
Creating new basketItem some products only incrementing the product Qty not a separate cart item.
Rank: Newbie
Groups: HelpDesk
Joined: 9/15/2020(UTC) Posts: 4
|
Able Gold v 7.0.92 DEV In going over this numerous times and also checking the DB I have the following conclusions and issues when trying to add certain items to the cart.. Problem: Creating new basketItem for a few products is just incrementing the Count for that product instead of a separate cart item. We need these separated since they belong together. E.g. A label can have a Signature option and if they delete that item we need to delete the label . Works except if you duplicate a signature option within one order. Why is this happening? 1) The Cart count at top shows the correct basketitem count 2) The Cart total has the correct charge for two Sig Options but just displays the 1 count in the mini basket and when you actually go to the cart. 3) We do not get this behavior for a duplicate regular label (e.g. Standard Overnight). They have separate basketIDs but SigOpts just increase the count even though it executes the same line to alwaysCreateNew for the basket. 4) The DB for this Basket shows a 2 in the Adult Sig opt for my test the one I duplicated. See the attached Word Doc for screen shots. Suggestions on how to always get a separate basketitem for duplicate signature options. Thanks in advance for your thoughts. In going over this numerous times and also checking the DB I have the following conclusions and issues.docx (64kb) downloaded 1 time(s).
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
When you say duplicate signature options, are these Product Options? Kits? Template fields? I haven't tested in AC9, but in latest version of Gold, if you add an entry to the customfields field in ac_basket items, it wouldn't combine the items, if all else fails for you.
|
|
|
|
Rank: Newbie
Groups: HelpDesk
Joined: 9/15/2020(UTC) Posts: 4
|
Hi, thanks for replying. I have figured it out. Since we were adding a second basketitem under certain cases, the second add was not setting the LineMessage so it was adding to the Qty of the redundant SKU. Didn't realize they were connected. Anyway, I initialized this second basketitem as follows: SigBasketItem.LineMessage = DateTime.UtcNow.ToString(); and now they are showing up n the cart correctly. These are all Ghost products and not kits. Thanks again for looking and hopefully this helps someone else.
Rich
|
|
|
|
AbleCommerce Forums
»
AbleCommerce
»
AbleCommerce Gold and older versions only
»
Creating new basketItem some products only incrementing the product Qty not a separate cart item.
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.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close