Which table contains customer support's email id in magento? - magento

I have to fetch sales representative's name and customer support's email id.
So in magento database which table contains this values?
I have tried my best.
but not able to find.
So can plz anyone help me?
we update/save this values from magento admin panel system/configuration/storeEmailaddresses

I don't have a Magento DB at hand, but I think it's in the table "core_config"; you can probably find it by "path" (which should be like "%storeEmailaddresses%"

Related

session for multiple devices

I am trying to build an ecommerce site.for the cart functionality I want to alive my cart for multiple devices.For example if I create an account and add some product to my cart using my mobile browser,after that if I use the same account to my pc browser I should see the cart with those product I added using my mobile browser.I donno how to do that or what's the method,can you please help me??
My Preferred Approach
In order to do this, you'll want to create or leverage some sort of profile data source. For example, if you're using a database, you likely have a Users table with a record for each customer. I'd suggest adding a new related table that might look something like this to begin with...
Potential Table Name: UserData
UserID (FK)
DataName (string)
DataValue (string)
So, after logging in, the visitor might add something to their cart. When this happens, you'd have a CartID to work with and then add a record to that table with their UserID and it might look like this in T-SQL.
INSERT INTO [dbo].[UserData] ([UserID],[DataName],[DataValue])
VALUES (12345, 'CartID', 'd501e3de-350c-4c20-92c8-8e71445e1774');
Now, when they log in again anywhere, you'd just query for that UserID to find out if they have a cart pending. If they do, load it up. Just remember to clear that value on checkout.
The beauty of this solution is that you can repurpose it for all kinds of other things.
An Alternative Approach
Just query your Cart table, assuming in your solution you're storing carts before checkout is completed. Find the most recent instance of a cart matching their UserID that hasn't been completed.

Sales_flat_order missing data magento

my sales_flat_order_table is recording customer_firstname and customer_lastname from amazon and ebay orders but for magento site orders its leaving these fields blank. Though i can see the names in admin order details.
I need it for a custom grid, found names in sales_flat_order_address so joined the two to get names that were missing in sales_flat_order table.

Magento track cart

Is it possible to track the magento cart through the Form_key parameter in the #product_addtocart_form ?
Which table in the magento database holds this parameter. I need to track orders and confirm if they have been successfully paid.
I just found all the information I need in sales_flat_order_item under product_options column

From which table does magento extract the shipping and handling information in Order page on admin panel?

Previously I thought that the "price" shown in the order page under "Shipping and Handling Information" block in magento's admin panel is retrieved from "sales_flat_quote_shipping_rate" table but when I changed the value of price in the database manually it doesn't reflect any changes, from that i concluded that the price is not retrieved from that table.
Can anyone help me to understand this?
I have attached the screenshot to make clear what I am talking about.
Any help is appreciated.
Orders data are saved in database tables sales_flat_order and sales_flat_order_item
Check columns base_shipping_amount & shipping_amount in sales_flat_order table
To update the Shipping / Flat Rate, why are you modifying the DB, you can achieve this from the admin section.
Update the values their.
System -> Configuration -> Sales -> Shipping Methods -> Flat Rate.
In case you need to update it for a particular order then you can use tables suggested by Dushyant Joshi

Magento checkout method recorded in database

Is the Magento checkout method recorded anywhere in the database.
I know the value can be accessed during the session i.e. register, guest etc but after the order is placed is the value recorded anywhere?
Anton S gave a good answer but if you need more help viewing tables and their fields in the Magento database, this is a really useful tool.
http://www.magereverse.com/
Simply select your version of Magento and then start selecting tables. It gives you correlations between various fields in the tables as well, which can be helpful when tracking down entity data.
Hope this helps!
Checkout method is stored in the sales_flat_quote table in the customer_is_guest field. A value of 1 indicates the customer checked out using the guest checkout option. A value of 0 indicates the customer checked out using their account. You can access the quote using its id from the order object.

Resources