Delete Test Orders in Magento Using MySql Queries

by | Jul 13, 2017 | Best Business Helps | 0 comments

All Premium Themes And WEBSITE Utilities Tools You Ever Need! Greatest 100% Free Bonuses With Any Purchase.

Greatest CYBER MONDAY SALES with Bonuses are offered to following date: Get Started For Free!
Purchase Any Product Today! Premium Bonuses More Than $10,997 Will Be Emailed To You To Keep Even Just For Trying It Out.
Click Here To See Greatest Bonuses

and Try Out Any Today!

Here’s the deal.. if you buy any product(s) Linked from this sitewww.Knowledge-Easy.com including Clickbank products, as long as not Google’s product ads, I am gonna Send ALL to you absolutely FREE!. That’s right, you WILL OWN ALL THE PRODUCTS, for Now, just follow these instructions:

1. Order the product(s) you want by click here and select the Top Product, Top Skill you like on this site ..

2. Automatically send you bonuses or simply send me your receipt to consultingadvantages@yahoo.com Or just Enter name and your email in the form at the Bonus Details.

3. I will validate your purchases. AND Send Themes, ALL 50 Greatests Plus The Ultimate Marketing Weapon & “WEBMASTER’S SURVIVAL KIT” to you include ALL Others are YOURS to keep even you return your purchase. No Questions Asked! High Classic Guaranteed for you! Download All Items At One Place.

That’s it !

*Also Unconditionally, NO RISK WHAT SO EVER with Any Product you buy this website,

60 Days Money Back Guarantee,

IF NOT HAPPY FOR ANY REASON, FUL REFUND, No Questions Asked!

Download Instantly in Hands Top Rated today!

Remember, you really have nothing to lose if the item you purchased is not right for you! Keep All The Bonuses.

Super Premium Bonuses Are Limited Time Only!

Day(s)

:

Hour(s)

:

Minute(s)

:

Second(s)

Get Paid To Use Facebook, Twitter and YouTube
Online Social Media Jobs Pay $25 - $50/Hour.
No Experience Required. Work At Home, $316/day!
View 1000s of companies hiring writers now!

Order Now!

MOST POPULAR

*****
Customer Support Chat Job: $25/hr
Chat On Twitter Job - $25/hr
Get Paid to chat with customers on
a business’s Twitter account.

Try Free Now!

Get Paid To Review Apps On Phone
Want to get paid $810 per week online?
Get Paid To Review Perfect Apps Weekly.

Order Now
!
Look For REAL Online Job?
Get Paid To Write Articles $200/day
View 1000s of companies hiring writers now!

Try-Out Free Now!

How To Develop Your Skill For Great Success And Happiness Including Become CPA? | Additional special tips From Admin

Proficiency Advancement is certainly the number 1 very important and chief element of achieving a fact being successful in virtually all occupations as everyone noticed in some of our population plus in Around the world. And so privileged to go over with everyone in the right after about just what prosperous Skill level Advancement is; exactly how or what ways we deliver the results to accomplish dreams and ultimately one will certainly function with what anyone really likes to implement each daytime pertaining to a entire lifestyle. Is it so terrific if you are equipped to grow quickly and obtain victory in everything that you believed, designed for, encouraged and labored hard every single day and absolutely you come to be a CPA, Attorney, an operator of a big manufacturer or perhaps even a medical doctor who can easily hugely bring about terrific assistance and values to many people, who many, any contemporary culture and town unquestionably admired and respected. I can's believe I can benefit others to be top notch specialized level exactly who will bring about sizeable alternatives and pain relief valuations to society and communities now. How thrilled are you if you become one similar to so with your own personal name on the label? I get arrived on the scene at SUCCESS and defeat virtually all the very difficult sections which is passing the CPA exams to be CPA. What's more, we will also go over what are the risks, or alternative challenges that may very well be on the process and ways I have privately experienced all of them and will probably show you easy methods to cure them. | From Admin and Read More at Cont'.

