More bugs found in MarketPress 3.0 beta 2

1. $mp->format_currency
format_currency is <strong>deprecated</strong> since version 3.0! Use mp_format_currency instead.

$mp->format_currency is deprecated, yet it still exists in these files:

marketpress\includes\common\payment-gateways\payfast.php:
marketpress\includes\common\shipping-modules\class-mp-shipping-api.php:
marketpress\includes\common\shipping-modules\mp-pickup.php:
marketpress\includes\common\shipping-modules\mp-table-quantity.php:

2. mp_main_site_id() no longer use in version 3.0, but still can be found in marketpress\includes\common\class-mp-cart.php

3. Error message in Shortcode builder lightbox

Notice: Trying to get property of non-object in marketpress\includes\admin\class-mp-shortcode-builder.php on line 308
Notice: Trying to get property of non-object in marketpress\includes\admin\class-mp-shortcode-builder.php on line 742

4. Using mp_list_products shortcode in non-store pages
It seems that the marketpress frontend css & js file didn't load in non store-related pages, and the product listing looks weird (see video: https://db.tt/E0CsnM7J). Also, mp-cart.js file didn't load in non store pages as well. Hence upon clicking the "add to cart" button, the "add-to-cart" ajax didn't triggered, instead it redirect user to the cart page.

5. shortcode mp_list_global_products can't display products by category anymore.

6. shortcode mp_global_categories_list returns only a list of local categories, and not global categories.

7. MarketPress related widgets MIA in version 3.0

These widgets are no longer available:
- Shopping Cart widget
- Product List
- Product Categories
- Product Tag Cloud
- Global Product List
- Global Product Categories
- Global Product Tag Cloud

8. Checkout form validation
Form validation won't work if CustomPress is activated. Here's the javascript error:
TypeError: d is undefined

9. Code suggestion on class-mp-checkout.php

Can we change line 404, from this:
return apply_filters( 'mp_checkout/address_fields', $html, $type );
to this:
return apply_filters( 'mp_checkout/address_fields', $html, $type , $value_only );

That way any hooks added to the filter will have access to all the values passed down.

Thanks.