Results 1 to 10 of 3833

Threaded View

  1. #11
    Join Date
    Jan 2009
    Posts
    31
    Plugin Contributions
    1

    Default Re: Easy Populate support for Version 1.2.5.4

    Quote Originally Posted by nagelkruid View Post
    Last thing i need is a check if a product_id allready exists in the array and if it does, do not add it again. (this is because i have some products copied over different categories and i only want those once in the output)

    I think i need to do something around line 762 while($row=) but i am really at loss :)

    any ideas?
    That should be really simple one liner.
    Line 1071:
    $filestring[] = $tempcsvrow;
    Change that to:
    $filestring[$row['v_products_model']] = $tempcsvrow;
    or
    $filestring[$row['v_products_id']] = $tempcsvrow;

    If there is a duplicate model or id, it will overwrite the same key instead of adding a new item.

    Quote Originally Posted by chadderuski View Post
    phazei,
    1) I imagine the EOREOR was a "simple" way to handle cross platform issues with reading end of line.
    @ini_set('auto_detect_line_endings',true);
    or to force it mac:
    stream_get_line($fp, 4096, "\r");

    Quote Originally Posted by chadderuski View Post
    phazei,
    2) Concerning old mods: My philosophy is more aggressive concerning a re-write. (I don't even think Linda's header thing exits anymore... from like zen 1.2..???) There are so many mods out there that it would be better to have a stable non-beta version that works with a default 1.38 install. Once that's done, you can go back and add functionality. It will also make porting to zen 2.0 easier since there are significant changes coming.
    I agree, a rewrite is a waste of time until 2.0 comes out, it's going to be significantly different. I only wanted to make changes to the one easypopulate file. A rewrite should split it up into multiple files, or make a class out of it.
    2.0 is supposed to come with a db backup system built in, so it probably won't even need easy populate.

    Someone might as well change the version number on EP to work with 1.38, there aren't any changes between 1.36 that I've seen that affect it at all.

    Quote Originally Posted by chadderuski View Post
    3) I would like to suggest a NEW thread for you CSV version. There are still many people using 1.2.5.4 and this is where they go for support. You're CSV version will only add to the confusion with the OSC ports, advanced ver, working and non-working free versions!
    You're probably right.

    Quote Originally Posted by chadderuski View Post
    4) To my knowledge no one has ever posted code that allows you to update quantity discounts with EP (not even the advanced paid version, though langer had talked about adding it), so quantity discounts is my baby (although it was a simple solution when I finally sat down to do it).
    I haven't even looked at how ZC does quantity discounts. It's probably stored in a different table. Would need to add a link to a different type of file to download if it's more than one setting per product. If not, it could just be tacked onto the full file at the end like I did with the meta.

    Quote Originally Posted by chadderuski View Post
    5) Fixing product attributes is more important than other mods, but fixing this once 2.0 may be a more constructive use of time.
    That's the file that stores like different color or size options for the products, right? What's broken with it?
    Last edited by phazei; 8 Jan 2009 at 10:57 PM.

 

 

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. v151 Difference between easy populate and Excel Populate
    By Kevin205 in forum General Questions
    Replies: 7
    Last Post: 22 Jan 2013, 04:33 AM
  3. v139h Easy Populate Free vs. Easy Populate Paid
    By fabienne in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Apr 2012, 02:37 PM
  4. Easy Populate support for Version 1.2.5.4 issue
    By txcharms in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 May 2010, 07:35 PM
  5. Easy Populate From osc vs. Easy Populate Free - from langer / modhole
    By relix in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 24 Oct 2009, 04:38 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR