/AdicionarProductoGratisAction.cs Secret
Last active
January 12, 2018 19:44
Star
You must be signed in to star a gist
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
// 1 | |
using Sitecore.Framework.Rules; | |
namespace MiTienda.Commerce.Plugin.Custom.Actions | |
{ | |
// 2 | |
[EntityIdentifier("Adicionar producto [especificado] gratuitamente")] | |
// 3 | |
public class AdicionarProductoGratisAction : IAction | |
{ | |
// 4 | |
public IRuleValue<string> TargetItemId { get; set; } | |
// 5 | |
public void Execute(IRuleExecutionContext context) | |
{ | |
// Implementación de la acción | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment