Magento track cart - magento

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

Related

Magento Cart, Strange behavior

Hi I am getting strange behavior in Magento cart. Some random products been adding to all the customers. I think these products are from last cart sessions. Please help!
Create database backup then truncate this tables:
sales_flat_quote
sales_flat_quote_address
sales_flat_quote_address_item
sales_flat_quote_item
sales_flat_quote_item_option
sales_flat_quote_payment
sales_flat_quote_shipping_rate
NOTE: Possible to lose some statistics (best selling products, popular products etc.).

Get order_id before submiting order in Magento

I have added a custom field in checkout page at shipping method step in magento. I am able to insert data from this field to my custom table mg_cake_message(msg_id,customer_id,cake_msg). I need another attribute (order_id) to show data for respective orders in admin panel. How can i get order_id before submitting an order?
I have searched in google and some of people suggest to use quote_id instead of order_id. Is quote_id is same as order_id ?
If it's not possible to get order_id before submiting order then how can the two previous step(Billing Information, Shipping Information) is managed?
Please make me a response .....
A quote in Magento is basically an order that hasn't been placed yet. It contains product items (shopping cart), addresses and payment/shipping methods. It is created as soon as you add an item to cart and Magento creates a sales/quote object.. During checkout, billing and shipping data is added to the quote. Finally, when the user clicks place order, the quote object is converted to an order sales/order object.

magento get value from sales_flat_order_item table for print in invoice page

i am using magento 1.7.0.2.In sales_flat_order_item table i have created a field "real_original_price" where i storing product's original price(in case of special price).Price is storing properly.Now problem is how do i show the real_original_price field's data in my invoice page .Actually my target is showing user discounted amount in invoice that is (original price - sell price). How do i achieve this.any idea
https://www.sonassi.com/knowledge-base/magento-kb/display-attributes-on-invoice-or-packing-slip-in-magento/
You can write an observer on order save or invoice save event. In the observer you can fetch the original price from catalog_product_entity and update in sales_flat_order.

Does changing Magento SKU affect the Order History

I have a request to change the SKU for an existing product, so I am wondering if changing the SKU will affect the order history of this product. Since SKU is a global Identifier in Magento I am not sure what would be the effect of changing it. This is Magento 1.7 CE
Thanks
Order data is stored in the sales_flat_order_item and sales_flat_order tables. If you change the SKU of a product in your catalog, it will not affect the SKU of the product on already existing orders.
Regards,
Changing the SKU of an active product, and or the flat product's afterword will NOT retroactively update the sales order history.
100% sure on this.
Sales Order History
Referencing the old SKU to the "New" Sku will result in some broken behavior that must be accounted for, this especially is true in Configurable products.
Cheers,
-J
http://www.magentocommerce.com/wiki/2_-_magento_concepts_and_architecture/catalog_database_tables

Which table contains customer support's email id in 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%"

Resources