Add custom fields to shopping cart and notification emails

  • Posts: 15
  • Thank you received: 0
  • Hikashop Business
8 months 4 weeks ago #359309

Hi,

I removed them because when I want to do the checkout, I got this error: 0 - syntax error, unexpected single-quoted string " "

Thanks.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 months 4 weeks ago #359311

Hi,

You must have made a mistake. Please try again. If you still get the error, please provide a screenshot of the code you have added.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
  • Hikashop Business
8 months 3 weeks ago #359355

Hi,

This is the code I used:
<?php $mail->subject = 'Omnitron Quote List Requested from: ' . $data->cart->billing_address->company ' ' . $data->cart->billing_address->address_state ' ' . $data->cart->billing_address->address_country; ?>

Thanks.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 months 3 weeks ago #359356

Hi,

You're missing some dots.
It should be:

<?php $mail->subject = 'Omnitron Quote List Requested from: ' . $data->cart->billing_address->company . ' ' . $data->cart->billing_address->address_state . ' ' . $data->cart->billing_address->address_country; ?>

The following user(s) said Thank You: omnitron

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum