<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.spiffystores.com.au/kb/index.php?action=history&amp;feed=atom&amp;title=Liquid_Template_Variables_-_discount</id>
	<title>Liquid Template Variables - discount - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.spiffystores.com.au/kb/index.php?action=history&amp;feed=atom&amp;title=Liquid_Template_Variables_-_discount"/>
	<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=Liquid_Template_Variables_-_discount&amp;action=history"/>
	<updated>2026-06-09T18:33:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://www.spiffystores.com.au/kb/index.php?title=Liquid_Template_Variables_-_discount&amp;diff=5929&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;A &#039;&#039;&#039;discount&#039;&#039;&#039; represents single discount that has been applied to an order.  == &lt;code&gt;discount.code&lt;/code&gt; ==  Returns the code used for the discount.  &lt;pre&gt; {{ discount.co...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.spiffystores.com.au/kb/index.php?title=Liquid_Template_Variables_-_discount&amp;diff=5929&amp;oldid=prev"/>
		<updated>2016-02-12T03:10:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;A &amp;#039;&amp;#039;&amp;#039;discount&amp;#039;&amp;#039;&amp;#039; represents single discount that has been applied to an order.  == &amp;lt;code&amp;gt;discount.code&amp;lt;/code&amp;gt; ==  Returns the code used for the discount.  &amp;lt;pre&amp;gt; {{ discount.co...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;discount&amp;#039;&amp;#039;&amp;#039; represents single discount that has been applied to an order.&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;code&amp;gt;discount.code&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Returns the code used for the discount.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ discount.code }} =&amp;gt; &amp;#039;SELLOUT10&amp;#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;code&amp;gt;discount.savings&amp;lt;/code&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
Returns the amount of the discount that has been applied to the order. A money filter can be used to return the value as a monetary amount.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ discount.savings | money }} =&amp;gt; $45.21&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>