Zen Cart Logo
Forums / All Other Contributions/Addons / CRE Loaded to Zen Cart Data Importer [support thread]

CRE Loaded to Zen Cart Data Importer [support thread]

Locked

Views: 6,958

Results 1 to 20 of 45
This thread is locked. New replies are disabled.
14 Aug 2008, 8:48 PM
#1
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

CRE Loaded to Zen Cart Data Importer [support thread]

This script is used to import CRE Loaded 6.2 data into Zen Cart.
It runs stand alone, meaning it is independent from Zen Cart's
fuctions and settings, so it's ok to run when you are not quite setup.

WHAT IS TRANSFERRED

PRODUCTS: (import_cre_products.php)
categories
categories_description
languages
manufactures
manufacturers_info
meta_tags_products_description
products
products_attributes
products_attributes_download
products_description
products_notifications
products_options
products_options_text
products_options_values
products_options_values_to_products_options
products_to_categories
reviews
reviews_description
salemaker_sales
specials

ORDERS: (import_cre_orders.php)
orders
-- cc number decrypted
-- cc expdate decrypted
orders_products
orders_products_attributes
orders_products_download
orders_status
orders_status_history
orders_total

CUSTOMERS: (import_cre_customers.php)
customers
-- Convert CRE customer approval codes to zen-cart codes
-- CRE codes 'Approve','Pending','Deny' default = 'Pending'
address_book
customers_info
customers_groups
customers_basket
customers_basket_attributes
customers_wishlist

Skip

12 Oct 2008, 5:00 AM
#2
dgjohnson avatar

dgjohnson

New Zenner

Join Date:
Sep 2008
Posts:
3
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Hi,

First let me say, the script looks great, and I was wondering if it is possible to make some additions to your script. Here are the specs: The current specs stay the same, I would like to add the following scripts.

A: Products (ALL) Complete Profile - UPLOADED
B: Product (ALL) Sub & Main Ctoriges - UPLOADED
C: Customer Orders (ALL) - UPLOADED
D: Customers Pending Orders (ALL) - DOWNLOAD

I am going to need these files processed twice a day.

I have come up a WholeSale/DropShipper that you would love to have access to, it is not one of these sites you have to pay charge.

The site I will be presenting to you is very hard to believe, I contacted the BBB, and the Customers Site, and they assured me the information is correct, and boy they were right about the price about blowing my socks off. It has been 4 days now, and I still can not find that sock.

Well here are the Company Specs:

Web Site: http://www.dropshippingwholesalers.com/home.html
Product Line: 500,000+ Products
Product Catorgies: 53+ catories
Company WholeSales: 500+
Ebooks -FREE for Sale - $250.00+ for sale
Email Technical Support - UNLIMITED
Operating Plans: BASIC OR PLATINUM
The biggest difference of each plan is the basic platform,
The basic is just basic and the Platium plan offers a
unrestricted OS Commerce Shopping Cart .

Now for the news that WILL BLOW YOUR SOCKS OFF!!!, I have checked with the BBB, and the Company People, and they all say the pricing is correct. The plans cost with a low one time investment providing a lifetime membership with the company:

Basic Plan: $47.00 :clap:

Platium Plan: $167.00 :clap:

There are NO ADDITIONAL hidden charges, fees or any thing they can charge you for. The Lifetime meber provides all of the current features for free for LIFE. Boy there so much to list here it would take me better park of 2 to 3 days to type it in. Once you start to read it, you might take about 2 to 3 to pile all of the info. :clap:

Well Enjoy, oh by the way, the reason why I was wanting the additions added it would provied a total automatic website.

If you need to reach out to me, here is my info:

Looking forward hearing from you soon, if there is going to a cost factor involded with this project contact ASAP.

Sincerely,

Dave Johnson
(P) - (912) 257-4038
(C) - (912) 604-2900
(E) - dave@what is nice.com

12 Oct 2008, 6:19 PM
#3
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Dave

If you are having an issue with CRE to Zen I would be glad to help.

But as to modifying it to meet your needs I would suggest that you post a request in the Commercial Help Wanted section of this forum.

Skip

28 Oct 2008, 2:38 PM
#4
setter avatar

setter

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Hi there,

Fantasic mod and will save us a mountain of time.

