FoxyCart / foxyshop

FoxyShop - WordPress plugin for FoxyCart
GNU General Public License v2.0
10 stars 8 forks source link

Update `orders.php` to only include `status_filter` if the store is 2.0 #70

Closed adamjudd closed 2 years ago

adamjudd commented 2 years ago

We recently added the status_filter=all filter for the orders.php API requests so that all transactions would be returned. This filter is only supported in 2.0 though, and so it was causing the page to not return any options for Foxy store versions 1.0 and 1.1.

We should update the code to only include that filter if the store version for FoxyShop is set to 2.0.