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
bstephen92224574420  
#1 Posted : Wednesday, December 7, 2022 2:06:59 PM(UTC)
bstephen92224574420

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?

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

judy at Web2Market  
#2 Posted : Thursday, December 8, 2022 6:09:51 AM(UTC)
judy at Web2Market

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.
shaharyar  
#3 Posted : Thursday, December 15, 2022 9:22:54 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)
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!


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.