Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Just a reminder of an issue that's very important to us. Please see the picture enclosed, as you can see when you have a product template that involves multiple selections, they are not being displayed properly. Beside the lack of space between values, it seems to be breaking the default template. Be aware that I have tried to add on the option value a leading space, but apparently when you save the template, the system will trim the leading space. AC-Problem.jpg (680kb) downloaded 11 time(s).I hope this picture helps in identifying the problem. Many thanks
|
|
|
|
Rank: Advanced Member
Groups: Admin, Administrators, Developers, Registered, HelpDesk, Authorized User Joined: 7/31/2019(UTC) Posts: 77
Was thanked: 8 time(s) in 8 post(s)
|
Hi,
Please share the product template admin side configurations as well.
Thanks, Naveed Ashraf |
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
AC-Problem-2.jpg (623kb) downloaded 11 time(s).
|
|
|
|
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, You have identified this issue in another post and we have already fixed the issue is our upcoming release. To make the fix in your current install I am sharing the fix here. 1- Please open file: ~\Website\Areas\Admin\Controllers\ProductController.cs 2- Search this line Code:return string.Join(",", values.ToArray());
3- Replace it with Code:return string.Join(", ", values.ToArray());
4- Now again assign the values from the admin Edit Product screen and you will see the spaces after the comma. Please note that this is a controller code change and you will need to compile the code.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
I know you guys are busy with a lot of things but just to let you know this issue is still not fixed under Version: 9.0.2.6218.
Thanks
|
|
|
|
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)
|
Can you please confirm if there is still issue with the same configuration as you mentioned in the first post. i-e in the case of multiple list box option. We fixed this issue and I have confirmed once again but the fix is missed for Checkbox selection. You must have found this issue in the checkbox option.
Can you please confirm.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Yes I am confirming that this issue has NOT been fixed.
|
|
|
|
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)
|
Reported as a bug not fixed.
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Hello Shari,
I decided to go ahead and make the changes that were suggested in this post. That will fix the display issue on the front end, but creates a secondary issue on the backend. Going into the backend will now only display your first value and completely ignore anything after that, you should be able to produce this with no difficulties.
Stay safe, -Ray
|
|
|
|
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)
|
Can you please share the line number of ProductController.cs file you updated?
Meanwhile, I am trying to reproduce the issue.
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Line 5424 BackEnd.jpg (598kb) downloaded 2 time(s). FrontEnd.jpg (667kb) downloaded 2 time(s).
|
|
|
|
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)
|
Thanks for the screenshots. Yes, I am able to reproduce the issue. The fix made was missing the admin side handling. I am sharing the fix for you to make it work on your install. 1- Find in ~/Areas/Admin/Controllers/ProductController.cs Code:List<string> SelectedValue = selectedValue.Split(',').ToList<string>();
2- Replace it with Code:List<string> SelectedValue = selectedValue.Replace(", ", ",").Split(',').ToList<string>();
3- Build the project Please share the ablecommerce version you are using right now. 9.0.2.version??
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Yes, 9.0.2 - Will Build latter and let you know - thanks
Stay Safe, -Ray
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Follow-up on the above topic. I have made the changes to the file and compiled. All is working perfectly, many thanks for your assistance.
-Ray
|
|
|
|
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)
|
Can you please share the sub version. like it should be Version: 9.0.2. 6167
|
|
|
|
Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
|
|
|
|
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