This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- add the following to csproj file --> | |
| <Content Include="bin\ucommerce\**"> | |
| <Link>ucommerce\%(RecursiveDir)%(Filename)%(Extension)</Link> | |
| <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
| </Content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Go to uCommerce > Orders > Search. | |
| In the console, choose right(search.aspx) as the target, and run the following code. | |
| */ | |
| $("#orderTable tbody tr").each(function() { | |
| if ($(this).children("td:last-child").text() == "0" || $(this).children("td:last-child").text() == "0,00") { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Examine; | |
| namespace MyNamespace | |
| { | |
| public static class ExamineExtensions | |
| { | |
| public static string GetFieldValue(this SearchResult searchResult, string key, string fallback = "") | |
| { | |
| if (searchResult.Fields.Keys.Contains(key)) | |
| { |
NewerOlder