CoreΒΆ

plata.product_model()

Return the product model defined by the PLATA_SHOP_PRODUCT setting.

plata.shop_instance()

This method ensures that all views and URLs are properly loaded, and returns the centrally instantiated plata.shop.views.Shop object.

plata.stock_model()

Return the stock transaction model definded by the PLATA_STOCK_TRACKING_MODEL setting or None in case stock transactions are turned off.