News:

Looking for documentation? Take a look on our wiki

Main Menu

Different Email Layout on Different Order Status

Started by raheelhir, June 06, 2015, 14:16:44 PM

Previous topic - Next topic

raheelhir

Dear, I want Different Email Layout on Different order status 

Example: When order create on website so invoice email sent to customer when admin change order status is confirmed, cancel or shipped so same email goes to customer with order status but I need different email layout when order status is set to shipped or cancel. I am very thanksfull to who can guide me regarding this issue

Thanks,

Raheel

AH

I have asked for such differentiation but this is not currently available with VM core

Hopefully someone will post here to let us know if this will be available at some point.

I would rather not add a component from a third party to control such functionality

Regards
A

Joomla 3.10.11
php 8.0

raheelhir

Thanks for reply Hutson.

Still I am working on this issue if anyone can give just a 1 hint so I can solve this issue

GJC Web Design

emails are constructed and rendered in components\com_virtuemart\helpers\shopfunctionsf.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

AH

This may be so

But there is still no way to differentiate the layout/format of an email by status code in core functionality.

i.e  Don't send the order line details on every type of status e.g. partial refund

Regards
A

Joomla 3.10.11
php 8.0

Milbo

The rendering function is in shopfunctionsf, but any layout is overridable. The order status also available.

I could add a test if a sublayout with the current orderstatus is available and use it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

AH

Hi Milbo

Yes I see the function

I could add a test if a sublayout with the current orderstatus is available and use it.

That would certainly help
Regards
A

Joomla 3.10.11
php 8.0

roman5527

Hi, there is way like make different email layout for different order status ?

thanks

Jörgen

Yes this is fully overridable. You have to override the files from the view invoice.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.


panagiotiss

Hi, can you please tell us how you solved it

thanks in advance

pinochico

#11
I don't know how, but we use VirtueMart Mailing Manager.
For every status we can create new HTML layout in Joomla editor with lot of Tags.
https://youtu.be/6b8lWeOSNHk
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products