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)
|
Version 9.0.4 I am not certain if this is something that can simply be fixed by modifying the view file, but is critical to us, and we cannot launch until fixed. Please see this post. https://www.ablecommerce...9-Version-9-0-5#post3649Please post a fix if it's something we can do ourselves - 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)
|
An update, as a business that deals strictly with B2B, nowhere in the checkout process, including checking out as a guest, is there an option for a company name. This is a serious issue for us, and we will be reaching out to a developer to fix this.
Please confirm that this is fixed in version 9.0.5.
Many 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)
|
Hi Ray,
- You need to log in as an admin - Enable CMS edit mode - From the top right corner of the 'Edit Bill Address' widget container, open the widget settings pop up - There you will find the option to display the company name
Hope it helps!
|
|
|
|
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)
|
OK, maybe I spoke too soon, trying to do this in the backend because we have CMS disabled. CMS for us is a pain in the butt. Is there a way to do this in the backend without using CMS?
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
You could change the code in the controller(s) For example, in public ActionResult EditBillAddress(EditBillAddressParams parameters)
Change ShowCompanyField = parameters.ShowCompanyField, to ShowCompanyField = true,
public ActionResult _EditAddressForm(int addressId, string returnOption = "", bool showCompanyName = false, bool showFaxNo = false) Change bool showCompanyName=true
If you don't want to change the controllers, you could change the view(s) Change something like @if (Model.ShowCompanyName) { <div class="form-group"> <label>@GetResourceString("retail.checkout._editaddressform.company_name")</label> @Html.TextBoxFor(model => Model.Company, new { @class = "form-control" }) </div> }
to @*@if (Model.ShowCompanyName)*@ { <div class="form-group"> <label>@GetResourceString("retail.checkout._editaddressform.company_name")</label> @Html.TextBoxFor(model => Model.Company, new { @class = "form-control" }) </div> @*}*@
There are several places- search for Company or CompanyName
|
|
|
|
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)
|
Hi Judy,
This is one of the areas that really needs improvement. I'm not a big fan of the CMS, so we turned it off. Obviously, when you make a change through the CMS, something in the database gets updated. I look for it, but I cannot find it.
You figured if you edit inner templates, all three of them, that would take care of the issue, it did not.
This setting need to be part of the backend admin, not hidden someplace that only those with the golden ring can find it. This is not logical, and it only hurts users trying to use this software.
I appreciate your input, since were going to have to rearrange the order of the fields. You also would figure that the billing layout, order of input values would match that of the shipping, it does not.
I love the software, but this part just makes no sense.
I appreciate your response, 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 shaharyar,
I have followed your suggestions to the letter and everything is working, but I have two questions which are essential to us.
#1. I had to use the CMS, as suggested to go to both the "Bill To" and "Ship To", and make the necessary changes. What area in the backend gets altered to reflect these changes. It's definitely not the inner templates. This is so I could better understand what's going on.
#2. The fields in the "Ship To" are not in the same order as the "Bill To", so I did a quick edit on the partial view. "_EditAddressForm.cshtml", and all is working. However, I dislike modifying files directly. So, I created under custom, a directory called checkout, and put a copy of the modified file there. However, the system is not picking it up, why? Isn't this what MVC is about?
I'm trying to better understand how you guys are applying MVC? - I appreciate your response, - thanks.
-Ray
|
|
|
|
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