PricelistSiteTreeExtension::AllPricelists
Returns this page's pricelists rendered into a string. This is a fast way to include pricelists in page templates by calling just $AllTemplates in Page.ss or other template.
If you want to customise stuff and iterate the lists yourself, use Pricelists instead: <% loop $Pricelists %> <%-- Note that we are using $Pricelists here instead of $AllPricelists! --%> <%-- Do your stuff here --%> $me <%-- Renders a pricelist --%> <%-- Do your stuff here --%> <% end_loop %>
Signature
public function AllPricelists()
Returns
- HTMLText