I'm having no luck at all doing this. I want to add some text in brackets at
Shipping:
so I have
Shipping(text here):
Where do I do this for text and html emails?
I'm having no luck at all doing this. I want to add some text in brackets at
Shipping:
so I have
Shipping(text here):
Where do I do this for text and html emails?
I have added this to checkout_process.php:
define('EMAIL_TEXT_SHIPPING', 'Shipping(text here): ');
and the addition does not appear in text email.
Search in Tools > Developers Toolkit under Language Files for Shipping: or Shipping (check "case sensitive" to limit irrelevant results). One of those will be the define that creates the present output.
Yes. I've been doing that for some hours now. No change to any page has any effect. Just doesn't do it:-
english.php
checkout_shipping.php
checkout_process.php
email_template_checkout.html
order.php
amongst others.
The word "shipping" can show up in several ways, including being descriptive text coming from a shipping module and thus be part of a subtotal. In that case it has nothing to do with emails at all (the email is just echoing what's been put together much earlier).
So, for what you're referring to, is this "Shipping:" part of a subtotal? Or is it merely a section title?
Is this for text-only emails? Or HTML-specific emails?
Perhaps you can show an example of what you're getting now?
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Overall, I want to insert text which makes it clear that shipping is not free everywhere. So, even though I can state clearly here and there that shipping is only free within Australia, and that charges apply for delivery outside Australia, when, for example, an invoice or order confirmation includes something like 'FREE SHIPPING!' or 'Shipping: $0.00' invites clever people to appeal to that to claim free shipping.
In this instance, what I am working to do is wherever 'Shipping:$0.00' appears - invoice, order, email, whatever - it reads 'Shipping(free in Australia only):0.00'. Odd I know, but that seems to be the best I can hope for. Eve though it's odd, it removes the ambivalence. If I can do that, I can move on to the next point at which the problem arises. But for now, I cannot bring this about on the order confirmation email - a language file? - order (even manually editing order), or invoice.
Wherever the shipping price is displayed, its text comes from the selected shipping method chosen by the customer during checkout. Those options come from each separate shipping module's language file. (Or if the module isn't multi-lingual-friendly then it's hard-coded directly in the shipping module itself.)
Perhaps update whichever shipping module you're using to offer free shipping to have the extra explanatory text in it.
That way anywhere the 0.00 shipping is displayed it'll also include your explanatory note.
And/or add something in the existing footer disclaimer text to address the matter.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks