Context processorsΒΆ

plata.context_processors.plata_context(request)[source]

Adds a few variables from Plata to the context if they are available:

  • plata.shop: The current plata.shop.views.Shop instance
  • plata.order: The current order
  • plata.contact: The current contact instance
  • plata.price_includes_tax: Whether prices include tax or not