Loaded Commerce Community

Banner


Board index » CRE Loaded Support » CRE 5 General Discussion

All times are UTC - 5 hours




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Tue Apr 10, 2007 3:12 am 
Offline
CRE Addict
User avatar

Joined: Tue Oct 03, 2006 12:00 am
Posts: 257
Following the clue from this thread, I put the attribute option back in 6.2 patch 10.

Please note that line numbers are approximate.

1. Export

Applies to admin/easypopulate_export.php

1.1 Uncomment attribute option drop down in line 846

1.2 Around line 370 change

Code:
      $attribute_options_query = "select distinct products_options_id from " . TABLE_PRODUCTS_OPTIONS . " where products_options_name = '" . $value . "'";




to

Code:
       $attribute_options_query="select distinct po.products_options_id from products_options po, products_options_text pot where pot.products_options_name= '".$value."' and po.products_options_id=pot.products_options_text_id";


1.3 Around line 385 change to

Code:
       $attribute_options_query="select distinct po.products_options_id from products_options po, products_options_text pot where po.products_options_id=pot.products_options_text_id";


1.4 Around line 643

change

Code:
          $attribute_options_languages_query = "select products_options_name from " . TABLE_PRODUCTS_OPTIONS . " where products_options_id = '" . (int)$attribute_options['products_options_id'] . "' and language_id = '" . (int)$lid . "'";
         


to

Code:
$attribute_options_languages_query = "select products_options_name from " . TABLE_PRODUCTS_OPTIONS_TEXT . " where products_options_text_id = '" . (int)$attribute_options['products_options_id'] . "' and language_id = '" . (int)$lid . "'";




2. Import

Applies to admin/easypopulate_import.php

2.1 Around line 1182, change

Code:
$attribute_options_query = "select products_options_name from " . TABLE_PRODUCTS_OPTIONS . " where products_options_id = '" . (int)$$v_attribute_options_id_var . "'";

to
Code:
        $attribute_options_query = "select products_options_name from " . TABLE_PRODUCTS_OPTIONS_TEXT . " where products_options_text_id = '" . (int)$$v_attribute_options_id_var . "'";



2.2 Around line 1196, change

Code:
$attribute_options_insert_query = "insert into " . TABLE_PRODUCTS_OPTIONS . " (products_options_id, language_id, products_options_name) values ('" . (int)$$v_attribute_options_id_var . "', '" . (int)$lid . "', '" . $$v_attribute_options_name_var . "')";

to
Code:
$attribute_options_insert_query = "insert into " . TABLE_PRODUCTS_OPTIONS_TEXT . " (products_options_text_id, language_id, products_options_name) values ('" . (int)$$v_attribute_options_id_var . "', '" . (int)$lid . "', '" . $$v_attribute_options_name_var . "')";


2.3 Around line 1208, change

Code:
$attribute_options_update_lang_query = "select products_options_name from " . TABLE_PRODUCTS_OPTIONS . " where products_options_id = '" . (int)$$v_attribute_options_id_var . "' and language_id ='" . (int)$lid . "'";

to
Code:
$attribute_options_update_lang_query = "select products_options_name from " . TABLE_PRODUCTS_OPTIONS_TEXT . " where products_options_text_id = '" . (int)$$v_attribute_options_id_var . "' and language_id ='" . (int)$lid . "'";


2.4 Around line 1214, change

Code:
$attribute_options_lang_insert_query = "insert into " . TABLE_PRODUCTS_OPTIONS . " (products_options_id, language_id, products_options_name) values ('" . (int)$$v_attribute_options_id_var . "', '" . (int)$lid . "', '" . $$v_attribute_options_name_var . "')";

to
Code:
$attribute_options_lang_insert_query = "select products_options_name from " . TABLE_PRODUCTS_OPTIONS_TEXT . " where products_options_text_id = '" . (int)$$v_attribute_options_id_var . "' and language_id ='" . (int)$lid . "'";


2.5 Around line 1218, change

Code:
$attribute_options_update_query = "update " . TABLE_PRODUCTS_OPTIONS . " set products_options_name = '" . $$v_attribute_options_name_var . "' where products_options_id ='" . (int)$$v_attribute_options_id_var . "' and language_id = '" . (int)$lid . "'";

to
Code:
$attribute_options_update_query = "update " . TABLE_PRODUCTS_OPTIONS_TEXT . " set products_options_name = '" . $$v_attribute_options_name_var . "' where products_options_text_id ='" . (int)$$v_attribute_options_id_var . "' and language_id = '" . (int)$lid . "'";



3.0 epconfigure

3.1 set $products_with_attributes = true;

