Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how search / find product or others, with distinct option? #473

Open
soportenetsistemas opened this issue Apr 9, 2024 · 1 comment
Open

Comments

@soportenetsistemas
Copy link

Please consider making a Pull Request if you are capable of doing so.

If your problem is how to implement anything with PrestaSharp or make a question,
please, refer to our Slack# group with this request link:
https://join.slack.com/t/prestasharp/shared_invite/enQtNTM2OTI1OTg0NzUyLTY4NDdkZDFmY2EwMGE4MTMzZjk5YzZiMTk3MzUwNzUxNTdhMWEwZjFjNDJiZTIyMjI0MDM0NTcwMzIzNGI0Njc

What resource does this apply to?

Address? Carriers? Carts? Categories? ...

Description what you'd like to happen:

A clear description if the feature or behavior you'd like implemented.

Describe alternatives you've considered:

A clear description of any alternative solutions you've considered.

@soportenetsistemas
Copy link
Author

if (AñadeElPedidoNumero == -1)
{
txtUltimoPedido.Text = LastIDPedidoLeido.ToString();
LblPedido.Text = "Último pedido capturado: " + LastIDPedidoLeido.ToString();

 if (LastIDPedidoLeido != 0)
 {
     Dict.Add("id", "[" + (LastIDPedidoLeido + 1) + ",9999999999]"); // DEL ÚLTIMO EN ADELANTE
                                                                     // Dict.Add("id", "[>=" + (LastIDPedidoLeido + 1) + "]"); // DEL ÚLTIMO EN ADELANTE
                                                                     // Dict.Add("id", "[" + (LastIDPedidoLeido + 1) + ",0]"); // DEL ÚLTIMO EN ADELANTE
 }
 Ordenacion = "id_asc";

}
else
{
if (AñadeElPedidoNumero != 0)
{
Dict.Add("id", AñadeElPedidoNumero.ToString());
}

 if (Estado != 0)
 {
 
     if (Estado.ToString() == "999")
     {
         //Dict.Add("current_state", "!3");
     }
     else
 

         Dict.Add("current_state", Estado.ToString());
 }
 Ordenacion = "id_desc";

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant