Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

This document applies to Jamroom 2 only!
For current Jamroom 4 Documentation, visit the main Jamroom Documentation section.

Doing this will require modifications to some of the Jamroom core files, so please make sure you BACKUP your Jamroom PHP files before proceeding - that way any changes can be easily “undone”.

NOTE These instructions are for Jamroom 2.10 and newer only

  • open the jamroom/include/jamroom-theme.inc.php file with a text editor and look for the following lines of code:
'{ITEM_PAYPAL_FORM}' => "</form><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target=_blank>
<input type=hidden name=cmd value=_xclick>
<input type=hidden name=business value="{$row['item_email']}">
<input type=hidden name=item_name value="{$row['item_name']}">
<input type=hidden name=item_number value="{$row['item_number']}">
<input type=hidden name=amount value="{$row['item_cost']}">
<input type=hidden name=no_note value=1>
<input type=hidden name=currency_code value="{$row['item_ccode']}">
<input type=image src="{$jamroom['jm_htm']}/themes/{$_theme['theme_dir']}/images/buy_now.gif"
border=0 name=submit alt="Click here to purchase {$row['item_name']}">"

The part we are interested in changing is the “{$row[’item_email’]}” section, part of the way in to that string. Simply change it to the PayPal email address you want to use for ALL your artists:

'{ITEM_PAYPAL_FORM}' => "</form><form action="https://www.paypal.com/cgi-bin/webscr" method="post" target=_blank>
<input type=hidden name=cmd value=_xclick>
<input type=hidden name=business value="bigguy@jamroom.net">
<input type=hidden name=item_name value="{$row['item_name']}">
<input type=hidden name=item_number value="{$row['item_number']}">
<input type=hidden name=amount value="{$row['item_cost']}">
<input type=hidden name=no_note value=1>
<input type=hidden name=currency_code value="{$row['item_ccode']}">
<input type=image src="{$jamroom['jm_htm']}/themes/{$_theme['theme_dir']}/images/buy_now.gif"
border=0 name=submit alt="Click here to purchase {$row['item_name']}">"

I’ve modified it to “bigguy@jamroom.net” in the above code, but obviously you will want to change it to your own e-mail 1) Once done, save your changes to the file.

  • Next, open the jamroom/store.php file, and search for this bit of code:
jmInput("{$language['store'][11]}",'item_email','text',$_show['item_email']);

Change it to:

#jmInput("{$language['store'][11]}",'item_email','text',$_show['item_email']);

(i.e. put a pound sign ‘#’ in front of the line so it will be commented out).

  • If you already have artist pages, you can run the “Generate All” command from the Admin Menu to rebuild your artist pages (Admin MenuToolsRegenerate Artist Themes)

Thats it - now any purchase from an artist page on your site will go through the PayPal email address you entered in step 1, and the Artists will no longer have the ability to put their own email address in.

1) that is unless you would like me to get all of your payments - really, I don’t mind

Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network