Many Magento users find it very disappointing not to be able to delete test orders or at least to make them removed from the Admin Sales page.

It’s a required step that merchants or developers place several test orders before they officially launch the site. Obviously, they don’t want their test sales mixed in the regular sales reports. It’s hard to believe, but there is no easy solution for this in Magento Admin panel.

These MySql queries can be handy when you want a fresh start with your Magento store. This is not a definite solution because you directly update the database using queries and also because it works only when you can remove all order data.

This includes queries to delete customer data and orders for downloadable products.

Don’t forget to backup your DB before you run these!

SET FOREIGN_KEY_CHECKS=0;

– Reset sales data
TRUNCATE `sales_order`;
TRUNCATE `sales_order_datetime`;
TRUNCATE `sales_order_decimal`;
TRUNCATE `sales_order_entity`;
TRUNCATE `sales_order_entity_datetime`;
TRUNCATE `sales_order_entity_decimal`;
TRUNCATE `sales_order_entity_int`;
TRUNCATE `sales_order_entity_text`;
TRUNCATE `sales_order_entity_varchar`;
TRUNCATE `sales_order_int`;
TRUNCATE `sales_order_text`;
TRUNCATE `sales_order_varchar`;
TRUNCATE `sales_flat_quote`;
TRUNCATE `sales_flat_quote_address`;
TRUNCATE `sales_flat_quote_address_item`;
TRUNCATE `sales_flat_quote_item`;
TRUNCATE `sales_flat_quote_item_option`;
TRUNCATE `sales_flat_order_item`;
TRUNCATE `sendfriend_log`;
TRUNCATE `tag`;
TRUNCATE `tag_relation`;
TRUNCATE `tag_summary`;
TRUNCATE `wishlist`;
TRUNCATE `log_quote`;
TRUNCATE `report_event`;

ALTER TABLE `sales_order` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_datetime` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_decimal` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_int` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_text` AUTO_INCREMENT=1;
ALTER TABLE `sales_order_varchar` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_address_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_quote_item_option` AUTO_INCREMENT=1;
ALTER TABLE `sales_flat_order_item` AUTO_INCREMENT=1;
ALTER TABLE `sendfriend_log` AUTO_INCREMENT=1;
ALTER TABLE `tag` AUTO_INCREMENT=1;
ALTER TABLE `tag_relation` AUTO_INCREMENT=1;
ALTER TABLE `tag_summary` AUTO_INCREMENT=1;
ALTER TABLE `wishlist` AUTO_INCREMENT=1;
ALTER TABLE `log_quote` AUTO_INCREMENT=1;
ALTER TABLE `report_event` AUTO_INCREMENT=1;

– Reset customers data
TRUNCATE `customer_address_entity`;
TRUNCATE `customer_address_entity_datetime`;
TRUNCATE `customer_address_entity_decimal`;
TRUNCATE `customer_address_entity_int`;
TRUNCATE `customer_address_entity_text`;
TRUNCATE `customer_address_entity_varchar`;
TRUNCATE `customer_entity`;
TRUNCATE `customer_entity_datetime`;
TRUNCATE `customer_entity_decimal`;
TRUNCATE `customer_entity_int`;
TRUNCATE `customer_entity_text`;
TRUNCATE `customer_entity_varchar`;
TRUNCATE `log_customer`;
TRUNCATE `log_visitor`;
TRUNCATE `log_visitor_info`;

ALTER TABLE `customer_address_entity` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `customer_address_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_datetime` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_decimal` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_int` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_text` AUTO_INCREMENT=1;
ALTER TABLE `customer_entity_varchar` AUTO_INCREMENT=1;
ALTER TABLE `log_customer` AUTO_INCREMENT=1;
ALTER TABLE `log_visitor` AUTO_INCREMENT=1;
ALTER TABLE `log_visitor_info` AUTO_INCREMENT=1;

