<?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: Cart final price, help</title>
		<link>https://legacy.forums.gravityhelp.com/topic/cart-final-price-help</link>
		<description>Gravity Support Forums Topic: Cart final price, help</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 20:34:27 +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/cart-final-price-help" rel="self" type="application/rss+xml" />

		<item>
			<title>imregabri on "Cart final price, help"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cart-final-price-help#post-9952</link>
			<pubDate>Thu, 16 Sep 2010 11:03:29 +0000</pubDate>
			<dc:creator>imregabri</dc:creator>
			<guid isPermaLink="false">9952@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The URL: &#60;a href=&#34;http://www.piszkosfred.com.datasphere.hu/piszkos-fred-a-kapitany-tarsasjatek/&#34; rel=&#34;nofollow&#34;&#62;http://www.piszkosfred.com.datasphere.hu/piszkos-fred-a-kapitany-tarsasjatek/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#34;Kosárba&#34; means Add to cart. It's hungarian.&#60;/p&#62;
&#60;p&#62;Thanks for any help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>imregabri on "Cart final price, help"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cart-final-price-help#post-9946</link>
			<pubDate>Thu, 16 Sep 2010 10:34:34 +0000</pubDate>
			<dc:creator>imregabri</dc:creator>
			<guid isPermaLink="false">9946@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Greetings,&#60;/p&#62;
&#60;p&#62;I have a simple one product page. It has an input field with quantity. When it submited, it takes me to another page, let's call it cart.&#60;/p&#62;
&#60;p&#62;The cart page has GF(name, telephone, addresses etc.). It also has a hidden field, populated dynamically. Parameter name: finalprice. I would like to populate this hidden field with a function, which has an input parameter $qty, and output $qty * $price = 1000. Like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
function populate_finalprice($qty){&#60;br /&#62;
  $price = 1000;&#60;br /&#62;
  return ($qty * $price);&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;How should I use the add_filter or anything else GF functions, because this one is not working:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;br /&#62;
add_filter(&#34;gform_field_value_finalprice&#34;, &#34;populate_finalprice&#34;, 10, 1);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Thanks for any help.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
