I’ve got and seem some people using pre-made “buy now” links that are terribly long. Links like: https://www.ecommerceprovider.com/product.cgi?id=12345
Why not use link like this:
Have this type of code in your “buy.php” file: (you can use .cgi or .asp or whatever suits you)
< ?php // buy.php // this code will redirect visitor to your ecommerce provider's site header("location:https://www.ecommerceprovider.com/product.cgi?id=12345"); ?>
Basically what you’ve done now is that instead of using the direct link to eCommerce provider’s site (where people pay the game online) you are using a buy.php file in your own site to redirect the player to the shopping place.
- With little trick like this, you don’t have to worry about PAD or review sites getting the link wrong if you decide to change eCommerce provider or need a new purchase link.
- If you always give www.yourgamesite.com/game/buy.php to these review sites, then you can easily change the link in the file to match your current eCommerce provider.
- Downside is that your site must be online or people won’t be able to get to the buying site.
- The additional bonus is that you can track the buy page hits better when it goes through your own site.
The same goes with the download link: instead of having “www.yourgamesite.com/game/setup.exe” you could have “www.yourgamesite.com/game/download.php” and forward it to “setup.exe”.
Hightailed’s buy link www.hightailed.com/buy.php and download links www.hightailed.com/download.php are done like this, and basically it just redirects visitor to shopping cart (or to download site). If I ever consider changing to another eCommerce provider like Plimus or RegNow it’s very easy to me to do the code change – all I need to change is one link in the buy.php file – and any sites that have linked to Hightailed’s buy page are automatically okay. If I want to use different name or different folders for “setup.exe”, it would be easy to change.