Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Easy Populate - Attributes

    Hi,

    I have Easy Populate on my cart (Actually just purchased Easy Populate Advanced, but doesn't seem to do what I wanted either)

    When I export my Attributes CSV, it is missing two important fields - attributes_price_factor and attributes_price_onetime

    How can it be missing these? Those are the most important things with the attributes!

    How can I modify the code to export those two fields into the CSV, and also update them on an upload? The code isn't easy to work with

    I'm assuming it's somewhere in here?

    PHP Code:
    case 'attrib':
      if (isset(
    $ep_debug)) $attrstart ep_timer();
      
    $attribute_options_array = array();
      
    $attribute_options_values =& ep_query("select distinct products_options_id from (" TABLE_PRODUCTS_OPTIONS ") order by products_options_id");
      for (
    $i 0$attribute_options $attribute_options_values->getRow($iECLIPSE_DB_ASSOC); $i++)
      {
        
    $attribute_options_array[] = array('products_options_id' => $attribute_options['products_options_id']);
      }
      if (isset(
    $ep_debug)) ep_timer($attrstart,'Attributes');
      if (isset(
    $ep_debug))
      {
        
    $attr3start ep_timer();
      }
      
    $iii 0;
      
    $filelayout = array(
                    
    'v_products_id'    => $iii++,
                    
    'v_products_model'    => $iii++
                    );
      
    $header_array = array();
      
    $attribute_options_count 1;
      foreach (
    $attribute_options_array as $attribute_options_values)
      {
        
    $key1 'v_attribute_options_id_' $attribute_options_count;
        
    $header_array[$key1] = $iii++;
        for (
    reset($ep_languages); list(, $lang) = each($ep_languages);)
        {
          
    $key2 'v_attribute_options_name_' $attribute_options_count '_' $lang['code'];
          
    $header_array[$key2] = $iii++;
        }
        
    $attribute_values_values  =& ep_query("SELECT products_options_values_id  FROM (" TABLE_PRODUCTS_OPTIONS_VALUES_TO_PRODUCTS_OPTIONS ") WHERE products_options_id = '" . (int)$attribute_options_values['products_options_id'] . "' ORDER BY products_options_values_id");
        
    $attribute_values_count 1;
        for (
    $i 0$attribute_values $attribute_values_values->getRow($iECLIPSE_DB_ASSOC); $i++)
        {
          
    $key3 'v_attribute_values_id_' $attribute_options_count '_' $attribute_values_count;
          
    $header_array[$key3] = $iii++;
          
    $key4 'v_attribute_values_price_' $attribute_options_count '_' $attribute_values_count;
          
    $header_array[$key4] = $iii++;
          for (
    reset($ep_languages); list(, $lang) = each($ep_languages);)
          {
            
    $key5 'v_attribute_values_name_' $attribute_options_count '_' $attribute_values_count '_' $lang['code'];
            
    $header_array[$key5] = $iii++;
          }
          
    $attribute_values_count++;
        }
        
    $attribute_options_count++;
      }
      
    $filelayout array_merge($filelayout$header_array);
      
    $filelayout_sql 'SELECT
        products_id as v_products_id,
        products_model as v_products_model
        FROM
        (' 
    TABLE_PRODUCTS ')
        '
    ;
      if (isset(
    $ep_debug))
      {
        
    ep_timer($attr3start,'Attributes 3');
      }
      
    $dl_filename EASYPOPULATE_EXPORT_PREFIX_ATTRIBUTES;
      break; 
    Thanks!

  2. #2
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Re: Easy Populate - Attributes

    My searches haven't turned up much, I am really surprised nobody else has had issues like this? Seems like a really big hole within EP, missing the key fields to make attributes work..

  3. #3
    Join Date
    Apr 2008
    Posts
    121
    Plugin Contributions
    0

    Default Re: Easy Populate - Attributes

    Ok, all I need now is to add the field "attributes_price_factor" into the export and import

    Anyone??

  4. #4
    Join Date
    Mar 2010
    Posts
    251
    Plugin Contributions
    0

    Default Re: Easy Populate - Attributes

    Did you ever figure this out?

    I am having similar issues, posted about it here...

    http://www.zen-cart.com/forum/showthread.php?t=171211

  5. #5
    Join Date
    Jul 2011
    Location
    Raleigh, NC
    Posts
    30
    Plugin Contributions
    0

    Default Re: Easy Populate - Attributes

    I'd like an answer to this too. I can't figure out how to make EP do what I paid for it to do, specifically, manage product attributes and pricing. Did I waste my $65?

 

 

Similar Threads

  1. v150 Easy Populate 4 vs. Easy Populate CSV - What's going on with so many Easy Populates?
    By oleancomputers in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 20 Jun 2013, 05:58 PM
  2. attributes and easy populate
    By tomwitt in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 24 Dec 2009, 10:37 PM
  3. Easy Populate - how do I do attributes?
    By affordablewebs in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 27 May 2009, 09:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg