Hi - could someone tell me how to remove the brackets which appear around MODULE_SHIPPING_FLAT_TEXT_WAY ( defined in includes\languages\english\modules\shipping) which appears whenever totals are displayed. I've looked everywhere.
Thanks
Hi - could someone tell me how to remove the brackets which appear around MODULE_SHIPPING_FLAT_TEXT_WAY ( defined in includes\languages\english\modules\shipping) which appears whenever totals are displayed. I've looked everywhere.
Thanks
anyone with any ideas?
I believe the parens that you are looking for are in the
/includes/classes/shipping.php
Around line 136:
Note: there are no overrides for this file ...PHP Code:
'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')',
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi - thanks for your reply. I've just made the code change so that it reads
'title' => $quotes['module'] . $quotes['methods'][$i]['title'],
but I am still getting brackets. I've relogged in etc but no luck. Any ideas?
** EDITED ** dumb thought ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Note: you did not try to use an override on the /classes did you? There are no overrides for the /classes ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
No, I updated includes/classes/shipping.php
It's been driving me mad for ages.
I actually have no text defined for MODULE_SHIPPING_FLAT_TEXT_WAY and just want MODULE_SHIPPING_FLAT_TEXT_TITLE to be displayed, and currently I'm getting Postage & Package () which doesn't look great
Okay ... I missed a few ...
Places to remove the parens for shipping ...
NOTE: use your templates and overrides directories ...
/includes/modules/shipping_estimator.php
Line 178:
/includes/templates/templates_default/templates/tpl_modules_shipping_estimator.phpPHP Code:
$order->info['shipping_method'] = $selected_quote[0]['module'].' ('.$selected_quote[0]['methods'][0]['title'].')';
search for: (
Lines 97, 103, 109, 124, 130, 136
and change the parens on each line
Example Line 97 looks like this:
/includes/classes/shipping.phpPHP Code:
<td colspan="2"><?php echo $quotes[$i]['module']; ?> (<?php echo $quotes[$i]['error']; ?>)</td>
Line 136:
/includes/modules/pages/checkout_shipping/header_php.phpPHP Code:
'title' => $quotes['module'] . ' (' . $quotes['methods'][$i]['title'] . ')',
Line 152:
that should be all of them ...PHP Code:
'title' => (($free_shipping == true) ? $quote[0]['methods'][0]['title'] : $quote[0]['module'] . ' (' . $quote[0]['methods'][0]['title'] . ')'),
Note: this will be reworked in v1.4 for a smoother and cleaner method to make these changes ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
thank you - exactly what I was looking for !! perfect title and perfect answer = perfect
Thanks for the update that this worked for you ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks