* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Site Store Pro™ ASP to PHP Store Conversion Guide
Survey
Document related concepts
Transcript
Site Store Pro™ ASP to PHP Store Conversion Guide PREPARING YOUR INSTALL FOR CONVERSION FROM ASP TO PHP VERSION TRANSFER THE DATA TABLES FROM YOUR SQL SERVER DATABASE TO YOUR MYSQL DB SETUP THE NEW STORE AND SKIN THE CART FILES TO MATCH DESIGN 2 3 5 This guide is intended for conversion of NON-CUSTOMIZED versions of the Site Store Pro ASP shopping cart. Although the vast majority of customer customizations requests in the ASP version were included in the default PHP public release, your install may contain custom features that will not automatically convert over to the PHP version. If you have questions about the conversion compatibility of your current ASP installation, please contact support and we will provide a free conversion analysis of your live ASP enabled store. Site Store Pro, Inc also offers complete conversion services from ASP to PHP versions of Site Store Pro for developers who do not want to do the conversion themselves. The conversion fee for a NON-customized version of Site Store Pro ASP to Site Store Pro PHP is typically a one-time charge of $225.00. Customized installs will be more expensive since any customizations not included in the default PHP release will have to be recoded in PHP. If you would like us to convert your ASP install to Site Store Pro PHP, please contact [email protected] for a quote. 1 Copyright 2012. SiteStorePro.com. All Rights Reserved. Preparing Your Install For Conversion From ASP to PHP Version Conversion of Site Store Pro ASP to PHP takes a minimum of 3 hours but may take longer depending on if you are also converting your non-ecommerce content (pages) to php, if you are also running a mobile version and need to convert those pages as well and the amount of data you have stored in your current MSSQL database. To prepare your install to be converted from Site Store Pro ASP to PHP do the following first before anything else 1) Setup a new hosting account that support PHP |MySQL or a temporary folder on your existing hosting account (if is supports PHP and MySQL) for your new installation. 2) Extract the files from your Site Store Pro PHP zip file (new installation folder) to a directory on your local development system as per the instructions in the install guide. (http://www.sitestorepro.com/SiteStorePro_PHP_Installation_Guide.pdf) 3) Download all your main site (non shopping cart) content (i.e. root pages), images and the following directories to a development folder on your local system where you extracted the files above: /css/ /store_content/ (if prompted to overwrite existing files, select "yes" to all) 4) Create a new MySQL database and do a "clean" install using the SSPRO_MYSQL_CLEAN_INSTALL.sql script that is located in the MySQL_Database folder of your PHP version installation zip file as per the instructions in the install guide. (http://www.sitestorepro.com/SiteStorePro_PHP_Installation_Guide.pdf) or via the KB Article: http://www.sitestorepro.com/mysupport/KB/a59/setup-the-site-store-pro-sql-serverdatabase.aspx After you have complete the steps above you are now ready to migrate the data off your current live ASP version hosting account to your new PHP install. We recommend taking the live Site Store Pro ASP store offline when doing the conversion or you may have to copy over the products, orders and customers data twice if the data changes between the time you copy the data off your MSSQL database to the time you launch your new PHP enabled store. 2 Copyright 2012. SiteStorePro.com. All Rights Reserved. Transfer the Data Tables From Your SQL Server database to your MySQL DB We developed the Site Store Pro MySQL database so existing products, orders and customers can be transferred from the Site Store Pro ASP/MSSQL server version without losing any data or product options associations. You can use any program that supports MSSQL to MySQL database conversion to do the data migration. However, we recommend either Navicat Premium or DBConvert since both of the programs are easy to use and seem to do the conversion job with the least amount of issues. You can do a complete database conversion from your existing Site Store Pro MSSQL database to your "clean" MySQL Site Store Pro database and any tables that are not used in the new version will just be ignored on the new install. However, if you only want to copy over the necessary tables so your MYSQL database does not contain unused tables, below is the complete list of all tables that are used in both the MSSQL and MYSQL databases . sitestorepro_affiliate_levels sitestorepro_affiliates_content sitestorepro_affiliates_payments sitestorepro_content_shopping_cart sitestorepro_discounts sitestorepro_discounts_configuration sitestorepro_error_messages sitestorepro_event_directors sitestorepro_event_locations sitestorepro_faqs sitestorepro_faqs_cats sitestorepro_faqs_subcat sitestorepro_giftwrap_fees sitestorepro_handling_charges sitestorepro_handling_fees sitestorepro_home_page_gallery sitestorepro_manufacturers sitestorepro_orderdetails sitestorepro_order_giftwrap sitestorepro_orders sitestorepro_out_stock_messages sitestorepro_payment_types sitestorepro_prod_activations sitestorepro_prod_colors sitestorepro_prod_colors_assoc sitestorepro_prod_crosssell sitestorepro_prod_download_log sitestorepro_prod_images sitestorepro_prod_input_fields 3 Copyright 2012. SiteStorePro.com. All Rights Reserved. sitestorepro_prod_materials sitestorepro_prod_materials_assoc sitestorepro_prod_personalization sitestorepro_prod_reviews sitestorepro_prod_review_types sitestorepro_prod_size_assoc sitestorepro_prod_sizes sitestorepro_prod_styles sitestorepro_prod_user_option1 sitestorepro_prod_user_option2 sitestorepro_prodcategory sitestorepro_prodsubcat sitestorepro_products sitestorepro_products_inventory_levels sitestorepro_shipping_messages sitestorepro_shop_by_occasion_associations sitestorepro_shop_by_occasion_list sitestorepro_shop_by_style_associations sitestorepro_shop_by_style_list sitestorepro_site_news sitestorepro_store_footer sitestorepro_store_header sitestorepro_testimonials sitestorepro_users sitestorepro_users_wishlists sitestorepro_valuedcustomermessages When you are doing the data conversion from MS SQL server to MySQL, you may be prompted that some of the primary index key names are too long for MySQL. If you receive this error, simply rename the indexes to shorter names via your SQL management tool and then retry the conversion process. *** if you are required to rename SQL indexes before completing the data migration (conversion) , we highly recommend making a backup copy (new database) of your live MS SQL server database first and doing the index renames on the backup (not-live) SQL server database and then using the backup copy for the data transfer source database. After you have completed the database conversion and have copied all the data tables from your current MSSQL server database (source) to your new Site Store Pro PHP MySQL database (destination), edit the connection string in /Connections/SiteStoreProDB.php to reflect the credentials for your MySQL db as per the install guide (http://www.sitestorepro.com/SiteStorePro_PHP_Installation_Guide.pdf) and then post all the files in your local development folder for your PHP version up to your temporary PHP hosting account or testing directory. 4 Copyright 2012. SiteStorePro.com. All Rights Reserved. SETUP THE NEW STORE AND SKIN THE CART FILES TO MATCH DESIGN After you have copied up your all your Site Store Pro PHP files and /store_content/ folder from to your PHP hosting account or server, go to /estore_admin/ to activate your install with your PHP version serial number and email address as per the install guide. if you receive a PHP error we accessing the /estore_admin/ folder, your MySQL database connection credentials are incorrect in /Connections/SiteStoreProDB.php. Please consult this KB article for help on setting up your connection string credentials: http://www.sitestorepro.com/mysupport/KB/a286/edit-database-connection-file-to-matchyour-database.aspx Note: Due to different encryption and security on the PHP version, admin accounts from the ASP version database will not be carried over to the new PHP install and you will need to recreate the admin login accounts. After you have activated your installation and it is running on the new php hosting account, you will need to setup the following elements on the new install: User Registration Forms Email Content Shipping Setup and Preferences Download & Ship Settings for Downloadable Items that use the "Download | Ship " feature. (this only applies to downloadable items that are using the download/ship optional feature. Any regular products, events and downloadable items without the download\ship feature will function without any setup changes. Checkout Provider (payment processor) settings. After you have setup the registration forms, email content, shipping preferences, download/ship item settings and payment processor setting, you just need to modify the sample store cart files to match your current site design by editing the Dreamweaver DWT files as per the design integration guide or by following the tutorial at : http://www.sitestorepro.com/tutorials/design_integration.asp After you have modified the PHP cart files to match your design. You should test the store thoroughly to make sure that all features are working the same as your previous ASP installation. Please follow the "10 steps before launch" document below before switching your new PHP store to live status: http://www.sitestorepro.com/10_Things_Before_SiteStorePro_Store_Launch.pdf 5 Copyright 2012. SiteStorePro.com. All Rights Reserved.