Menu Content

Joomla! Erweiterungen

ARTIO JoomSEF logo

Joomla SEO, SEF URLs und Metadaten

Improve Joomla website SEO and user experience. JoomSEF generates SEF (search engine friendly), easy-to-understand URLs and metadata. Supports built-in Joomla components and many add-ons. Sitemap generation, Google Analytics, ...

Frei oder von €26.90Version 3.9 & 4.3Joomla 1.5 & 2.5
ARTIO Book it! logo

Buchung & Reservierung für Joomla

Allow fast and easy booking of your services or reservations of various objects. Multiple calendar layouts (month/week/day), optional supplements, capacity reservation, deposit option, payment module plug-ins and many more.

Frei oder von €49.00Version 1.3Joomla 1.5 & 2.5
ARTIO JoomDOC logo

Dokumentverwaltung für Joomla

Upload, edit, organize and download public or intranet documents using this Joomla document management system (DMS) and download manager. Offers advanced features such as versioning, fulltext document search ot WebDAV editing.

Frei oder von €29.00Version 3.4Joomla 1.5 & 2.5
B2Sync: VirtueMart - Pohoda

VirtueMart - Accounting Bridge

Connector for bridging between VirtueMart and accounting software. This tool can export VirtueMart orders and import them into accountancy SW as invoices or orders, update stock statuses in e-shop, etc.

€99.00Joomla 1.5 and VM 1.x. Joomla 2.5/3.4 and VM 2.0.x/3.0.x
ARTIO FusionCharts for Joomla logo

Animiert Flash Grafe für Joomla

Charting and graph plotting extension for Joomla CMS. Create different types of exciting JawaScript charts and integrate them into Joomla website. Feed data dynamically from file or database...

Free or from €59.90Version 1.1Joomla 1.5, 2.5

Zurück

How to disable VirtueMart order e-mails and invoices

Last revised:
Mittwoch, 24. Mai 2017

Answer

Because VM Invoice can supply VirtueMart e-mails, you will maybe want to disable default VirtueMart order confirmation e-mails.

Unfortunatelly, the only way how to do this now is modifying VM source code.

If using VirtueMArt  1.x.x, try this istructions:

http://www.chillcreations.com/blog/22-joomla/302-no-virtuemart-order-confirmation-e-mail.html

Disabling VirtueMart 2.0.22 or 3.x and newer PDF Invoices

To prevent customer from getting also VM native invoices, you first need to create a dummy order status in VirtueMart -> Order Statuses called for example "No Invoice", and then assign it to the "Default Order Status to create an invoice" option in VirtueMart -> Configuration -> Checkout settings in VM2 or in VirtueMart -> Configuration -> E-mails in VM3. That way the invoice PDF won't be created.

If you don't want your customers to receive any e-mails from VirtueMart at all, set your "No Invoice" status created in previuos step also to the "Default Order Status to send email to shopper" option in VirtueMart -> Configuration -> Checkout setting/Emails.

If using VirtueMart 2.x.x older than 2.0.22 (EDIT: New, better working integration):

  1. open file JOOMLA_ROOT/components/com_virtuemart/helpers/shopfunctionsf.php

    Find line 243 (can differ depends on your version of VM)
    Important is, replace line

    $user= self::sendVmMail($view, $recipient,$noVendorMail);

    with

    //edied: ARTIO: disable initial e-mail to customer. send only to vendor.
    if ($viewName=='invoice' AND in_array($vars['orderDetails']['details']['BT']->order_status, array('P','U')))
     $user = null;
    else
     $user= self::sendVmMail($view, $recipient,$noVendorMail);

  2. Open file JOOMLA_ROOT /administrator/components/com_virtuemart/models/orders.php
    Find line 1290  (can differ depends on your version of VM)

    And replace

    // Send the email
    if (shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor'])) {
    ...


    with

    // Send the email
    $res = shopFunctionsF::renderMail('invoice', $order['details']['BT']->email, $vars, null,$vars['doVendor']);
    if ($res===null) //edited: ARTIO: when sent to customer disabled, dont display message.
    return true;

    if ($res) {

This option will disable initial "pending order" E-mail. However, customer will get e-mails if you keep checked "notify customer" option when changing order status. If you want to disable e-mails also for other statuses, don't check „notify customer“ or edit condition in point 1 like:  


 … array('P','U' /* other statuses: */, 'P','S') ...

 

How to enabled sending of invoices from VM Invoice:

set up "Automatic" mode in Global configuration --> General configuration and also enabled "VM Invoice Autorun" plugin or set up cron task (described in VM Invoice documentation point 4.1).

 

 

Kategorie

Tags for this item

Ausgewählte Referenzen

Vaihtoautot.net

Vaihtoautot.net is a new version of the used and demo cars sale portal implemented by ARTIO. It is a mutual project of two big car sale companies in Finland - O.K. Auto Oy, Hämeen Auto Oy. Customers are given possibility to register and also crreate...

Lahtiset

Artio has designed and created a new site for Lahtiset - one of the most famous Finnish felt factory, a success story since 1921. The project was implemented in Joomla! CMS. Recently Lahtiset has started a collaboration with Aki Choklat, who has de...

Kennen Sie schon unsere Produkte? Fortfahren Sie direkt nach e-shop.

Aktuelles

VM Invoice 3.1.17 right now!

05.04.2019

New release of VirtueMart PDF Invoice generator - VM Invoice 3.1.17 is now available. This new version introduces fix reported by our users and new feature.

New JoomSEF 4.7.6 is here!

05.04.2019

JoomSEF 4.7.6 is now available for download or upgrade. This release include some new improvement, improvement and also the known bug fix. Read more about the new features.

VM Invoice 3.1.16 is available

05.02.2019

New release of VirtueMart PDF Invoice generator - VM Invoice 3.1.16 is now available. This new version introduces fix reported by our users.

VM Invoice 3.1.15 is here

06.12.2018

New release of VirtueMart PDF Invoice generator - VM Invoice 3.1.15 is now available. This new version introduces some new features and improvements as well as fixes reported by our users.

New JoomSEF 4.7.0 compatible with Joomla 3.7

01.08.2017

JoomSEF 4.7.0 is now available for download or upgrade. This release include some new features, improvement and also the known bug fixes. Read more about the new features.

User Login Empty