Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi! I installed Purchase Without Account in my osCommerce and everything seems to work flawlessly - except that in the email the customer (and store owner) receives after the customer places an order there's a weird EMAIL_WARNING text between the order date and the list of products. I've gone through so many files my head is spinning by now but I can't figure out how to get rid of it. And as far as I can see, the warning as been defined so I have no idea why it says EMAIL_WARNING instead of the real text or why it even appeared there. Can anyone help me? :/

 

define('EMAIL_WARNING', 'Tämä sähköpostiosoite annettiin verkkokaupallemme asiakkaamme toimesta. Mikäli et kirjautunut asiakkaaksemme, ole hyvä ja lähetä sähköpostia osoitteella ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");
?>

Posted

Do you see just EMAIL_WARNING stuck in the email, or do you see the entire line you gave above (EMAIL_WARNING plus the Finnish text)? If just EMAIL_WARNING, it sounds like that define isn't getting run by PHP. If the whole thing, is there a <?php just before it? In that case, it looks like that PHP define is stuck outside of a PHP code block (in HTML block), but is missing its PHP start tag and is being interpreted as HTML text. Try adding <?php before the define line.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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