Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multiple ship rates v1.0


Guest

Recommended Posts

I have this installed and it does work, however the text is not what I want to appear.

for example

USPS Priority (MODULE_SHIPPING_USPSPRIORITY_TEXT_WAY): $4.20

This is how it appears in checkout...Well I don't want it to say (MODULE_SHIPPING_UPSPRIORITY_TEXT_WAY) I'd rather it say something more intelligent like a description.

Somehow in modifying, I must have messed up...Anyone have this problem and know how to get it to appear properly. It seems to be taking the text from the catalog/includes/modules/shipping/....php files because in the catalog/includes/language/english/modules/shipping/.....php files it has a nice little description et al

catalog/includes/modules/shipping/uspspriority.php

// class methods
   function quote($method = '') {
     global $order;

     $this->quotes = array('id' => $this->code,
                           'module' => MODULE_SHIPPING_USPSPRIORITY_TEXT_TITLE,
                           'methods' => array(array('id' => $this->code,
                                                    'title' => MODULE_SHIPPING_USPSPRIORITY_TEXT_WAY,
                                                    'cost' => MODULE_SHIPPING_USPSPRIORITY_COST)));

catalog/includes/languages/english/modules/shipping/uspspriority.php

 

define('MODULE_SHIPPING_USPSPRIORITY_TEXT_TITLE', 'USPS Priority');
define('MODULE_SHIPPING_USPSPRIORITY_DESCRIPTION', 'USPS Priority Mail with Delivery Confirmation within USA');
define('MODULE_SHIPPING_USPSPRIORITY_WAY', 'Cheapest Way');
?>

Have I done something completely dumb??

thanks for any info...

Teresa

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...