– Reset purchased downloadable data
TRUNCATE `downloadable_link_purchased`;
TRUNCATE `downloadable_link_purchased_item`;
ALTER TABLE `downloadable_link_purchased` AUTO_INCREMENT=1;
ALTER TABLE `downloadable_link_purchased_item` AUTO_INCREMENT=1;

– Reset all ID counters
TRUNCATE `eav_entity_store`;
ALTER TABLE `eav_entity_store` AUTO_INCREMENT=1;

SET FOREIGN_KEY_CHECKS=1;

By Chickpea, November 5, 2009 @ 9:47 am

Can anyone confirm this code works for Magento ver 1.3.2.4? Seems to work for me but not fully tested it yet!

By Matritos Marikon, January 25, 2010 @ 11:29 am

You rock man !
You just saved me hours of sweating over Magento.

Worked perfectly for Magento ver. 1.3.2.3

Source

From Admin and Read More here. A note for you if you pursue CPA licence, KEEP PRACTICE with the MANY WONDER HELPS I showed you. Make sure to check your works after solving simulations. If a Cashflow statement or your consolidation statement is balanced, you know you pass right after sitting for the exams. I hope my information are great and helpful. Implement them. They worked for me. Hey.... turn gray hair to black also guys. Do not forget HEALTH? Skill level Progression is normally the number 1 necessary and most important element of gaining real achieving success in all duties as you actually watched in some of our modern culture and additionally in Globally. Therefore happy to discuss together with everyone in the soon after in regard to everything that good Competence Progression is;. ways or what solutions we operate to obtain dreams and in the end one is going to succeed with what those really loves to conduct each individual time of day for the purpose and meaningful of a maximum everyday life. Is it so terrific if you are confident enough to produce resourcefully and find accomplishment in what precisely you believed, designed for, follower of rules and did wonders hard just about every afternoon and certainly you become a CPA, Attorney, an holder of a great manufacturer or quite possibly a doctor who could highly contribute superb aid and valuations to other individuals, who many, any society and city without doubt admired and respected. I can's believe that I can assist others to be prime professional level who seem to will add substantial answers and help valuations to society and communities presently. How satisfied are you if you grown to be one just like so with your individual name on the title? I have arrived at SUCCESS and prevail over all of the the complicated elements which is passing the CPA exams to be CPA. Moreover, we will also take care of what are the dangers, or different situations that will be on your current process and the correct way I have privately experienced them and will indicate you how to get over them.

Send your purchase information or ask a question here!

8 + 10 =

0 Comments

Trackbacks/Pingbacks

  1. ทีเด็ดฟุตบอล - ... [Trackback] [...] Info on that Topic: knowledge-easy.com/delete-test-orders-in-magento-using-mysql-queries/ [...]
  2. climatizare cluj - ... [Trackback] [...] Find More here to that Topic: knowledge-easy.com/delete-test-orders-in-magento-using-mysql-queries/ [...]
  3. jarisakti - ... [Trackback] [...] Find More here on that Topic: knowledge-easy.com/delete-test-orders-in-magento-using-mysql-queries/ [...]
  4. buy vapes online in EUROPE - ... [Trackback] [...] Find More here to that Topic: knowledge-easy.com/delete-test-orders-in-magento-using-mysql-queries/ [...]

Submit a Comment

Business Best Sellers

 

Get Paid To Use Facebook, Twitter and YouTube
Online Social Media Jobs Pay $25 - $50/Hour.
No Experience Required. Work At Home, $316/day!
View 1000s of companies hiring writers now!
Order Now!

 

MOST POPULAR

*****

Customer Support Chat Job: $25/hr
Chat On Twitter Job - $25/hr
Get Paid to chat with customers on
a business’s Twitter account.
Try Free Now!

 

Get Paid To Review Apps On Phone
Want to get paid $810 per week online?
Get Paid To Review Perfect Apps Weekly.
Order Now!

Look For REAL Online Job?
Get Paid To Write Articles $200/day
View 1000s of companies hiring writers now!
Try-Out Free Now!

 

 

Delete Test Orders in Magento Using MySql Queries

error: Content is protected !!