Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Table rate shipping


JonoB

Recommended Posts

Hi,

I have table rate shipping based on the weight of the goods, which works 100%.

 

What I would like to do in the checkout_shipping page, show the actual weight of the goods.

 

I have seen that in includes\languages\english\modules\shipping\table.php that there is a define as follows:

 

define('MODULE_SHIPPING_TABLE_TEXT_WAY', 'Packing & Postage');

define('MODULE_SHIPPING_TABLE_TEXT_WEIGHT', 'Weight');

 

I then created another define as follows

define('MODULE_SHIPPING_TABLE_TEXT_UNITS', 'grams');

 

Using the above three defines, I would like checkout shipping to say something like

Packing and postage : 150 grams

 

I assume that this now needs to be referenced in includes\modules\shipping\table.php, in some like the following:

 

MODULE_SHIPPING_TABLE_TEXT_WAY . ' : ' . $shipping_weight . ' ' . MODULE_SHIPPING_TABLE_TEXT_UNITS

 

But I cant get it to work!!

 

Any help much appreciated.

Link to comment
Share on other sites

I just posted a solution to this here:

 

http://www.oscommerce.com/forums/index.php?showtopic=92995&hl=

 

HTH,

 

Terry

Terry Kluytmans

 

Contribs Installed: Purchase Without Account (PWA); Big Images, Product Availability, Description in Product Listing, Graphical Infobox, Header Tags Controller, Login Box, Option Type Feature, plus many layout changes & other mods of my own, like:

 

Add order total to checkout_shipment

Add order total to checkout_payment

Add radio buttons at checkout_shipping (for backorder options, etc.)

Duplicate Table Rate Shipping Module

Better Product Review Flow

 

* If at first you don't succeed, find out if there's a prize for the loser. *

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...