Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Increase Shipping Weights via SQL


Mort-lemur

Recommended Posts

Posted

Hi Everyone,

Hope everyone is keeping safe and well in these scary times.

Im looking to run an sql to increase the shipping weight of products if under 1kg to 1.1kg leaving all other weights unchanged.

Could do with some help as I dont want to destroy my database :)

Many Thanks

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted
update products set products_weight = 1.1 where products_weight < 1;

You might like to take a backup of the products table (in phpmyadmin) prior to doing so.

Posted

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Thanks Gary, worked a treat

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...