Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Have performed countless searches on how to add new fields to EP. I'm trying to follow one post that appears earlier in this huge topic.

 

The instructions:

 

1. Install surfalot's Easypopulate version. (done)

2. Add new fields to database. (done)

3. Edit the Easypopulate file and add new fields. (done)

 

4. To actually show the fields, you need to edit the products_info.php (sic) file, add the new fields to the sql-query and do an echo with the field e.g. for the already existing products_weight field:

CODE

<?php echo $product_info['products_weight']; ?>

 

Problem: I have a product_info.php (not products_info.php), but there's no code like this in the file.

I've also searched through other files and can't find it.

 

The other question I have is do I need to increase the number of fields from the default 7 to whatever I need? And where's this setting?

 

Please, if anyone has it this using these instructions, or knows what might be wrong, let me know!! I'm going nuts trying to add new fields.

 

thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...