This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
<script src="lodash.min.js"></script> | |
<script> | |
function normalizeGqlName(enumName, itemName) { | |
return _.snakeCase(enumName).toUpperCase() + "_" +_.snakeCase(itemName).toUpperCase(); | |
} |
This file contains 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 Dynamicweb.Ecommerce.Products; | |
using System; | |
using System.Collections.Generic; | |
namespace Dynamicweb.Education.Ecommerce | |
{ | |
public class FieldsDisplayGroupRenderer | |
{ | |
public string Render(ProductInfo[] products, int displayGroupId) | |
{ |
This file contains 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 Dynamicweb.Ecommerce.Products; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Dynamicweb.Education.Ecommerce | |
{ | |
public class CategoryFieldsRenderer | |
{ | |
public string Render(IEnumerable<ProductInfo> products, string categoryId) |