Rank: Newbie
Groups: Authorized User
Joined: 12/1/2022(UTC) Posts: 0
|
I want to change the text and add a link to the receipt page. I cannot find the template. Any suggestions?
|
|
|
|
Rank: Advanced Member
Groups: Developers
Joined: 11/7/2018(UTC) Posts: 303
Thanks: 21 times Was thanked: 5 time(s) in 5 post(s)
|
A lot of times, it is hard to find things in AC9. Usually I start with Control-Shift-F in Visual Studio. If I can't find it there, the text might be in the language resources.I sometimes right click in the browser, examine, and look for the class assigned to the element. The receipt page top is Views/Checkout/_InvoiceHeading.cshtml. It contains links to other partial views used on the receipt page.
|
|
|
|
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)
|
Generally, to make changes, you should try to trace the widget in which you want to make a change. In this case:
As an admin login, go to the receipt page and enable CMS editing. (from right middle toggle control) There are two widgets placed on this page. 1- Invoice Heading 2- Order Details
If you find the widget names in the project, you can get the controller file reference where the Widget name is specified in the RegisterWidget action attribute. Going from there you can trace the view file path and make updates accordingly.
.Net MVC Pattern knowledge is a must!
Hope this helps!
|
|
|
|
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