We're having a tiny problem sadly and cant find what's causing the issue.

Using import_cre_products the categories and products transfer from cre to zen with no problems at all.
All the categories appear perfectly and all the products appear in 'All Products' and 'New Products' but sadly cant get the products to display under the categories.

In admin -> categories/products all the categories are there but all saying 0 of 0 active.

On admin main page it shows: products 201 - products deactivated 0.

Could anyone please point us in the right direction.

Many thanks

28 Oct 2008, 5:00 PM
#5
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

If you go to a product and toggle the status from Disabled to Enable and end with Enabled set. Then go back to Categories / Products what is x of x active?

Skip

28 Oct 2008, 5:25 PM
#6
setter avatar

setter

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Hello,

Thanks for the quick reply.

Still sadly showing 0 of 0 active

28 Oct 2008, 5:35 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

If you look at your database tables, how many records are in:
categories
categories_description

products
products_description

products_to_categories

If you browse the products table, do you have master_categories_id that is not 0 in each of the Product records?

If you browse the products table, do you see products_price_sorter filled in for each of the Product records?

28 Oct 2008, 6:04 PM
#8
setter avatar

setter

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Ajeh:

If you look at your database tables, how many records are in:
categories
categories_description

products
products_description

products_to_categories

If you browse the products table, do you have master_categories_id that is not 0 in each of the Product records?

If you browse the products table, do you see products_price_sorter filled in for each of the Product records?

Hello there,
Thanks for that

Categories: 51
categories_descriptions: 28

products: 201
products_descriptions: 203

products_to_categories: 0

Every records for master_categories_id is 0

Every record for products_price_sorter is 0.000

28 Oct 2008, 7:05 PM
#9
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Categories: 51
categories_descriptions: 28

products: 201
products_descriptions: 203

products_to_categories: 0

Every records for master_categories_id is 0

Every record for products_price_sorter is 0.000

If every product is under a category there should be 201 records in product_to_categories.

In the cre to zen script it reads products_to_categories and transfers the data to products_to_categories.

When the script ran did it show a record count export and the same record count on import?

28 Oct 2008, 8:31 PM
#10
setter avatar

setter

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

argghhhh!!!

I found the problem. The cre site was loaded with a ep file and somehow caused a duplicate on the cre database in one of the products_options tables.

Everything works perfectly now.

Thank you both so much for your help.
Sincere apologies for wasting your time.

29 Oct 2008, 4:16 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Now that you think you have things correct ...

Be sure that you have proper matching records:
products
products_description

categories
categories_description

products_to_categories (at least 1 record per product, you will have more if you have Linked Products)

Check that you have master_categories_id in each product record ... if not, run the Update master_categories_id ... NOTE: if you use Linked Products, the lowest categories_id is used for the master_categories_id ...

Run the Update Products Price Sorter ... note: run this AFTER the master_categories_id exist to set the prices correctly ...

20 Mar 2009, 3:45 PM
#12
woowoo avatar

woowoo

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Hello All,

I am new to zencart, and so far I really like it a lot!! I am having one issue. I have a 6.2 CRE B2B store that I need to move all the products over to zencart. I have successfully imported all of the products with the cre_import_products application, but it did not import the attributes. My existing store has 15,000 attributes (clothing store), and none of them have transferred.

that is my ONLY hangup putting this store live. Does anyone have any insight? I am not using different price groups in CRE BTW.

Thanks! !!!
--JR

20 Mar 2009, 4:26 PM
#13
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Have to checked out this mod in Free Software Add Ons?
CRE Loaded to Zen Cart Data Importer

20 Mar 2009, 4:33 PM
#14
woowoo avatar

woowoo

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Yup! That is exactly what I used to get the products imported... However, it did not import any of my attributes. Every single product I have has attributes assigned. I have around 2500 products.

It pulled ALL the information for the products (descriptions, prices, etc), except attributes - which I desperately need as it is a clothing store.
--JR

20 Mar 2009, 6:17 PM
#15
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

If I get time over the weekend I will look into the code.

20 Mar 2009, 7:17 PM
#16
woowoo avatar

woowoo

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Thanks!!!

the script worked awesome, as it inserted all the products.... just missing the attributes. During the execution of the script, it did show all 15,000 attributes as imported, but it did not link them to the products.

