Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Need a MySQL Query


Recommended Posts



I have one product options drop down (id=2) and i need to add 5000 values to it. I have the 5000 values in a csv file so I can copy them in a php array that I can traverse.


Does anyone know a mysql query to add product attribute values to attribute sets given we know the product_options_id always has a value of 2. I need to be able to execute the query via phpMyAdmin or mysql monitor as well as in php code.


Thanks in advanced


Peter -L

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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