Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 12293

denotes questions related to the customers module

8 votes
Accepted

Magento Customer Grid - Last Order Date

Here is working example for CE 1.8.1: protected function _prepareCollection() { $collection = Mage::getResourceModel('customer/customer_collection') ->addNameToSelect() ->addAttributeToSelect … >__('ID'), 'width' => '50px', 'index' => 'entity_id', 'type' => 'number', )); $this->addColumn('last_order_date', array( 'header' => Mage::helper('customer
Amasty's user avatar
  • 6,518
4 votes

How to know from which site a customer is redirected to our store

Also, you can store the unique code in the session from the first visit, and then save it to the database if the customer decided to register Many our clients generate coupons for 3-5% discount and give …
Amasty's user avatar
  • 6,518
3 votes

Fatal error: Uncaught TypeError: Argument 1 passed to __construct() must be of the type arra...

Please re-check your code. Try to find classes constructor with \Eav\Model\Entity\Attribute\Source\ConfigFactory in code you have line like this $this->configFactory->create(); but should be $t …
Amasty's user avatar
  • 6,518
1 vote

magento customer register add observer

You may rewrite controller app\code\core\Mage\Customer\controllers\AccountController.php and update method createPostAction You may rewrite customer form model app\code\core\Mage\Customer\Model\Form.php … You may observer customer_save_before event, and, in case of new customer and front-end area, throw an exception. …
Amasty's user avatar
  • 6,518
0 votes
Accepted

force VAT number / only sell to B2B customers

If you are looking for the extension, try "customer attributes" module, where you can create any fields, like VAT and make them mandatory from the admin panel, no need to change database or templates. …
Amasty's user avatar
  • 6,518