The Day I Lost My Google Analytics Profiles and All Websites Stats with it!

Here is what happened today! I got this dreadful Analytics profile deletion email notification from Google: Hello, We want to alert you that the Google Analytics account “Profile Name” has been deleted by “account email”. Please tell non-Administrative users of this account that the account has been deleted. Thank you for your cooperation. Sincerely, The…

[osCommerce] Change Currency Selection based on Payment Module on checkout_confirmation page in osCommerce Store

In osCommerce store which has been set up to accept payment using multiple payment modules, there are chances that you might want to accept payments in specific currencies based on payment methods. Not every payment method support all currencies. You can change currency based on payment module selection by adding few lines of code on…

[osCommerce] How To Check if the Customer is Logged in or not in osCommerce Store

While working in osCommerce store, there are many places where you want to show some infromation only to logged in customers, and some thing else to non-logged in users. For this purpose, you need to check tep_session_is_registered(‘customer_id’) variable and show different blocks of content. In the following code, I have put togther an example where…