Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Has anybody written a script to import product attributes from a CSV file into the SQL database file: products_options_values_to_products_options ?

 

This would be so helpful for so many people!

 

The file only needs the three fields...

 

products_options_values_to_products_options_id

products_options_id

products_options_values_id

 

I have products that have an option of picking the state. Entering 50 different options for each product seems very cumbersome.

 

I thought of just putting in a text box, but there are times when one or more of the states are not available, so I have to be able to disable them.

 

What I would want to do is have an options csv that I maintain offline and upload when it needs changed to overwrite the entire products_options_values_to_products_options file.

 

I am just learning php (from all of you!) so writing it myself isn't a viable option!!!

 

Thanks!

 

Dave

 

ps i have looked at the other contributions that import and they are all for products, not options....

Posted

Disregard....

 

I realized this can be easily accomplished with mySQL....

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...