3.2 $attribute_options_select = array('Size', 'Model'); // uncomment and fill with product options name you wish to download use $attribute_options_select = ''; if you wish to download all product options


Please BACK UP your files before any change...


Last edited by saderogba on Sun Feb 17, 2008 2:24 am, edited 5 times in total.

Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Wed May 02, 2007 1:41 am 
Offline
CRE Newbie
User avatar

Joined: Sun Apr 22, 2007 12:00 am
Posts: 3
Thanks for sharing. This is exactly what I am looking for. I will try this this week end.


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Wed May 02, 2007 1:45 am 
Offline
CRE Addict
User avatar

Joined: Tue Oct 03, 2006 12:00 am
Posts: 257
If you run into any problem let me know.


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Tue May 22, 2007 6:28 pm 
Offline
CRE Newbie
User avatar

Joined: Tue Mar 20, 2007 12:00 am
Posts: 2
Hi

I've done the above, but now when i try to export easy populate I get nothing. Will the above give me the option to change attrributes in excel which will be a lot quicker than each individual product page

Thanks

Claire


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Wed May 23, 2007 10:08 am 
Offline
CRE Addict
User avatar

Joined: Tue Oct 03, 2006 12:00 am
Posts: 257
Yes it will. I'll PM you my changes.


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Thu May 24, 2007 2:10 pm 
Offline
CRE Freak
User avatar

Joined: Thu Dec 15, 2005 1:00 am
Posts: 45
Location: COLOMBIA!
Hi... i have b2b (10) i´m trying to import with epa with out success, even if the sistem says that it was succesfully imported.
=)
By now I reading all the forum topics


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Fri May 25, 2007 12:51 am 
Offline
CRE Addict
User avatar

Joined: Tue Oct 03, 2006 12:00 am
Posts: 257
What is the problem you are having?

_________________
$hopping Cart Software Solutions


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Mon Dec 03, 2007 4:09 pm 
Offline
CRE Newbie
User avatar

Joined: Sun Nov 25, 2007 11:19 pm
Posts: 10
Location: Sevastopol, Ukraine
Hi! can i use these changes with CRE Loaded v 6.2[12.1 (SP1)] ?
I've tried but nothing appeared. :(


Last edited by oilsshop.com on Mon Dec 03, 2007 9:18 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Mon Dec 03, 2007 8:36 pm 
Offline
CRE Newbie
User avatar

Joined: Sun Nov 25, 2007 11:19 pm
Posts: 10
Location: Sevastopol, Ukraine
people! has anybody used it with CRE Loaded v 6.2[12.1 (SP1)] ?


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Sat Feb 02, 2008 1:48 pm 
Offline
CRE Addict
User avatar

Joined: Tue Oct 03, 2006 12:00 am
Posts: 257
I haven't not tried on 6.2[12.1 (SP1)] but I expect it to work. I'll try it and publish my findings.

_________________
$hopping Cart Software Solutions


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Wed Feb 13, 2008 3:27 am 
Offline
CRE Addict
User avatar

Joined: Tue Oct 03, 2006 12:00 am
Posts: 257
Yes it works fine. I just tried. PM me for a demo.

_________________
$hopping Cart Software Solutions


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Fri Feb 15, 2008 7:28 pm 
Offline
CRE Freak
User avatar

Joined: Thu Jan 10, 2008 5:24 pm
Posts: 107
Location: Middleton, Wisconsin
Dude! This is PERFECT. Thank you xGazilltrillions!

(Installed with 6.2[12.1 (SP1)])


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Fri Mar 07, 2008 8:31 pm 
Offline
CRE Newbie
User avatar

Joined: Sun Dec 23, 2007 10:56 pm
Posts: 2
I am trying to apply this mod to my Standar version 6.2[12.1 (SP1)] and cannot find where in the admin/easypopulate_export.php file do I uncomment the attribute option as per these instructions:

1.1 Uncomment attribute option drop down in line 846

Can anyone help me out on this ?


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Mon Jun 02, 2008 8:56 pm 
Offline
CRE Newbie
User avatar

Joined: Thu Apr 24, 2008 3:21 pm
Posts: 19
This is fab! Thanks!


Top
 Profile  
 
 Post subject: Re: CRE Loaded 6.2 Standard Patch 10 - EPA import/export
PostPosted: Thu Jul 24, 2008 1:59 am 
Offline
CRE Newbie
User avatar

Joined: Wed Jul 16, 2008 3:28 am
Posts: 6
I tried adding this and its not working...
I will pay to have this done for me.
I need asap...pls help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

Board index » CRE Loaded Support » CRE 5 General Discussion

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Tue May 22, 2012 9:10 pm
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

Members Online


© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy