Jump to content
Latest News: (loading..)
VJ

Easy Populate & Products Attributes

Recommended Posts

50 minutes ago, kymation said:

To make life a bit easier, you can install the Compatibility Addon.  That allows you to use the older Addons (like Easy Populate) without changing code. It doesn't solve all of the problems with older Addons, but it helps.

Regards

Jim

Thanks Jim I'll have a look. Ive got it working - almost! it loads and bui;lds a download for me but i cant get it to import any products grrr

Share this post


Link to post
Share on other sites

The fix is by tgely Posted November 5, 2013

 

 

Make Easy Populate add new products when using mysqli in database.php and PHP7

change:

// determine processing status based on dropdown choice on EP menu if ((sizeof($row) > 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "update")) { $process_product = true; } elseif ((sizeof($row) == 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "addnew")) { $process_product = true; } else { $process_product = false; }

 

to:

// determine processing status based on dropdown choice on EP menu if ((sizeof($row) > 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "update")) { $process_product = true; } elseif ((is_null($row) || sizeof($row) == 1) && ($_POST['imput_mode'] == "normal" || $_POST['imput_mode'] == "addnew")) { $process_product = true; } else { $process_product = false; }

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×