asheka Posted August 14, 2006 Share Posted August 14, 2006 ok,i am manually editing in information to a php script.[code]<?php/* $Id: affiliate_info.php,v 1.2 2004/03/05 00:36:42 ccwjr Exp $ OSC-Affiliate Contribution based on: osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 - 2003 osCommerce Released under the GNU General Public License*/define('NAVBAR_TITLE', 'Affiliate Program');define('HEADING_TITLE', 'Affiliate Program');define('HEADING_AFFILIATE_PROGRAM_TITLE', 'The ' . STORE_NAME . ' Affiliate Program');// Delete this line - or place two forward slashes before the word 'define'define('TEXT_INFORMATION', 'Your Affiliate Information Goes in /catalog/includes/languages/YOUR LANGUAGE/affiliate_info.php ');// define('TEXT_INFORMATION',' <DELETE THE BRACKETS AND ALL TEXT IN BETWEEN - PUT YOUR INFORMATION HERE>');?>[/code][b]This is the text i am tryng to put in in html form[/b][code]Why Become Our Affiliate?<br><br>Just by placing our banner link on your site, you have the opportunityto earn a generous 5% commission on valid sales. Commission size inpercentage means nothing if the average order value is low. But as ourproducts range from $15 to $50 and our average order is an impressive$100, even one sale made through our link can mean the beginning of agood and growing revenue stream for you. Becoming our Affiliate isfree, with no hidden charges. <br>You just place our links and we take care of the rest: We process theorder and handle all billing, shipment, customer service and technicalsupport for the customer and track your commissions for you. <br><br>And remember, the better positioning of our banner link on your sitedefinitely means greater profits for you! <br><br><br>We Offer: <br><br>5% commission. <br>999 day cookie. So if your customers come to us via our link on yoursite we will pay you commission, as long as they purchase within 999days after their first visit. We still pay if they come backtous directly via www.sporesandmore.com. <br><br> We continue to pay commissionfor repeat sales. <br>Varied selection of regularly updated banners for your site. We areconstantly offering promotions and launching new products to keep ourbanners and site fresh and appealing. <br><br>Check how you're doing at all times. As an Affiliate, you have accessto your account 24/7. You can view your commissions in real time, andview a report of your total sales daily, weekly, monthly, or yearly.You will be able to create and download hyperlinks for your website.Your account is secure and is password protected. <br><br>Earn 5% Commission On All Sales<br><br>Sometimes people don’t buy on the first visit and only laterreturn to our store to make a purchase. As long as they came to usthrough your Affiliate Link, you still earn commission when theybuy. Commission will be credited to your affiliate accountforALLtransactions made, even if the visitor returns directly to thesporesandmore website. That means that if a visitor is referred fromyour site and buys something later - you will still get paid.<br><br><br>When Will You Get Paid?<br><br>You will get paid monthly, IF your commission is at $20.00, <br>If under $20.00 the total will roll over till the next month<br>At this time, your payment will be money order, but in time we will bealso paying in paypal.<br><br><br>How To Join<br><br>It’s simple and easy to join. <br><br>1) Read And Agree To Our <a href="http://www.sporesandmore.com/affiliate_terms.php">AffiliateTerms And Conditions</a><br><br>2) Fill in the <a href="http://www.sporesandmore.com/affiliate_signup.php">registration form. </a><br><br>You will then receive a confirmation email, simply click the link to<a href="http://www.sporesandmore.com/affiliate_affiliate.php">login to your account. </a><br>After logging in, put our links in your website. <br><br>After You Join<br><br>After joining, you'll get ads, listings, and banners you can add toyour website and send to your contacts, customers, and friends. <br>Everything they buy from us will earn the 5% commission.<br><br><br>Need More Information?<br><br>If you have any questions <a href="http://www.sporesandmore.com/contact_us.php"> ContactUs!</a><br>[/code]I get as far as the example below, and if i add anymore text ( no matter what i do) i get an error @ around line 52-56[code]<?php/* $Id: affiliate_info.php,v 1.2 2004/03/05 00:36:42 ccwjr Exp $ OSC-Affiliate Contribution based on: osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 - 2003 osCommerce Released under the GNU General Public License*/define('NAVBAR_TITLE', 'Affiliate Program');define('HEADING_TITLE', 'Affiliate Program');define('HEADING_AFFILIATE_PROGRAM_TITLE', 'The ' . STORE_NAME . ' Affiliate Program');// Delete this line - or place two forward slashes before the word 'define'define('TEXT_INFORMATION', 'Why Become Our Affiliate?<br><br>Just by placing our banner link on your site, you have the opportunityto earn a generous 5% commission on valid sales. Commission size inpercentage means nothing if the average order value is low. But as ourproducts range from $15 to $50 and our average order is an impressive$100, even one sale made through our link can mean the beginning of agood and growing revenue stream for you. Becoming our Affiliate isfree, with no hidden charges. <br>You just place our links and we take care of the rest: We process theorder and handle all billing, shipment, customer service and technicalsupport for the customer and track your commissions for you. <br><br>And remember, the better positioning of our banner link on your sitedefinitely means greater profits for you! <br><br><br>We Offer: <br><br>5% commission. <br>90 day cookie. So if your customers come to us via our link on yoursite we will pay you commission, as long as they purchase within 90days after their first visit. We still pay if they come backto us directly via www.sporesandmore.com. <br><br>We continue to pay commission for repeat sales. <br>Varied selection of regularly updated banners for your site. We areconstantly offering promotions and launching new products to keep ourbanners and site fresh and appealing.<br>');// define('TEXT_INFORMATION',' <DELETE THE BRACKETS AND ALL TEXT IN BETWEEN - PUT YOUR INFORMATION HERE>');?>[/code]i dont see why its not letting me add anything else without giving the error, i checked form and syntax and everything seems fineI have even tried adding it line by line with no better lucki know this is probably something simple to those of you more php savy, but i cannot get this one figured out Quote Link to comment Share on other sites More sharing options...
DylanBlitz Posted August 14, 2006 Share Posted August 14, 2006 If you have any ' like with you're you have to escape it, you\'re Quote Link to comment Share on other sites More sharing options...
AndyB Posted August 14, 2006 Share Posted August 14, 2006 what is the [u]exact[/u] error message that you get? Quote Link to comment Share on other sites More sharing options...
asheka Posted August 14, 2006 Author Share Posted August 14, 2006 Thanks DylanBlitz , that was it.i knew it had to be something simple.i need to find a "dummies guide to php" lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.