Thanks again! It is a huge help and if this works, I am completely sold on ZenCart over CRE! That is the missing link!
--JR

21 Mar 2009, 7:00 PM
#17
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

The zip file attached is only import_cre_products.php there was a bug in the attribute section that has been fixed. This update will be in version 1.2 that will be available in the Free Software Add On section in a couple of days.

Remember BACKUP YOUR DATA BEFORE USE.

Skip

21 Mar 2009, 7:06 PM
#18
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: CRE Loaded to Zen Cart Data Importer [support thread]

WooWoo

I have uploaded a zip file to the support thread http://www.zen-cart.com/forum/showthread.php?p=703324#post703324
that has the attributes fix.

Skip

Kim I don't know if you want to move this thread to the support thread?

22 Mar 2009, 2:54 AM
#19
woowoo avatar

woowoo

New Zenner

Join Date:
Mar 2009
Posts:
4
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

skipwater:

WooWoo

I have uploaded a zip file to the support thread http://www.zen-cart.com/forum/showthread.php?p=703324#post703324
that has the attributes fix.

Skip

Kim I don't know if you want to move this thread to the support thread?

You guys are incredible! I will honestly say I am floored by the support and speed I have seen here so far. I have been using CRE for YEARS and MIVA before that... this is by for the best community I have seen and the quickest turn-around from a fairly complex question I have ever seen! Keep up the good work. hopefully I can contribute back soon enough!
--JR:cool::cool::cool:

26 Mar 2009, 9:09 PM
#20
jen86 avatar

jen86

New Zenner

Join Date:
Mar 2009
Posts:
2
Plugin Contributions:
0

Re: CRE Loaded to Zen Cart Data Importer [support thread]

Hi, I'm new to the forum.

I am importing from CRE Loaded 6.2 "Pro" to ZenCart. Everything looks good and I ran the products and customers import both with no problems.

My orders import is having problems, though, I must be doing something wrong. I have encryption enable, and I pasted my key into import_cre_orders.php as below (shown with a sample key).

$key = BhDt8rCjrdf3FoB;
$enc =base64_decode($enc);
$key = md5($key);
$iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB);
$iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
$decrypttext = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $enc, MCRYPT_MODE_ECB, $iv);
$decrypttext1 = trim($decrypttext);
return ($decrypttext1) ;
}

When I run the import it does not complete. It says:

Exporting Orders ...
.......................................................................................................................................................................................................200 -|
.......................................................................................................................................................................................................400 -|
.......................................................................................................................................................................................................600 -|
.......................................................................................................................................................................................................800 -|
.......................................................................................................................................................................................................1000 -|
.......................................................................................................................................................................................................1200 -|
.......................................................................................................................................................................................................1400 -|
.......................................................................................................................................................................................................1600 -|
.......................................................................................................................................................................................................1800 -|
.......................................................................................................................................................................................................2000 -|
.......................................................................................................................................................................................................2200 -|
.......................................................................................................................................................................................................2400 -|
.......................................................................................................................................................................................................2600 -|
.......................................................................................................................................................................................................2800 -|
.......................................................................................................................................................................................................3000 -|
.......................................................................................................................................................................................................3200 -|
.......................................................................................................................................................................................................3400 -|
.......................................................................................................................................................................................................3600 -|
.......................................................................................................................................................................................................3800 -|
.......................................................................................................................................................................................................4000 -|
.......................................................................................................................................................................................................4200 -|
.......................................................................................................................................................................................................4400 -|
.......................................................................................................................................................................................................4600 -|
.......................................................................................................................................................................................................4800 -|
.......................................................................................................................................................................................................5000 -|
.......................................................................................................................................................................................................5200 -|
.......................................................................................................................................................................................................5400 -|
.......................................................................................................................................................................................................5600 -|
.......................................................................................................................................................................................................5800 -|
.......................................................................................................................................................................................................6000 -|
.......................................................................................................................................................................................................6200 -|
.......................................................................................................................................................................................................6400 -|
...................................................................................

But it does not say done. When I look at the target database, the orders tables are still empty. I have almost 7000 orders so I don't know if this could be causing the problem.

Anyway, thanks for making this import tool, I prefer to use ZenCart and if I can get this step figured out with your help I will be much happier with the new software. Thank you!