CoreΒΆ

plata.product_model()[source]

Return the product model defined by the PLATA_SHOP_PRODUCT setting.

plata.shop_instance()[source]

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

plata.stock_model()[source]

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