Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: how to move the content in form "SKU" to "Model" in each products all at once  (Read 4630 times)

Offline denagpam

  • Full Member
  • ***
  • Posts: 103
  • Karma: +7/-9
    • View Profile
Hi

I have a problem that I have fill the wrong form in which the contents in form "SKU" should be in the form "Model"

so how to move them onto the latter form ?

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • View Profile
Make a backup of your database PRIOR to working in it.

In your database,  the two fields are located in the table called Products.   
Export that table to a CSV spreadsheet move your values from SKU column to the Model Column.   
Save as CVS.
Import your table back.





Offline epimadman

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
Is there a way to issue an SQL command to copy all from the SKU table to the MODEL table?  For someone with 35000 products, exporting products won't work even with high memory allocations.

Ideally there would be an easier way to do this as the sku is required to order from the distributor and it doesn't show up in print invoice.  Any suggestions?

 

Powered by SMFPacks Social Login Mod