Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hi I need help with small error AusPOST


WiseWombat

Recommended Posts

Hi when the customer receives there order confirmation email there are a few things that I would like to remove.

I would like to remove   and ): from the lines.

 

Here is and example being part of an order confirmation.

 

GST TAX 10.0%: $6.13

Sub-Total: $67.40

AusPOST Parcel Post (Delivery to 3806 - 1

days Estimated Delivery Time*1   ;boxes 1.67kg(s) (incl $2.35 insurance) ): $7.80

Total: $75.20

 

I am using Shipping AusPOST V2.2.

This contrubution works fine except for the display text in the customers order confirmation email .

I have looked through the various shipping.php files but I'm not to sure which files to edite any help would be appreciated.

Thanks: Martin

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

Hi when the  customer receives there order confirmation email there are a few things that I would like to remove.

I would like to remove   and ): from the lines.

 

Here is and example being part of an order confirmation.

 

GST TAX 10.0%: $6.13

Sub-Total: $67.40

AusPOST Parcel Post (Delivery to 3806 - 1

days Estimated Delivery Time*1   ;boxes 1.67kg(s) (incl $2.35 insurance) ): $7.80

Total: $75.20

 

I am using Shipping AusPOST V2.2.

This contrubution works fine except for the display text in the customers  order confirmation email .

I have looked through the various shipping.php files but I'm not to sure which files to edite any help would be appreciated.

Thanks: Martin

 

Changing this line may be what you are looking for

 

catalog/includes/modules/shipping/austpost.php line 98

 

$shipping_auspost_method = MODULE_SHIPPING_AUSPOST_TEXT_WAY. " <b>"  . $topcode . "</b> - " . $days . " " . MODULE_SHIPPING_AUSPOST_TEXT_SHIPPINGDAYS . "<br>" .$shipping_num_boxes . " " .MODULE_SHIPPING_AUSPOST_TEXT_BOXES  . " " . $total_weight . MODULE_SHIPPING_AUSPOST_TEXT_UNITS . $auspost_addons;

 

and check catalog/includes/languages/english/modules/shipping/austpost.php

 

<?php
/*
 $Id: auspost.php,v 2.0.2 2003/10/15

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

define('MODULE_SHIPPING_AUSPOST_TEXT_TITLE', 'AusPOST Parcel Post');
define('MODULE_SHIPPING_AUSPOST_TEXT_DESCRIPTION', 'AusPOST Parcel Post');
define('MODULE_SHIPPING_AUSPOST_TEXT_UNITS', 'kg(s)');
define('MODULE_SHIPPING_AUSPOST_TEXT_BOXES', 'boxes');
define('MODULE_SHIPPING_AUSPOST_TEXT_INCLUDE', 'incl');
define('MODULE_SHIPPING_AUSPOST_TEXT_HANDLING', 'handling');
define('MODULE_SHIPPING_AUSPOST_TEXT_INSURANCE', 'insurance');
define('MODULE_SHIPPING_AUSPOST_TEXT_SHIPPINGDAYS', 'days Estimated Delivery Time*');
define('MODULE_SHIPPING_AUSPOST_TEXT_WAY', 'Delivery to');
define('MODULE_SHIPPING_AUSPOST_TEXT_ERROR', '<font color="#FF0000">ERROR:</font></b> The delivery rate for this option cannot be determined at this time<br>If you prefer to use this option as your shipping method, please contact the store owner.');
?>

 

hth

James

Link to comment
Share on other sites

Changing this line may be what you are looking for

catalog/includes/modules/shipping/austpost.php line 98

 

$shipping_auspost_method = MODULE_SHIPPING_AUSPOST_TEXT_WAY. " <b>" ?. $topcode . "</b> - " . $days . " " . MODULE_SHIPPING_AUSPOST_TEXT_SHIPPINGDAYS . "<br>" .$shipping_num_boxes . " " .MODULE_SHIPPING_AUSPOST_TEXT_BOXES ?. " " . $total_weight . MODULE_SHIPPING_AUSPOST_TEXT_UNITS . $auspost_addons;

Thanks James:

I have check catalog/includes/languages/english/modules/shipping/austpost.php

and its OK

But in catalog/includes/modules/shipping/austpost.php line 98 is a different story.

That was the Line I was looking for, thanks again for your help. Martin :thumbsup:

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

  • 3 years later...

Hi there,

 

I am using the same contribution, but the SQL file won't load properly. Inside PHPmyAdmin, it results in an error when I install the SQL file.

 

I ended up installing the modles without updating the SQL files and weird things started coming up with payment modules missing and things like that.

 

That's also because I set it up with zones and without updating the SQL database with the file provided, it mucked up the check out process.

 

Any suggestions on how to update the database manually?

 

Thanks

 

Jon

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...