<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Using $_GET for coupon codes. Show pre-discount price with a strike-through.</title>
		<link>https://legacy.forums.gravityhelp.com/topic/using-_get-for-coupon-codes-show-pre-discount-price-with-a-strike-through</link>
		<description>Gravity Support Forums Topic: Using $_GET for coupon codes. Show pre-discount price with a strike-through.</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:41:29 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/using-_get-for-coupon-codes-show-pre-discount-price-with-a-strike-through" rel="self" type="application/rss+xml" />

		<item>
			<title>phase00 on "Using $_GET for coupon codes. Show pre-discount price with a strike-through."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-_get-for-coupon-codes-show-pre-discount-price-with-a-strike-through#post-71409</link>
			<pubDate>Fri, 17 Aug 2012 02:02:36 +0000</pubDate>
			<dc:creator>phase00</dc:creator>
			<guid isPermaLink="false">71409@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there. &#60;/p&#62;
&#60;p&#62;I have a site that is using the auth.net plug-in to do some ticket sales handling. I added a $_GET['ccode'] to determine if a person has a valid coupon code or not. Originally, I was just &#60;code&#62;gform_pre_render&#60;/code&#62; the form based on whether this $_GET value was set or not. This can be seen here &#60;a href=&#34;http://pastebin.com/z2yrXUcW&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/z2yrXUcW&#60;/a&#62;. &#60;code&#62;isValidCCode&#60;/code&#62; simply checks the $_GET and checks it vs valid codes and returns true or false.&#60;/p&#62;
&#60;p&#62;Now, the problem I'm having is. My client requested me to display the ORIGINAL price on the form, with a strike through, and then the MODIFIED price afterwards. What would be the best way to go about doing this? Which hook affects the actual HTML output of the form fields (if any)? Would there be a better way to go about coupon codes? &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
