<?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: Passing Shopp fields to Gravity Forms</title>
		<link>https://legacy.forums.gravityhelp.com/topic/passing-shopp-fields-to-gravity-forms</link>
		<description>Gravity Support Forums Topic: Passing Shopp fields to Gravity Forms</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:12:12 +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/passing-shopp-fields-to-gravity-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>Scott M. on "Passing Shopp fields to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-shopp-fields-to-gravity-forms#post-37495</link>
			<pubDate>Mon, 10 Oct 2011 19:37:22 +0000</pubDate>
			<dc:creator>Scott M.</dc:creator>
			<guid isPermaLink="false">37495@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, played with it a little more after the last post and have what I want out of it. I'm sure it could be cleaned up a bit as I have no knowledge of PHP, but for a monkey playing with powertools it does what I want.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.pastie.org/2674097&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2674097&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Shopp has the option of running with WordPress accounts, Separate from WordPress accounts, or with no accounts. So I tried to take into account ether type of user account.&#60;/p&#62;
&#60;p&#62;Will return the Shopp user first, last, and email address, with fallback to WordPress account information, or 'Not Logged In' if neither account is active.&#60;/p&#62;
&#60;p&#62;I've tested:&#60;br /&#62;
Logged Out &#38;gt; &#34;Not Logged In&#34;&#60;br /&#62;
WordPress Only &#38;gt; WP user info&#60;br /&#62;
Shopp Only &#38;gt; Shopp user info&#60;br /&#62;
WordPress and Shopp &#38;gt; Shopp user info
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Scott M. on "Passing Shopp fields to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-shopp-fields-to-gravity-forms#post-37487</link>
			<pubDate>Mon, 10 Oct 2011 16:47:49 +0000</pubDate>
			<dc:creator>Scott M.</dc:creator>
			<guid isPermaLink="false">37487@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've spent some time splunking around the Shopp code and have come to the same conclusion.&#60;/p&#62;
&#60;p&#62;The shopp() function would normally create a text field with the variable called pre-populating it, by adding the 'mode-value' argument it echos the variable as plaintext instead of an input field.&#60;/p&#62;
&#60;p&#62;I've been working on some more coding and ways to obtain the info I want - some of it may be useful to other Shopp / Gravity users.&#60;/p&#62;
&#60;p&#62;1) Returns login status of Shopp accounts, or WB / Integrated accounts as shopp_login&#60;br /&#62;
&#60;a href=&#34;http://www.pastie.org/2673207&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2673207&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;2) Returns the first name of the currently logged in Shopp account holder as shopp_fname&#60;br /&#62;
&#60;a href=&#34;http://www.pastie.org/2673202&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2673202&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Code 2 pulls it's info from the current Shopp session, but returns empty fields if the user is not logged in. I am working on code to check login status, pull the customer info from the Shopping data file if they are logged and the WP file if not, and eventually be able to pull transaction numbers for purchases to pre-populate RMA or complaint &#38;amp; review forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Passing Shopp fields to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-shopp-fields-to-gravity-forms#post-37458</link>
			<pubDate>Mon, 10 Oct 2011 12:20:03 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">37458@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Scott,&#60;/p&#62;
&#60;p&#62;It looks the the shopp() function is echoing the values to the page rather than returning them. I suspect the &#34;1&#34; you are seeing is the actual returned value from the shopp() function, indicating a successful call. Is there an option on the shopp() function to return the value instead of echoing it?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Scott M. on "Passing Shopp fields to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-shopp-fields-to-gravity-forms#post-37194</link>
			<pubDate>Wed, 05 Oct 2011 22:12:57 +0000</pubDate>
			<dc:creator>Scott M.</dc:creator>
			<guid isPermaLink="false">37194@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is more of a 'I don't know PHP that well' issue than a Gravity forms issue, but I've seen others ask this once or twice on the forums at both locations and never saw a definitive answer.&#60;/p&#62;
&#60;p&#62;I have followed the instructions on setting up the hooks in &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/right-parameter-names-to-pre-populate-the-names-fields#post-14044&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/right-parameter-names-to-pre-populate-the-names-fields#post-14044&#60;/a&#62;, instead of getting the first and last names in the fields, it's displaying the fields at the load point of the form, and then putting '1' in each field.&#60;/p&#62;
&#60;p&#62;The functions.php hooks: &#60;a href=&#34;http://www.pastie.org/2647238&#34; rel=&#34;nofollow&#34;&#62;http://www.pastie.org/2647238&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Results: &#60;a href=&#34;http://grab.by/b0Re&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/b0Re&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Just based on the results I would think it is some simple issue with the create_function echoing the results on execute instead of storing it in the variable, but I just can't see it...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
