Is there any way to determine which customers actually registered for an account and have a password (as opposed to guest checkout customers) in Magento? Specifically I am trying to identify where this information might be stored in the database, or how I might be able to determine this information programatically.
We are in the process of migrating to a new shopping cart and only want to make "accounts" on the new cart for people who actually had accounts on Magento. If we make accounts even for those who did guest checkout, people might have accounts on the new site and not even know it.
You can find all registered customers in the customer_entity table.
If you want to export all customers via the database make sure you export the following tables as well:
customer_address_entity
customer_address_entity_datetime
customer_address_entity_decimal
customer_address_entity_int
customer_address_entity_text
customer_address_entity_varchar
customer_eav_attribute
customer_eav_attribute_website
customer_entity
customer_entity_datetime
customer_entity_decimal
customer_entity_int
customer_entity_text
customer_entity_varchar
customer_form_attribute
If you want to do this by code you can get all registered customers like this:
$collection = mage::getModel('customer/customer')->getCollection();
When a customer places order in Magento using guest checkout, customer information is stored only in quote and order. Customer is not created in the system in that case.
So all customers have created account personally, registered during checkout or were created from admin.
So if you don't have any customizations that are creating customers on guest checkout, you can migrate all customers.
DB:
All records of customer_entity, customer_address_entity and corresponding eav attributes.
PHP:
Using collections
Mage::getModel('customer/customer')->getCollection()->addAttributeToSelect('*');
Mage::getModel('customer/address')->getCollection()->addAttributeToSelect('*');
Related
I am looking for a platform to accomplish one goal. I want customers to be able to build a cart with products and then share the cart id so my client (i.e. the business owner) can build the order in the store. They wouldn't be able to check out online, but we will be able to build their order for quick pickup. Any ideas about which platform is the best option?
Using Magento you can do that.
Magento have wishlist functionality and a customer can share his/her wishlist to friends.
Using the same idea , a separate extension will be create to add the products and share it with the site owner immediately via email.
Here is the problem:
I have multiple suppliers of physical goods, each with their own bank account.
A user is able to order items from multiple suppliers in the same cart.
The payment from the user for each item needs to go into the relevant supplier's bank account - these transtactions will be handled by multiple separate Braintree accounts.
Is it possible to achieve this with Magento Enterprise Edition?
I was looking at a similar thread (https://magento.stackexchange.com/questions/6974/split-order-into-seperate-orders-and-calculate-shipping-seperately-with-ups-and) which is dealing with the shipping side of this problem but I am not sure if it can be adapted to also work with the payments?
Thanks for any help!
I just setup a magento store (1.8) and added some demo products, but now my company wants to use the payment gateway built into magento to process payments from another website.
To explain better, my company runs a school and has a website with an application that generates bills for parents to pay. These bills vary depending on class of student and other factors. So Parent A may pay $200 while parent B pays $400.
What we want to do is post the amounts to be paid from the other website to our magento store and add it to cart for payment using our payment processor so that the magento features can still be used to log all transactions.
Since I am new to magento, I don't know if it is possible to do this and how if possible.
We intend to get the other application to generate the SKU, Product ID and Description automatically and post it together with the amount to the store.
So how do I get the magento store to receive this url and process it?
You must need to create product in magento.
When you post the data from other site, pass the product sku.
Then load product by sku :-
https://magento.stackexchange.com/questions/18421/why-cant-i-load-a-product-by-sku
Then check magento add to cart functionality how to add cart.
friends,
I'm in doubt about the possibility of a configuration with multiple store magento.
I will explain my business:
I have a online store selling jewelry.
What I need:
I want to create micro franchise scheme to expand my shop
I want to provide a copy of my partner shop:
Different domain
Same products
Receive different paypal account
The seller will only see a list of your customers (independent customers)
The seller will only see a list of their requests (requests independent)
The main shop can see everything (requests, customers)
Is that possible?
Is there any technical procedure?
Is there any extension that makes it work so simple in creation of additional stores?
Please help me on how I can do this.
I have interest in hiring the service of realizing this project.
Thank you all!
Rodrigo Rodrigues (rodrigopantaneiro # gmail)
Brazil
This is totally possible and easy enough to do with the multi-store and store front views.. You will need to edit the httpd.conf file for your domain problem Magento Multiple Store and Views
then the login to the admin area for the sellers would be set to only view their customers/items etc. via the roles and permissions on the system.
I have no doubt magento can handle multiple stores, but I was wondering if each stores can handle with such specific user wherein they can access their catalog, sales, inventory, etc like administrator, but limited only on their specific store.
Here's my sample representation:
Magento website:
->Store Categories
-->Store1
--->Product Categories
----->Products
--->Store Owner -------- Who can logged in the backend to see all their products, sales, inventory, etc.. Only
access their store.
-->Store2
--->Product Categories
----->Products
--->Store Owner2 ------ Who can logged in the backend to see all their products, sales, inventory, etc.. Only
access their store.
No, Magento is not built to allow different vendors to have access only to their information. I believe that Enterprise tries to add some of this functionality, but do not rely on the system keeping everything separate.
Notably, even if the products can be hacked, there is no such system of permissions for attributes, or attribute sets. If one owner deletes an attribute set, the store for the other owner will be affected. Similarly, the category manager has the same issue. Order management in the backend is in the same place.
Maybe not the answer you wanted, but hopefully that helps.
Thanks,
Joe
Not at the Community Edition.
The Enterprise Edition allows you to set that kind of roles.