<?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: Discount based on user role</title>
		<link>https://legacy.forums.gravityhelp.com/topic/discount-based-on-user-role</link>
		<description>Gravity Support Forums Topic: Discount based on user role</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 20:32:02 +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/discount-based-on-user-role" rel="self" type="application/rss+xml" />

		<item>
			<title>Alexander Kohl on "Discount based on user role"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/discount-based-on-user-role#post-248941</link>
			<pubDate>Sun, 12 May 2013 07:28:11 +0000</pubDate>
			<dc:creator>Alexander Kohl</dc:creator>
			<guid isPermaLink="false">248941@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I think I worked out half of how this can be done. I set the User Meta in the User Registration Settings to fill one field with the user role using wp_user_level. Will that work? Not sure as the user role is not set before the form is submitted...&#60;/p&#62;
&#60;p&#62;If that works, then I have the next question: Can I use IF THEN ELSE in a calculation field, e.g.&#60;br /&#62;
(IF {User Role:9}=&#34;Level1&#34; THEN &#34;10&#34; ELSE IF {User Role:9}=&#34;Level2&#34; THEN &#34;20&#34; ELSE IF {User Role:9}=&#34;Level3&#34; THEN &#34;30&#34; ELSE &#34;0&#34;) * ...&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Alexander
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alexander Kohl on "Discount based on user role"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/discount-based-on-user-role#post-248920</link>
			<pubDate>Sun, 12 May 2013 06:52:51 +0000</pubDate>
			<dc:creator>Alexander Kohl</dc:creator>
			<guid isPermaLink="false">248920@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there any way to base a price calculation field on the the user role of a logged in user?&#60;/p&#62;
&#60;p&#62;We want to give a 10% discount to our members in level 1, 20% to the members in level 2 and 30% to members in level 3.&#60;/p&#62;
&#60;p&#62;Any thoughts on how I could achieve that?&#60;br /&#62;
Alexander
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
