PDA

View Full Version : Email Confirmation Question


D-Reda
March 14th, 2004, 10:49 PM
Hi everyone!

I need some help here....When I tested my cart and placed an order I received the Customer Order Receipt email and at the bottom of the email it had a URL to my website. How can I change the link???

My cart is not installed in my root folder so the URL in the email reads: http://2square.com/storefront when it should read http://2square.com/storefront/store.php or I'd even be happier with just http://2square.com

Any help would be GREATLY appreciated!!! :yahoo: :yahoo: :yahoo:

Rich
March 15th, 2004, 12:40 AM
The URL being used is pulled from the config file, but if you change it your cart will not function properly. Other items in the cart use the same variable. However, you can change the template that controls the email, and remove the section that pulls that URL from the variable in the config file.

First, follow the instructions in the documentation for creating a custom theme. Then copy the order_confirmation_email.php file from the squirrelcart theme to your custom theme. At the bottom of that file replace this:


<?=$URL?> with the URL you wish to use.