Post by SFHMF » Fri Mar 09, 2018 2:15 am

Hi,

I am new to the OpenCart product and looking to implement it for a charity I help with. I am looking to do the following right now:
  • Have a different email header on order confirmations from that of the image in the store. Right now it looks like it uses the store image and I don't want that
  • Pending on a product that is purchased (could even be by category) I want to include different information or have a different email sent. What is the best way of handling this? Is there a field I can use on the product?
Is the best way to do this all through a module of some sort? email manager?

Thanks in advance.

Newbie

Posts

Joined
Thu Mar 08, 2018 6:34 am

Post by straightlight » Fri Mar 09, 2018 11:30 pm

Have a different email header on order confirmations from that of the image in the store. Right now it looks like it uses the store image and I don't want that
- catalog/view/theme/<your_theme>/template/mail folder
Pending on a product that is purchased (could even be by category) I want to include different information or have a different email sent. What is the best way of handling this? Is there a field I can use on the product?
It would be more than editing a simple field. The Opencart cart core file handles the products in the cart page by products, quantity, option, recurring with a token. Adding a category ID relatively would take extensive coding to achieve your request. To buy sometime, I would rather suggest to look into the Marketplace for an extension. If none can be found, you could also post a new inquiry into the Commercial Support section of the forum to get this done as a custom job.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by SFHMF » Fri Mar 09, 2018 11:48 pm

Thanks for the reply.

Are you saying for the email header that there is no way to manage that within the admin side itself (besides using the company logo) that it needs to be hard coded within the template? if so I am fine with that, just want to make sure there wasn't a better way.

Thanks

Newbie

Posts

Joined
Thu Mar 08, 2018 6:34 am

Post by straightlight » Sat Mar 10, 2018 12:26 am

Correct, they are hardcoded.

- catalog/view/theme/<your_theme>/template/mail folder - look for these lines:

Code: Select all

<div style="width: 680px;"><a href="{{ store_url }}" title="{{ store_name }}"><img src="{{ logo }}" alt="{{ store_name }}"

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: belowcost and 361 guests