Jump to content

Edit History

marshallus

marshallus

Hi (sorry for bad english)

I explain what i want, i hope you can tell the better way to did it.

I want 3 links in the backoffice menu  for example :

- pending orders
- completed orders
- cancel orders

I manage to dit it, modify url link with javascript to add param to url (ex: filter=pending, filter=canceled).

I use hookActionAdminOrdersListingFieldsModifier to get a custom get url i put in javascript, and do the filter using Tools::getValue.
But as soon as i modify another filter the get param is deleted,....

Any idea?

 

marshallus

marshallus

Hi (sorry for bad english)

I explain what i want, i hope you can tell the better way to did it.

I want 3 links in the backoffice menu  for example :

- pending orders
- completed orders
- cancel orders

I manage to dit it, add modify url with javascript to add param to url (ex: filter=pending, filter=canceled).

I use hookActionAdminOrdersListingFieldsModifier to get a custom get url i put in javascript, and do the filter using Tools::getValue.
But as soon as i modify another filter the get param is deleted,....

Any idea?

 

marshallus

marshallus

Hi (sorry for bad english)

I explain what i want, i hope you can tell the better way to did it.

I want 3 links in the backoffice menu  for example :

- pending orders
- completed orders
- cancel orders

The best way, the only difference will be the filter on the status ?
I use hookActionAdminOrdersListingFieldsModifier to get a custom get url i put in javascript, and do the filter using Tools::getValue.
But as soon as i modify another filter the get param is deleted,....

Any idea?

 

×
×
  • Create New...