Jump to content
Latest News: (loading..)
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

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

×