Jump to content
Sign in to follow this  
Mort-lemur

Increase Shipping Weights via SQL

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.


Help shape the future of Phoenix; join the Phoenix Club

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×