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 Payne @ Solunar  
#1 Posted : Wednesday, February 23, 2022 3:35:54 PM(UTC)
Joe Payne @ Solunar

Rank: Member

Groups: Developers, Registered, HelpDesk
Joined: 11/7/2018(UTC)
Posts: 23

Thanks: 5 times
I tested this is both 9.0.4 and 9.0.5 default installs with sample data

Problem:

When editing the choices on a product option from the Options tab, the page is wiping out the sku modifier values if the SKU column is not selected as visible when Save and Close is clicked.

Steps to reproduce:

Launch a default install with sample data
Go into Catalog/Products
Find the Cat or Dog Bowls product. Edit it.
Click the Options tab.
Find the 2nd option 'Bowl Sizes'. Click Manage Choices button on the right for this option.
On initial load, the SKU column is not checked and not visible.
Check the SKU column and click Show Fields To Edit. The SKU column now renders.
Populate the Sku column for every choice. I used '-S', '-M', '-L' and '-XL'
Click Save and Close

You're back on the Options tab. Click Manage Choices again on the Bowl Sizes option.
Uncheck SKU column, then click Show Fields To Edit to apply. The SKU column disappears.
Now click Save and Close.

You just wiped out all of the sku modifiers you previously set.

Click Manage Choices, show the SKU column and you'll see all of the sku modifiers are now gone. Permanently.

Since SKU is not a default selected column during initial page load, this happens on every product you need to update but did not include SKU in the fields to edit. So you have no idea the page is blowing away all of your sku modifiers until hours, days or weeks later.

Edited by user Wednesday, February 23, 2022 3:36:31 PM(UTC)  | Reason: Not specified

Joe Payne, AbleMods Hosting LLC
https://www.ablemodshosting.com

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

shaharyar  
#2 Posted : Thursday, February 24, 2022 4:04:01 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi Joe,

I am able to reproduce the issue. Thanks for pointing this out.

I am registering this issue which will be fixed in the upcoming release.

Regards
thanks 1 user thanked shaharyar for this useful post.
Joe Payne @ Solunar on 2/25/2022(UTC)
judy at Web2Market  
#3 Posted : Thursday, February 24, 2022 6:38:47 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Authorized User
Joined: 11/7/2018(UTC)
Posts: 289

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
Please check with all the fields. We just had a client have variant weights disappear and I just tested by not displaying the weight and saving the choices and it wiped out the weight.
shaharyar  
#4 Posted : Thursday, February 24, 2022 7:29:08 AM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi Judy,

Thanks for the details. We will surely take care of all fields while fixing this issue.

Regards
Joe Payne @ Solunar  
#5 Posted : Thursday, February 24, 2022 12:36:26 PM(UTC)
Joe Payne @ Solunar

Rank: Member

Groups: Developers, Registered, HelpDesk
Joined: 11/7/2018(UTC)
Posts: 23

Thanks: 5 times

One thing to consider in this routine:

The code is written to persist the selected columns for the user. That's a handy feature. But, it adds the productId to the key when saved to user.Settings(). That means the column settings will only ever persist for that one single product. Pulling up a different product will result in the user reverting to the default two columns again.

It be more useful for the user to have the settings stay regardless of which product they are viewing. Especially in a catalog with thousands of products. It's not like store admins go into that page on a daily basis so the likelihood of an admin benefiting of settings per-product is quite low.
Joe Payne, AbleMods Hosting LLC
https://www.ablemodshosting.com
Joe Payne @ Solunar  
#6 Posted : Tuesday, March 1, 2022 3:07:08 PM(UTC)
Joe Payne @ Solunar

Rank: Member

Groups: Developers, Registered, HelpDesk
Joined: 11/7/2018(UTC)
Posts: 23

Thanks: 5 times
Also note the Manage Variants page uses the same design for show/hide columns. This page should be double-checked as well.
Joe Payne, AbleMods Hosting LLC
https://www.ablemodshosting.com
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.