Post by opencart-templates » Sun Sep 18, 2011 5:19 am

This little PHP script will delete all the test data from the database also deletes all uploaded images so make sure you only run this on a fresh install its job is to delete everything you don't need

All you need to do is place this file in the inside your /upload folder and access this file directly in your browser.
Remember to delete this file once you have run the script once.

Deletes the following tables:

Code: Select all

address
affiliate
affiliate_transaction
attribute
attribute_description
attribute_group
attribute_group_description
banner
banner_image
banner_image_description
category
category_description
category_to_layout
category_to_store
coupon
coupon_history
coupon_product
customer
customer_ip
customer_reward
customer_transaction
download
download_description
manufacturer
manufacturer_to_store
order
order_download
order_history
order_option
order_product
product
product_attribute
product_description
product_discount
product_image
product_option
product_option_value
product_related
product_reward
product_special
product_tag
product_to_category
product_to_download
product_to_layout
product_to_store
return
return_history
return_product
review
store
url_alias
voucher
voucher_history
voucher_theme
voucher_theme_description'
I guess it would be useful if Daniel could build this into an option when installing. ;)

Attachments

upload this file to you shop folder.


Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce


User avatar
Active Member

Posts

Joined
Mon May 16, 2011 7:24 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 4 guests