Jump to content

Archived

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

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.

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

×