Files
mixtape/zero.Debug/Models/SalesChannelRenderer.cs
T

47 lines
1.5 KiB
C#
Raw Normal View History

2020-06-03 15:16:43 +02:00
//using zero.Commerce.Entities;
//using zero.Core.Renderer;
//using zero.Debug.Models;
2020-05-19 14:42:51 +02:00
2020-06-03 15:16:43 +02:00
//namespace zero.Commerce.Backoffice
//{
// public class SalesChannelRenderer : AbstractRenderer<SalesChannel>
// {
// public SalesChannelRenderer() : base()
// {
2020-05-19 14:42:51 +02:00
2020-06-03 15:16:43 +02:00
// Field(x => x.Name, required: false).Text();
2020-05-19 14:42:51 +02:00
2020-06-03 15:16:43 +02:00
// //Field(x => x.Name, "@ui.name", required: true, noDescription: true).Text();
2020-05-19 14:42:51 +02:00
2020-06-03 15:16:43 +02:00
// //Field(x => x.CheckoutType).State(opts =>
// //{
// // opts.Add("@channel.checkout_states.none", ChannelCheckoutType.None);
// // opts.Add("@channel.checkout_states.order", ChannelCheckoutType.Order);
// // opts.Add("@channel.checkout_states.request", ChannelCheckoutType.Request);
// // opts.Add("@channel.checkout_states.both", ChannelCheckoutType.All);
// //});
// //Field(x => x.ProductSorting).State(opts =>
// //{
// // opts.Add("@channel.sorting_states.relevance", ChannelProductSorting.Relevance);
// // opts.Add("@channel.sorting_states.new", ChannelProductSorting.New);
// // opts.Add("@channel.sorting_states.price", ChannelProductSorting.Price);
// //});
2020-05-19 14:42:51 +02:00
2020-06-03 15:16:43 +02:00
// //Tab("@channel.tabs.theme", () =>
// //{
// // Field(x => x.Theme.ImageId, required: true).Text();
// //});
2020-05-19 14:42:51 +02:00
2020-06-03 15:16:43 +02:00
// //Tab("@channel.tabs.settings", () =>
// //{
// // Field(x => x.ClientNo).Text();
// // Field(x => x.SortLetter).Text(opts =>
// // {
// // opts.Classes.Add("is-short");
// // opts.MaxLength = 1;
// // });
// //});
// }
// }
//}