Guest Posted August 12, 2007 Share Posted August 12, 2007 i am trying to get a list of all of my shipping rates on shipping.php i tried using the contribution "Shipping Costs as Table" but it only selects the cheapest method and displays a list of countries. i would like my list to be outlined by the prices only. (my shipping rates are configured to be based on price) anyone know of a way to achieve this? Quote Link to comment Share on other sites More sharing options...
satish Posted August 12, 2007 Share Posted August 12, 2007 Table rate contribution class has a function quote. It returns return $this->quotes which is an array. Now You can call this on Your shipping page by creating an instance of this module and then once You have this array with some simple coding get it displayed. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted August 12, 2007 Share Posted August 12, 2007 hi satish, could you give me a more in-depth example of what I should use? this type of stuff is way out of my league of knowledge. :) Quote Link to comment Share on other sites More sharing options...
boy143 Posted August 13, 2007 Share Posted August 13, 2007 I would like to know this also. I am trying to add shipping cost to the column_right but do not know how to code it. I only use table rate shipping module. Any help would be great. Quote Link to comment Share on other sites More sharing options...
satish Posted August 13, 2007 Share Posted August 13, 2007 steps: <?php $table_cost = split("[:,]" , MODULE_SHIPPING_TABLE_COST); $size = sizeof($table_cost); for ($i=0, $n=$size; $i<$n; $i+=2) { echo "Upto :" ; echo $table_cost[$i]; echo " Cost is"; echo $table_cost[$i+1]; } ?> Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
satish Posted August 13, 2007 Share Posted August 13, 2007 I would like to know this also. I am trying to add shipping cost to the column_right but do not know how to code it. I only use table rate shipping module. Any help would be great. create a shippin_box.php file paste the code I stated in the above comments. Place this file in the box folder. Now in right column.php look at other code how box files are included. That should do. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted August 14, 2007 Share Posted August 14, 2007 satish, it just displays: Upto :MODULE_SHIPPING_TABLE_COST Cost is on the shipping page. i tried adding: require(DIR_WS_MODULES . 'shipping/table.php'); require(DIR_WS_CLASSES . 'object_info.php'); no luck Quote Link to comment Share on other sites More sharing options...
satish Posted August 14, 2007 Share Posted August 14, 2007 This implies that table rate is not installed on Your site. As the value for MODULE_SHIPPING_TABLE_COST is in the datbase. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted August 16, 2007 Share Posted August 16, 2007 i only use table rates on my website, but i use several different ones (to offer different rates to local and overseas, etc). the rates are calculated by cart subtotal and customer shipping address Quote Link to comment Share on other sites More sharing options...
satish Posted August 16, 2007 Share Posted August 16, 2007 use shipping estimator contribution. Satish Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted August 28, 2007 Share Posted August 28, 2007 where can i find it? (do you have a direct link to it?) Quote Link to comment Share on other sites More sharing options...
satish Posted August 28, 2007 Share Posted August 28, 2007 http://www.oscommerce.com/community/contributions,3072/ Satish Mantri Quote Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
Guest Posted February 17, 2008 Share Posted February 17, 2008 old topic, but i did figure out a way to display these on the fly without having to estimate them :) http://addons.oscommerce.com/info/5748 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.