Magento: Create Customer Programmatically

This article shows how you can programmatically (through code) create customers in Magento 1.x. In this example code, you can find saving customer general information along with saving customer’s billing address and shipping address. Here are the steps followed in the code below: – The code first loads the customer by email. – If the … Read more

Magento: Show Billing-Shipping Address in Customer Signup-Registration page

Here are some ways (2 ways below) to show customer address information in registration page. When you fill up the address fields and signup then both your billing and shipping addresses are filled up. Here is how to enable address fields in signup page:- 1) First way [EASY] – Open template/customer/form/register.phtml – Just above this … Read more

Magento Paypal: Email, Shipping Cost & Order Status issue in version 1.4.0.1

Magento version 1.4.0.1 has some issues with Paypal email, shipping cost and order status. Note: All these issues occur when payment is done through Paypal 1. Order confirmation email is not sent Fix: – Open app/code/core/Mage/Checkout/Model/Type/Onepage.php – Go to line 626 – Comment out the IF condition as below: /** * we only want to … Read more

Magento: Different shipping rate for different country and region

Here, I will show you how you can assign different shipping rate for different country in Magento. Like, there might be different shipping rate for US and Canada. Moreover, there might be different shipping rate for various regions within US as well. Like, there might be different shipping rate for Florida and California. In Magento, … Read more