Hi,
I'm only using one shipping module (ceon advanced shipper) and since it is so advanced (:)) I no longer have the need of showing the name of the actual shipping module. (Leaving it blank in the language file is unfortunately no option... results in a blank page and ceon even warns about this in the language file)
By default, it would look like this on checkout step 1 :
The customer obviously don't need to know what my shipping module is called, so I changed it to "How do you want us to ship your stuff?". Not the best solution, but it was good enough at the time :).
Now I'm looking for the best way to completely remove this line, from all places where it's being shown.
Eventually I figured out that what is being shown there is a variable called "module", which is created in the actual shipping module, in this case :
So, after this amazing discovery :), I went back to my tpl_checkout_shipping_default.php file, and by commenting out this line I at least got it to not show on checkout step 1 :Code:$this->quotes = array( 'id' => $this->code, 'methods' => array(), 'module' => MODULE_ADVANCED_SHIPPER_DEFAULT_TITLE );
However, it's still being shown at other pages, for example in the shipping estimator and at checkout step 3.Code:<fieldset class="box"> <span class="legend"><?php echo $quotes[$i]['module']; ?> <?php if (isset($quotes[$i]['icon']) && zen_not_null($quotes[$i]['icon'])) { echo $quotes[$i]['icon']; } ?></span>
I obviously don't need to show this info here :
My php skills aren't that great yet, and just randomly removing every "$module" from shipping_estimator.php and hoping for the best feels risky, plus I assume it needs to be changed in other places as well.
If someone could point me in the right direction I would be truly grateful!
Cheers
Peter


Reply With Quote
