manakke Posted November 2, 2021 Share Posted November 2, 2021 (edited) Hola, alguien sabe como se puede hacer para que una etiqueta se muestre a un grupo de clientes concreto en el modulo Stickers de Panda? Asignar etiquetas y pegatinas a determinados clientes. Quote Hello, Does anyone know how to get a label to be shown to a specific group of customers in the Stickers module of Panda "Stickers Block"? Faltaría hacer la función para lanzar la consulta y validar para hacer solo visible el sticker a un grupo de clientes: <select name="sticker_group" class=" fixed-width-xl" id="sticker_group"> <option value="0" selected="selected">Todos los Clientes</option> <option value="1">Visitantes</option> <option value="2">Invitado</option> <option value="3">Cliente</option> </select> Como se debe hacer la consulta? self::$group = array( 0 => array( 'id' => 0, 'value' => 0, 'name' => $this->getTranslator()->trans('Todos los Clientes', array(), 'Modules.Ststickers.Admin'), ), 1 => array( 'id' => 1, 'value' => 1, 'name' => $this->getTranslator()->trans('Visitantes', array(), 'Modules.Ststickers.Admin'), ), 2 => array( 'id' => 2, 'value' => 1, 'name' => $this->getTranslator()->trans('Invitado', array(), 'Modules.Ststickers.Admin'), ), 3 => array( 'id' => 3, 'value' => 1, 'name' => $this->getTranslator()->trans('Cliente', array(), 'Modules.Ststickers.Admin'), ), ); Edited November 4, 2021 by manakke (see edit history) Link to comment Share on other sites More sharing options...
juanrojas Posted November 2, 2021 Share Posted November 2, 2021 hola alli en el pantallazo dice mostrar a grupo de clientes, selecciona el que quieres y ya esta Link to comment Share on other sites More sharing options...
manakke Posted November 2, 2021 Author Share Posted November 2, 2021 Hola juanrojas! si, lo he creado yo, esto no viene por defecto en el modulo. Falta ver como enlazar para que funcione. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now