SMFHacks.com
SMF Store => Support => Topic started by: w5hro on December 18, 2014, 04:32:40 pm
-
Hi,
I recently updated to the newest Store version, but it gave me double "Store Paypal Address:" lines again within the Profile panel. I fixed this problem the last time it happened, but I cannot remember where the duplicate lines are that need to be removed. Which lines and in what file?
Attached below is a screenshot of what I am getting.
Thanks
-
In themes/default/profile.template
Find before
// Are there any custom profile fields - if so print them!
And remove
if (allowedTo('smfstore_userstore') == true || allowedTo('smfstore_manage') == true)
{
echo '
<dl>';
echo '
<dt>
<strong>', $txt['smfstore_paypal_address'], '</strong><br />
<span class="smalltext"></span>
</dt>
<dd>
<input type="text" name="default_options[store_storepaypal]" size="50" value="', $context['member']['options']['store_storepaypal'], '" />
</dd>';
echo '
</dl>';
}
-
Thanks, that worked...