chimol Posted May 19, 2010 Share Posted May 19, 2010 Hi all, I would like to disable the table rate from showing up when the items in the shoppers cart are under 100lbs. How would I go about doing something like this? It seems like there should be some simple code to exclude the table rate from showing unless the weight in the shopping cart exceeds a specified number (like 100). I have a several large items that can ship, but don't want to have the table rate showing a cost fo $125 for shipping on something like a book or cd. I tried starting the table rate at 100lbs, but when I do..the shopping cart for items like books or CD's shows the lowest amount in the table rate. Thanks for any help you can give me on this, Steve Quote Steve I appreciate all the help that everyone on this site has given me! Link to comment Share on other sites More sharing options...
chimol Posted May 19, 2010 Author Share Posted May 19, 2010 Nevermind...I found out how to do it. It took a bit of searching, but it's here....thanks! Quote Steve I appreciate all the help that everyone on this site has given me! Link to comment Share on other sites More sharing options...
gkmotion Posted June 22, 2010 Share Posted June 22, 2010 Please share! I'm trying to do something similar. Thanks! Quote Link to comment Share on other sites More sharing options...
gkmotion Posted July 1, 2010 Share Posted July 1, 2010 Solution via Groundation: if ( ($this->enabled == true) && ($shipping_weight <= 2) ) { $this->enabled = false; return; } (Put this just above the following lines) return $this->quotes; } This disables the shipping module you put the script in ie. catalog->includes->modules->shipping->table.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.