Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order Email


beano

Recommended Posts

Greetings all!

 

I recently install the CCGV(trad) contribution and all went well. I tested sending vouchers, sending discount coupons, redeeming and even purchasing and releasing certificates and all went well without any major issues.

 

However I do have an issue with the order email that is sent when purchasing the certificate. I made the test purchase with check/money order and although the product is virtual, the delivery address heading along with a comma is showing:

 

Delivery Address

------------------------------------------------------

 

 

,

 

 

Billing Address

------------------------------------------------------

test user

123 any street

.

.

.

.

 

In the checkout_process.php file there is a routine which is supposed to only show the delivery address

if the product is non virtual:

 

if ($order->content_type != 'virtual') {

$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .

EMAIL_SEPARATOR . "\n" .

tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n";

}

 

However in my case it's showing. I set up the cert with zero weight, enabled downloads and entered GIFT in the model field.

 

Any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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