VM 3
Hello,It is possible to create for each order status a custom email ?
Example
sent : custom email ?
pick up : custom email ?
Thank you
Regards,
yes, with:
https://www.minijoomla.org/extensions/virtuemart-extensions/virtuemart-mailing-manager
You can take the language variable for the statusname and use it to make a language string by adding something like _MSG to it.
Then you get something like:
COM_VIRTUEMART_ORDER_STATUS_PENDING_MSG
COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_BY_SHOPPER_MSG
COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_MSG
For this you can add Joomla language overrides.
The code can be added in mail_html_shopper.php:
if (!empty($this->orderDetails['details']['BT']->order_status_name)) {
$statusname = $this->orderDetails['details']['BT']->order_status_name;
}
$statusmessage = $statusname . '_MSG';
Just echo that in the same file after the part that says COM_VIRTUEMART_MAIL_SHOPPER_NAME.
<?php echo vmText::_($statusmessage); ?>
Hope it helps.
Stefan
thank you
@pinochico I sent you private message
@StefanSTS If I had understand, If I want to use for each order statut
I have to create in the language.ini file the variant like_MSG "COM_VIRTUEMART_ORDER_STATUS_PENDING_MSG
COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_BY_SHOPPER_MSG
COM_VIRTUEMART_ORDER_STATUS_CONFIRMED_MSG"
Sorry I can't find the folder for the file "mail_html_shopper.php" ?
In which file I shoud custom the emails ?
Thank you.
regards
The file can be found here:
/components/com_virtuemart/views/invoice/tmpl/mail_html_shopper.php
It would be good to make an override in your template for it.
So copying that file to:
/templates/YOUR_TEMPLATE/html/com_virtuemart/invoice/mail_html_shopper.php
Here you can edit that file and it shoud be taken instead of the core file which would be updated to the latest core version on VM update.
Language Overrides in Joomla can be easily done via the Joomla language override feature.
Find it in the Joomla menu -> Extensions -> Languages -> Overrides. Add it for administrator and use the checkbox "both", so it works for Frontend and Backend. This is important.
STS
To TAIWAR:
I have not message :)
By the way, because I sell my own email layouts, I also tested the email manager by VirtuePlanet.
I would recommend it for users that just want to have a component in the backend that does all the work in one place.
It got everything for VirtueMart and Joomla emails that someone would want to have.
I don't have a direct link, but you find VP Email Manager on virtueplanet.com in the extensions section.
STS
Btw.
Virtuemart Mailing Manager Pro is 100% better, I know, we use on 32 shops and created some new functions and we tryied VP.
But maybe you know as the old name VM Emails Manager Plus? :)
Quote from: pinochico on January 20, 2021, 23:31:09 PM
Btw.
Virtuemart Mailing Manager Pro is 100% better, I know, we use on 32 shops and created some new functions and we tryied VP.
But maybe you know as the old name VM Emails Manager Plus? :)
VP Email Manager (https://www.virtueplanet.com/extensions/vp-email-manager) was officially released only last night. Can you explain how did you test it? I understand Stefan's verdict since he was one of the beta testers of the extension.
By the way, I see that Virtuemart Mailing Manager Pro (forked version of old VM Emails Manager Plus) still needs a core VirtueMart hack which is never ideal for any sites.
BTW
VP Email Manager (https://www.virtueplanet.com/extensions/vp-email-manager) was officially released only last night.
Definitelly. I see this app before 1/2 year in extesion list, see documentation and know about this. And yes, last night I check demo and check options.
Quotestill needs a core VirtueMart hack which is never ideal for any sites.
Sure, one file is changed after instalation automatically - shopfunction.php or you can edit manually. But now our 32 shop have a lot of new option and we need this oprtion for automatically sending email after order or change status order.
Sure, we changed a lot of core VM files for Pro shop, because in VM standard we don't use VM function as well (model product, user,....). And upgrade is very easy, we working with gitlab and brachnes.
Im happy, then I can use this app from 2012 still.
But definitelly your app is light alternative for templating emails, I'm sure, but without a lot of functions and option in this time.
I'm sure you will to upgrade, the same as we created upgrade and added new function (folow-up, waiting list, tracking URL of shipping order, repeteable payment URL in email...) what we need for pro shop.
Quote from: pinochico on January 21, 2021, 09:51:13 AM
Definitelly. I see this app before 1/2 year in extesion list, see documentation and know about this. And yes, last night I check demo and check options.
Do not know how you could see the extension in extension list when I developed and released it just yesterday. Which extension list do you mean? We would love to know.
The demo site was not up till the morning. It was put live just few hours ago.
Quote from: pinochico on January 21, 2021, 09:51:13 AM
Sure, one file is changed after instalation automatically - shopfunction.php or you can edit manually.
Being as a Joomla and VirtueMart developer for over a decade I will never recommend any such hacks to anyone. I know quite a few users of VM Emails Manager Plus faced huge problems after each VirtueMart updates. Hacks are never a wise decision, no matter how it is deployed.
Quote from: pinochico on January 20, 2021, 23:31:09 PM
Virtuemart Mailing Manager Pro is 100% better, ... we tryied VP.
I was simply giving an alternative to the minijoomla mail extension.
I did not offer my opinion which one is better.
I can offer my thoughts on VirtuePlanet extensions:
With VirtuePlanet extensions and templates I always know they are coded by someone who does the work from scratch.
The extensions are very reliable and follow the Joomla and VirtueMart coding style.
If any issues or requests arise I always get a competent answer, solution or even a new feature.
So I am a happy customer for years.
Since VirtuePlanet has a relatively small number of extensions, but well sorted, I know that they have the time to maintain them properly.
And to be said. VirtuePlanet can be seen as a direct competitor to my own commercial email layouts, if it comes to the email manager. Still I am happy to say their email manager is a very good solution for most cases.
Regarding the minijoomla mail extension I can definitely say that I would never install an extension that alters a VirtueMart core file.
That kind of practice was breaking shops for years.
Just my 2 cent
Stefan
Quote from: pinochico on January 21, 2021, 09:51:13 AM
BTW
VP Email Manager (https://www.virtueplanet.com/extensions/vp-email-manager) was officially released only last night.
Definitelly. I see this app before 1/2 year in extesion list, see documentation and know about this. And yes, last night I check demo and check options.
Quotestill needs a core VirtueMart hack which is never ideal for any sites.
Perhaps pinochico confuses about the old:
Interamind VM Email Manager Pro ?
Quote from: sirius on January 21, 2021, 16:50:53 PM
Quote from: pinochico on January 21, 2021, 09:51:13 AM
BTW
VP Email Manager (https://www.virtueplanet.com/extensions/vp-email-manager) was officially released only last night.
Definitelly. I see this app before 1/2 year in extesion list, see documentation and know about this. And yes, last night I check demo and check options.
Quotestill needs a core VirtueMart hack which is never ideal for any sites.
Perhaps pinochico confuses about the old:
Interamind VM Email Manager Pro ?
No, it can not be because his "Virtuemart Mailing Manager Pro" is just a forked version of the old "Interamind Email Manager Plus". The same old extension with a different name.
Hello thank you everybody for your comment.
I haven't test yet from minijoomla extension for the email but For the extension in virtuemartplanet it seems not easy for users like me that have not enough experience in the php or css code...it is possible to have an edit form that we can write the text in the email and add the variable to use from virtuemart?
Thank you
But that's exactly what you can do with VP Email Manager ???
There's template management include with variables like you want using the Mustache (http://mustache.github.io/#demo)
Quote from: TAIWAR on January 21, 2021, 21:24:43 PM
For the extension in virtuemartplanet it seems not easy for users like me that have not enough experience in the php or css code...it is possible to have an edit form
Have a look at the documentation.
https://www.virtueplanet.com/documentation/joomla-extensions/email-manager-user-guide
When I tried the extension I just altered some text in an editor and used all the other default settings. You don't really need any PHP or CSS to get it running.
You can activate it with all defaults and it works.
The advantage is, that you can change some CSS or variables if you want to.
STS
This is not directly related to the topic:
I was informed that my communication in English is aggressive and difficult for someone to understand.
Ok, I'm sorry for the tone of the tone, I attribute it more to my google translate - I'm not a native speaker.
I try to write short sentences where a polite word may be missing.
But the goal is not to attack anyone.
And for those who don't know, today I am the only successor to the former company EasySoftware. If you want to know more about what this company has created and what we are continuing with, I will answer the questions in the messages - there is no suitable place here (and this also applies to local developers).
I think Max and Stano from Rupostel have more info.
And now on the topic:
Because I don't like advocating which extension is better, a demo will be ready from monday, where everyone can try out the features and decide for themselves.
I can only say for myself that I am happy that we have managed to extend the life of the application and I can use it in e-shops with all the great features we need :)