Jump to content
VJ

Easy Populate & Products Attributes

Recommended Posts

I have installed this version: Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip
Version Checker    
Installed Version: osCommerce Online Merchant v2.3.4.1 CE

And I have installed JcMagpie Version of Easypopuate.

How can I add the GTIN-number column in Easypopulate?
I have tried with this code:
$custom_fields[TABLE_PRODUCTS] = array( 'products_gtin' => 'GTIN');

In what line number shall I add above code in easypopulate if above code is correct?

I have tried to add this code to line number 270 but then when I login to the admin panel and click on the link to Easypopulate the website does not work anymore.
If I upload JcMagpie  orginal Easypopulate file again then it works again.
But it stops working as soon as I add above code line.
What am I doing wrong?

 

1701621124_Easypopulatepicture.thumb.jpg.ff4dc5a5b8b4a7097c658331a24e3708.jpg

 

Share this post


Link to post
Share on other sites

I received this reply from JcMagpie

You edited the wrong place!!

at line 303 in admin/easypopulate.php  use this. Replace the lines you have.

//$custom_fields[TABLE_PRODUCTS] = array(); // this line is used if you have no custom fields to import/export
$custom_fields[TABLE_PRODUCTS] = array( 'products_gtin' => 'GTIN');
$custom_fields[TABLE_PRODUCTS_DESCRIPTION] = array(); // this line is used if you have no custom fields to import/export

And now I am happy that it works.
THANK YOU VERY MUCH  JcMagpie

Share this post


Link to post
Share on other sites

anyone have any idea why all ep exports start with 2 spaces before v_products_model on the very 1st row (the header row)?

new install on 2.3.4.1 BS Frozen

  v_products_model v_products_name_1 v_products_description_1 v_products_url_1 ........


Jim Bullen - President

The Cigar Hut Group of Companies

 

 

Installed add-ons: (that now need to be upgraded to BS 2.3.4.1 Frozen)

PWA, MVS, Easy Populate, Dynamic Sitemap, Featured Products, MVS Order Editor, MVS Shipping Estimator, Google XML Sitemap, About Us, Ad Tracker, Address Enhancer, Also Purchased, Backorders, Category Descriptions, Dynamic Meta Tags, Contact Us Email Subjects, Country state Selector, Extra Address Line, Order Number in Email Subject, OSC Affiliate, Product Extra Fields, Review Approval System, Reviews in Product Display, Sold Out, Sold Out (but Displayed), Ultimate SEO URL's, Updated Spiders, Welcome Email Password, Pending Order Email, Who's Online Enhancement, CCGV, Easy Discounts, Customer Comments, Request a Review, Sales Report, plus many many more!

Share this post


Link to post
Share on other sites

Hi all, I have googled and searched and it seems no one has had this issue, Even thou I have installed 2 different versions on two different setup and got the same issue

Domain 1
osCommerce Online Merchant v2.3.4
Installed oscom-easypopulate-2-76i-for-v2-3-1-mx6dI-VE98G
One catalog has Multi Products but not Easy Populate and the other has Easy Populate but is missing Multi Products

Domain 2
osCommerce Online Merchant v2.3.4.1 CE
installed oscom-easypopulate-BS3-Test V1.0
One catalog has Quick Updates but not Easy Populate and the other has Easy Populate but is missing Quick Updates

On both server I ended up with the Catalog box being duplicated one has
image.png.ab9395a1ac52ede984bb7a088e22b904.png

Settings & Info

EP vers: 1.0 Beta
osCommerce Online Merchant v2.3
OS: Array
HTTP:
DB:
PHP: Array (Zend: )

Temp Directory:
/home/xxxxxx/public_html/temp/
Temp Dir is Writable
Magic Quotes is: off
register_globals is: off
Split files on: 300 records
Model Num Size: 12
Price with tax: false
Calc Precision: 2
Replace quotes: false
Field seperator: comma
Excel safe output: true
Preserve tab/cr/lf: false
Category depth: 7
Enable attributes: true
SEF Froogle URLS: false

Other Support:
MVS Support: false
Products Images: true
qpbp: false
Additional Images: false
Additional Images: false
More Pics: false
UltraPics Pics: false
HTC: false
SPPC: false
Extra Fields: false
PDF Upload: false
Master Products: false

<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/

  $cl_box_groups[] = array(
    'heading' => BOX_HEADING_CATALOG,
    'apps' => array(
      array(
        'code' => 'categories.php',
        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS,
        'link' => tep_href_link('categories.php')
      ),
      array(
        'code' => 'products_attributes.php',
        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,
        'link' => tep_href_link('products_attributes.php')
      ),
      array(
        'code' => 'easypopulate.php',
        'title' => 'Easy Populate',
        'link' => tep_href_link('easypopulate.php')
      ),
      array(
        'code' => 'manufacturers.php',
        'title' => BOX_CATALOG_MANUFACTURERS,
        'link' => tep_href_link('manufacturers.php')
      ),
      array(
        'code' => 'reviews.php',
        'title' => BOX_CATALOG_REVIEWS,
        'link' => tep_href_link('reviews.php')
      ),
      array(
        'code' => 'specials.php',
        'title' => BOX_CATALOG_SPECIALS,
        'link' => tep_href_link('specials.php')
      ),
      array(
        'code' => 'products_expected.php',
        'title' => BOX_CATALOG_PRODUCTS_EXPECTED,
        'link' => tep_href_link('products_expected.php')
      )
    )
  );
?>
<?php
/*
  $Id$

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2010 osCommerce

  Released under the GNU General Public License
*/

  $cl_box_groups[] = array(
    'heading' => BOX_HEADING_CATALOG,
    'apps' => array(
      array(
        'code' => FILENAME_CATEGORIES,
        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS,
        'link' => tep_href_link(FILENAME_CATEGORIES)
      ),
      array(
        'code' => FILENAME_PRODUCTS_ATTRIBUTES,
        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,
        'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)
      ),
      array(
        'code' => 'easypopulate.php',
        'title' => 'Easy Populate',
        'link' => tep_href_link('easypopulate.php')
      ),
      array(
        'code' => FILENAME_MANUFACTURERS,
        'title' => BOX_CATALOG_MANUFACTURERS,
        'link' => tep_href_link(FILENAME_MANUFACTURERS)
      ),
      array(
        'code' => FILENAME_REVIEWS,
        'title' => BOX_CATALOG_REVIEWS,
        'link' => tep_href_link(FILENAME_REVIEWS)
      ),
      array(
        'code' => FILENAME_SPECIALS,
        'title' => BOX_CATALOG_SPECIALS,
        'link' => tep_href_link(FILENAME_SPECIALS)
      ),
      array(
        'code' => FILENAME_PRODUCTS_EXPECTED,
        'title' => BOX_CATALOG_PRODUCTS_EXPECTED,
        'link' => tep_href_link(FILENAME_PRODUCTS_EXPECTED)
      ),
      array(
        'code' => FILENAME_DOCUMENTS,
        'title' => BOX_CATALOG_DOCUMENTS,
        'link' => tep_href_link(FILENAME_DOCUMENTS)
      )
    )
  );
?>

 

 

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

×