Menu Content

Joomla! Extensions

ARTIO JoomSEF logo

Joomla SEO, SEF URLs and Metadata

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, ...

Free or from €26.90Version 3.9 & 4.3Joomla 1.5, 2.5, 3.0
ARTIO Book it! logo

Booking & Reservations for Joomla

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

Free or from €49.00Version 2.2Joomla 1.5, 2.5, 3.0
ARTIO JoomDOC logo

Document Management for 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 or WebDAV editing.

From € 29.00Version 4.0Joomla 1.5, 2.5, 3.x
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

Animated JavaScript Charts for 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
ARTIO VM eTicket logo

Electronic Tickets for Joomla

E-Ticket is a Joomla component for online electronic ticket sales and validation. Allows creating and designing tickets, online generation, direct downloads and on-site validation. All using just web browser on desktop PC or mobile device.

From €99.00Version 2.0Joomla 2.5/3.0
ARTIO VM SMS Gateway logo

SMS Notifier for VirtueMart

Utility to send SMS messages on different VirtueMart events. Notify customers about their order status change or delivery just shipped. Be informed when new order is received. Or simply SMS customers from your VirtueMart customer address book.

from €0.05 per messageVersion 2.0.3Joomla 1.5 - 3.0 with VirtueMart 1/2
TileView logo

TileView

TileView is Joomla plugin and enables to create your homepage or navigation page in the tiles design.

€29.90Version 1.0Joomla 2.5, 3.x

Back

How to disable VirtueMart order e-mails and invoices

Last revised:
Wednesday, 24 May 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).

 

 

Category

Tags for this item

Featured References

Cooltour

We have created a new web site for Multidisciplinary Contemporary Arts Centre in Ostrava. The whole project was implemented in Joomla! CMS and included following parts: initial analyze, implementation and customization open source system, customer´s ...

Juupajoki municipality

ARTIO designed and created a website for Juupajoki municipality. The project was implemented in Joomla! CMS. The website is available in Finnish language.

Know our products already?
Continue to e-shop directly.

Newsflash

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