Author Topic: SQL Statement for updating required shipping  (Read 4212 times)

Offline thomasaswain

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
SQL Statement for updating required shipping
« on: December 06, 2016, 02:23:26 PM »
Hello,

What/Where is the SQL statement for updating required shipping? I've got about 18k products and going through each one is simply not possible.

Thanks for the help!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL Statement for updating required shipping
« Reply #1 on: December 07, 2016, 04:23:09 AM »
to turn off use
Code: [Select]
UPDATE `ac_products` SET `shipping`= 0;
or 1 to turn on.

Where ac_ - your tables name prefix
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline thomasaswain

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: SQL Statement for updating required shipping
« Reply #2 on: December 07, 2016, 07:27:07 AM »
Thanks for the response.

Select 1 will turn shipping ON so I can use my price based shipping extension correct?

Thanks again for your help

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL Statement for updating required shipping
« Reply #3 on: December 07, 2016, 08:35:53 AM »

Select 1 will turn shipping ON so I can use my price based shipping extension correct?


1 means that your product requires shipping.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline thomasaswain

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: SQL Statement for updating required shipping
« Reply #4 on: December 07, 2016, 02:16:44 PM »
Where do I access the coding section to key this?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL Statement for updating required shipping
« Reply #5 on: December 07, 2016, 03:00:15 PM »
phpmyadmin
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline thomasaswain

  • Newbie
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: SQL Statement for updating required shipping
« Reply #6 on: December 12, 2016, 09:40:43 AM »
On the admin page, where should I go? System then to one of the sub-fields?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: SQL Statement for updating required shipping
« Reply #7 on: December 12, 2016, 12:29:52 PM »
On the admin page, where should I go? System then to one of the sub-fields?

what for? To run SQL?
No. Just use phpmyadmin to run sql query.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod