ajaxCart template files - ADA

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi All,

When running my site through an ADA scanner, the "close" link on the ajaxCart modal comes up as a level A issue because it has an empty link.  I have tried to locate the template files for the ajaxCart and have been unsuccessful.  Can anyone advise where these files are located?  See image for generated markup.  The link in question is highlighted in blue.



Thanks!

Kelly
5 years ago
agdev wrote:
Hi All,

When running my site through an ADA scanner, the "close" link on the ajaxCart modal comes up as a level A issue because it has an empty link.  I have tried to locate the template files for the ajaxCart and have been unsuccessful.  Can anyone advise where these files are located?  See image for generated markup.  The link in question is highlighted in blue.



Thanks!

Kelly


Hello Kelly,

you won't be able to find this particular piece of code in the AjaxCart plugin since it is dynamically created from the Kendo UI core javascript files. If you want to, you can edit this file kendo.window.min.js which is located here:

~ Presentation\Nop.Web\wwwroot\lib\kendo\2014.1.318

Have in mind that it is minified and this makes the readability harder. However, you can search in the file for this string:

<a role='button' href='\\#' class='k-window-action k-link'>

And it will lead you to the exact element you want to change.

Have in mind that in case you upgrade at some point in the future, you would need to merge your modifications again.

Hope this was helpful.
Have a nice day.

Valentin.
5 years ago
Hi Valentin!

Thank you very much for your quick and very helpful reply!  That was just what I needed!

Thanks!
Kelly
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.