Printable Version of Topic

Click here to view this topic in its original format

Web Design Seo Forum _ Joomla Extensions _ Mail Order Pro For Joomla

Posted by: 3D Web Design May 28 2010, 02:56 PM

Newest version of http://3dwebdesign.org/en/joomla-extensions/mail-order-pro component is v.2.5 and support Joomla 3.0, 2.5, 1.7 and Joomla 1.5! Newest version of Mail Order Pro content plugin is v.1.2.2, updated on 14 July 2015. Plugin support Joomla 3 and Joomla 2.5.

Цитат
Support of old Mail order version (component based) is discontinued from 23 September 2013. Please, use new version - is available from more than eight months! More info: http://3dwebdesign.org/forum/revised-mailorder-content-plugin-for-j2-5-t1762.



About new version: Is content plugin
Цитат
Using its INI files built-in config system, the new version allows the mailorder plugin easily to be set to be used absolutely everywhere on your site, with every component you wish. If the component itself does not invoke content plugins, or you have the Joomla cache enabled, the plg_invoker system plugin will do the trick for you. The site owner is now able to point which entities should or should not be affected by the plugin, based on an URL parameter and comma separaed list of values!


About old version: Is component
Цитат
Integration with Virtuemart and Mosets Tree is only for Joomla 2.5 and is available only in Mail Order Pro version 2.0 and over! The mail order form is now fully customizable! You now have full control on what information is gathered from the customers. You may use different mail order forms on different pages (or even in the same page). You just have to set up the appropriate template and point the "Buy Now" link to it. You can use MailOrder component in K2 also.



History Log:
14.07.2015: V.1.2.2: Added parameter "controller" (untill now only task, file and view). Added example ini file for Jshopping.


18.09.2013: http://3dwebdesign.org/forum/index.php?showtopic=1962&view=findpost&p=6522 in joomla 3 version.
31.03.2013: Mail Order Pro (content plugin) update: v.1.2 is released. Added is credit calculator: Now you can use Mail Order with Virtuemart, content, K2 or with any other joomla component to generate order forms with included credit calculator.

Credit calculator look (Virtuemart):



12.03.2013: Mail Order Pro new (new version) update: v.1.1 is released. Added is support for Joomla 3.0 and one new parameter: run_only_at. It has the same format and the opposite behavior of the "skip" RUN section parameter.
01.02.2013: http://3dwebdesign.org/forum/revised-mailorder-content-plugin-for-j2-5-t1762 instead of component (older versions). New content plugin can be inserted to work theoretically everywhere, in every Joomla component. Example for Mosets Tree is included and http://3dwebdesign.org/forum/revised-mailorder-content-plugin-for-j2-5-t1762. Now in package are included old version (component for joomla 1.5, for Joomla 2.5 and for Joomla 3.0) and new version (content plugin for Joomla 2.5).
24.01.2013: Mail Order Pro 2.4 for Joomla 3.0. Joomla 3.0 version support only content and K2!
19.01.2013: V.2.4 for Joomla 2.5. Joomgallery support is added. Now you can use JoomGallery as product catalog. Custom order forms can be inserted on on Category Details page and on Image Details page in JoomGallery.
09.10.2012 - v.2.3 - update to work with latest version of Virtuemart 2.0.12
02.10.2012 - bug fix for Joomla 2.5 version.
v.2.2 for Joomla 2.5 - 10 September 2012: Bug fix for latest version for Joomla 2.5.
v.2.1 of Mail Order Pro is released - 21 June 2012 (only Joomla 2.5 version is updated). A new option is added. You may now choose the mail notifications to be sent to the article's author / owner in addition to the other two options: the site owner or another fixed e-mail.
v.2.0 of Mail Order Pro is released - 20 June 2012 (only Joomla 2.5 version is updated). Added is integration with Mosets Tree and Virtuemart. Now Mail Order Pro can be used with Virtuemart, Mosets Tree, com_content and K2. To upgrade from old version: 1. Uninstall old version from Joomla! admin. 2. Install latest Mail Order Pro.
v.1.8.0 - bug fixes for Joomla 2.5 version (21 May 2012)
Update only for Joomla 1.5 version. Recaptcha is added as option. (09 February 2012)
v.1.7.1 - bug fix for Joomla 1.7 version (23 January 2012)
v.1.7.0 - Recaptcha Support (28 December 2011)
v.1.6.1 - Joomla 1.7/1.6, custom fields and custom form templates Support (18 August 2011)
v.1.6 (Spring 2011):
- Previous Commercial Version - MailOrder Pro 1.5 become free
- Fixes problem with seo optimization of order page.
- Support K2
- Possibility to order multiple products from one page
- Updated translations - 9 languages in archive
v.1.0 for Joomla 1.5 - Start of development of free version of Mail Order - ( spring 2010)


Look in administration of Mail Order Pro:






Options in Administration:
- Preferred language
- Email parameters
- Width and Height of box
- Info text
- Notify user parameters
- Choice for script used in order form: modal box or highslide



Look of order form after clicking of link "Order" in content item:



Other form on the same page of content item:



Demos:
Demo 1: http://wordpressaggregator.site-design.org/mailorder-test-product
Demo 2: Order form 2: highslide and picture button: http://extensionsjoomla.com/joomla-seo.html

The templates are located in /components/com_mailorder/templates/. Here is the content of the default one (default.txt):

Цитат
*PRODUCT_QUANTITY=text
*YOUR_NAME=text
*YOUR_EMAIL=text
YOUR_PHONE=text
*YOUR_ADDRESS=textarea

An item has been ordered!
Item: {PRODUCT}
Item ID: {PRODUCT_ID}
Quantity: PRODUCT_QUANTITY

Client details:
Name: YOUR_NAME
E-mail: YOUR_EMAIL
Phone: YOUR_PHONE
Address:
YOUR_ADDRESS


It contains a header (which defines the mail order form elements) and a message body (which defines what will be sent to the administrator when an order is placed), separated by a @@@ line in the template file. The comment lines start with "#".

In our case the header contains:

Цитат
*PRODUCT_QUANTITY=text
*YOUR_NAME=text
*YOUR_EMAIL=text
YOUR_PHONE=text
*YOUR_ADDRESS=textarea


Each field definition occupies a separate row. In the default header 5 form fields are defined - four of type "text" and one "textarea". The required fields has a "*" prefix before the language constant. The language constant defines the field's label. It must be defined in the relevant language files, located in the /language/ folder. You can use drop down lists as well. These are defined like this:

{LABEL_LANGUAGE_CONST}=select:{VAL1_LANGUAGE_CONST},{VAL2_LANGUAGE_CONST},{VAL3_
LANGUAGE_CONST}[,.....]

For example, lets define a drop down list Currency with two elements - EUR and USD:

MO_CURRENCY=select:MO_EUR,MO_USD

Now lets take a look at the message body:

Цитат
An item has been ordered!
Item: {PRODUCT}
Item ID: {PRODUCT_ID}
Quantity: PRODUCT_QUANTITY

Client details:
Name: YOUR_NAME
E-mail: YOUR_EMAIL
Phone: YOUR_PHONE
Address:
YOUR_ADDRESS


On mail order submit the language constants will be replaced by the relevant user submitted data and the resulting e-mail body will be sent to the desired e-mail, set up in the MailOrder's settings. There are two special tags which are always available regardless of the template:

{PRODUCT} - this tag will be replaced with the product's name followed by a link to the product;
{PRODUCT_ID} - this tag will be replaced with the product's ID.


You can have as many different templates as you wish. You just have to specify which template should be used with each "Buy Now" link, e.g.:

Код
{mailorder id=43 formtpl=my_template}
{mailorder formtpl=my_cool_template id=48}
{mailorder formtpl=another_template}
{mailorder id=999 formtpl=default buy=2}


You can have unlimited texts in content items, like text1 "Buy now", text2 "Order" and other text constants that you have create in language files. Parameter buy=2 to the mailorder tag say them to show MO_BUY1 or MO_BUY2 text from language file.

The above examples require the following files to exist in the templates folder(/components/com_mailorder/templates/):

my_template.txt
my_cool_template.txt
another_template.txt

If the template file is not found, the default one will be used. http://3dwebdesign.org/forum/index.php?showtopic=303&view=findpost&p=2784.

Languages and translations:

MailOrder Pro is multilanguage. Language files added in archive: English, French, Bulgarian, Spanish, Russian, Serbian, Slovenian, Norwegian and all versions of Chinese. Language files for old free version of component can be found http://3dwebdesign.org/forum/index.php?showtopic=319.

Important information!
Цитат
Component is developed to work with content and K2. Integration with all other components is provided "As guide".

Latest version of component will have guides "how to integrate Mail Order Pro" in over 10 joomla components! We can't guarantee that this will work for every version of these components. We can't guarantee that we will update content plugin of component every time when new version of some of these components is released! Guides are only examples. There is no guarantee that this code will work in custom modified components or in older versions. If this not work for your component version, you may need to edit manual code.

For more info, please, read our http://3dwebdesign.org/forum/index.php?showtopic=489 ( part: Modification of source code of Extensions )


Online purchase: http://3dwebdesign.org/en/joomla-extensions/mail-order-pro

P.S. This description is edited on 20.06.2012 due on release of new version Mail Order Pro 2.0

Posted by: Web Design Seo Jun 9 2011, 12:33 PM

Description in first post is edited on 18.07.2011 due on release of new top version: Mail Order Pro 1.6


Questions for Mail order are moved here:
http://3dwebdesign.org/forum/index.php?showtopic=918

http://3dwebdesign.org/forum/index.php?showtopic=755
http://3dwebdesign.org/forum/index.php?showtopic=756

Posted by: Ivan Stamenov Aug 19 2011, 12:07 PM

A new version of the Mail Order Pro component has just been released.

Now the component is Joomla 1.7 and 1.6 compatible.

A new feature is added - one can choose what will be displayed as a link on the product's page from multiple HTML strings (plain text, images, etc.), defined in the corresponding language files. These are strings named MO_BUY1 (default string), MO_BUY2, MO_BUY3, etc.

Just add a "buy={number}" parameter to the mailorder tag, for example:

{mailorder id=999 formtpl=default buy=2}

The default string is MO_BUY1.

Posted by: Web Design Seo Dec 14 2011, 04:22 PM

Example templates for Mail Order Pro forms:

Take a look at example in our demo site here: http://wordpressaggregator.site-design.org/mailorder-test-product

Html code of this content item is:

Код
<p>Product order form: {mailorder buy=1}</p>
<p>Product order form with other text: {mailorder buy=2}</p>
<p>Other product order and other form - template 2: {mailorder formtpl=2 id=117}</p>
<p>Product 3 order form template 1: {mailorder id=115 formtpl=default}</p><p>Product 4 order form template 3: {mailorder id=116 formtpl=3}</p>


Code of these templates are: http://wordpressaggregator.site-design.org/components/com_mailorder/templates/default.txt, http://wordpressaggregator.site-design.org/components/com_mailorder/templates/2.txt, http://wordpressaggregator.site-design.org/components/com_mailorder/templates/3.txt


So, just open default template in folder components/com_mailorder/templates , copy and create new one with fields that you need.
Enjoy smile.gif

Posted by: Web Design Seo Dec 28 2011, 01:43 PM

New version of Mail Order is realeased today - v.1.7.0. Version of component for Joomla 1.7 is completely revised. The article URL is no longer passed between the pages and the component is much more robust. ReCaptcha is added as an option.

Screenshot from recaptcha options:



Joomla 1.5 version is unchanged.

Posted by: Web Design Seo Feb 1 2012, 12:39 PM

Other posts and questions are moved here: http://3dwebdesign.org/forum/index.php?showtopic=918

Mail Order PRO for joomla work with Joomla 2.5. Is tested on latest version of Joomla 2.5.

Posted by: Web Design Seo Feb 9 2012, 11:11 AM

New version of Mail Order for Joomla 1.5 is realeased today. Recaptcha is added as option.

EDIT: v.1.8.0 of Mail Order Pro is here (21 May 2012) - only Joomla 2.5 version is updated.

Posted by: Ivan Stamenov Jun 20 2012, 10:07 AM

The next version of the Mail Order Pro component - v.2.0 is released. Mail Order Pro may now be used in Mosets Tree and Virtuemart in addition to com_content and K2.

Only the Joomla 2.5 version is updated!

In order to upgrade the component you must uninstall the old version and then install the new one. The new version is already available on our website.

Posted by: Ivan Stamenov Jun 21 2012, 11:32 AM

A new option is added. You may now choose the mail notifications to be sent to the article's author / owner in addition to the other two options: the site owner or another fixed e-mail. The newly added option does work with com_content, Mosets Tree and K2. It does not work with Virtuemart as the Virtuemart items do not have author.



Only Joomla 2.5 version is updated!

Posted by: Web Design Seo Jul 13 2012, 07:31 AM

If version of component for Joomla 2.5 not work or you have Deprecated error in:

Код
plugins\content\mailorder\mailorder.php on line 122


just change this line 122 from:
Код
return $this->onContentBeforeDisplay($context, &$row, &$params, $page);


to:
Код
return $this->onContentBeforeDisplay($context, $row, $params, $page);

Posted by: Web Design Seo Sep 11 2012, 06:43 AM

Mail Order Pro v.2.1 to v. 2.2 changes:

v.2.1 has a bug in the content plugin. To fix it, please either download the latest version or do the following:

Open /plugins/content/mailorder/mailorder.php

Lines 91 to 108 should be:

Код
if($pars->id) {
                switch ($this->producttype) {
                    case 'com_k2':
                        $this->db->setQuery("SELECT id, catid FROM #__k2_items WHERE id=".(int)$pars->id.' LIMIT 1');
                        $row = $this->db->loadObject();
                        break;
                    case 'com_content':
                        $this->db->setQuery("SELECT id, catid FROM #__content WHERE id=".(int)$pars->id.' LIMIT 1');
                        $row = $this->db->loadObject();
                        break;
                    default:
                }
                if (empty($row)) {
                    $row->text = mb_substr($row->text, 0, $pos).mb_substr($row->text, $endpos+1);
                    continue;
                }
            }
            $url = 'index.php?option=com_mailorder&tmpl=component&producttype='.$this->producttype.'&productid='.$row->id.'&catid='.$row->catid.'&formtpl='.$pars->formtpl.'&t='.time();


Change them to:

Код
if($pars->id) {
                switch ($this->producttype) {
                    case 'com_k2':
                        $this->db->setQuery("SELECT id, catid FROM #__k2_items WHERE id=".(int)$pars->id.' LIMIT 1');
                        $dbrow = $this->db->loadObject();
                        break;
                    case 'com_content':
                        $this->db->setQuery("SELECT id, catid FROM #__content WHERE id=".(int)$pars->id.' LIMIT 1');
                        $dbrow = $this->db->loadObject();
                        break;
                    default:
                }
                if (empty($dbrow)) {
                    $row->text = mb_substr($row->text, 0, $pos).mb_substr($row->text, $endpos+1);
                    continue;
                }
            } else
                $dbrow = $row;
            $url = 'index.php?option=com_mailorder&tmpl=component&producttype='.$this->producttype.'&productid='.$dbrow->id.'&catid='.$dbrow->catid.'&formtpl='.$pars->formtpl.'&t='.time();


This fix is added to latest version for Joomla 2.5 - v.2.2.

Posted by: Web Design Seo Oct 2 2012, 12:44 PM

Today is fixed bug in latest version for Joomla 2.5.

Posted by: Web Design Seo Oct 9 2012, 08:15 AM

Is released new version of Mail Order Pro - v.2.3. Component is updated to work with latest version of Virtuemart 2.0.12.

Updated is only version for Joomla 2.5. http://3dwebdesign.org/forum/index.php?showtopic=918&view=findpost&p=4211.

Posted by: Web Design Seo Jan 18 2013, 09:43 AM

19.01.2013: V.2.4 for Joomla 2.5. Joomgallery support is added. Now you can use JoomGallery as product catalog.



Цитат
You can have custom order forms on Category Details page and on Image Details page in JoomGallery.

Posted by: Web Design Seo Jan 24 2013, 02:33 PM

Mail Order Pro now have Joomla 3.0 support. Mail Order Pro V.2.4 for Joomla 3.0 is added to package.

Цитат
Joomla 3.0 version support only content and K2!

Posted by: Web Design Seo Feb 1 2013, 12:12 PM

01.02.2013: http://3dwebdesign.org/forum/revised-mailorder-content-plugin-for-j2-5-t1762 instead of component (older versions).

New content plugin can be inserted to work theoretically everywhere, in every Joomla component over brand new system plugin. Example for Mosets Tree is included and http://3dwebdesign.org/forum/revised-mailorder-content-plugin-for-j2-5-t1762.

Now in package are included old version (component for joomla 1.5, for Joomla 2.5 and for Joomla 3.0) and new version (content plugin for Joomla 2.5).

New system plugin to control in which other component will work MailOrder is included for free in package. This is great opportunity for all Joomla developers! Now you have many more possibilities - plugin can be used to work with every content plugin.

Cheers smile.gif

Posted by: Ivan Stamenov Feb 25 2013, 01:20 PM

There was a bug in the content plugin of the newest version: SITE_ROOT was used instead of mo_conf.SITE_ROOT. To fix it, open

Код
/plugins/content/mailorder/assets/js/plugin.js


and replace on lines 30 and 39
Код
SITE_ROOT

with
Код
mo_conf.SITE_ROOT

(prepend "mo_conf." before "SITE_ROOT")

Posted by: Ivan Stamenov Mar 12 2013, 08:31 AM

There is a new version of the content plugin: 1.1.

It has a new parameter available for use in the ini file, called "run_only_at". It has the same syntax as the "skip" parameter and the opposite behavior, allowing to list only the pages you want the plugin to work at.

Posted by: Web Design Seo Mar 12 2013, 11:45 AM

Now new version of MailOrder (content plugin) support Joomla 3 also - today is released new version for Joomla 3.0.

Posted by: pavelKukov Apr 1 2013, 10:59 AM

Today is released new version of Mail Order pro content plugin with included credit calculator. Now you can use Mail Order with Virtuemart, content, K2 or with other component to generate order forms with included credit calculator. Titles and prices of products are parsed automatically in calc (you can configure in ini file code where in html code is price located)

Credit calculator look (Virtuemart):


How to use credit calculator in Mailorder 1.2?

• Install plg_content_mailorder-standalone in joomla administration
• In the folder of your joomla installation under the location
/plugins/content/mailorder/config/ you needto create a configuration file, (may be more
than one). The file name must match the name of the component that will be used mailorder.
To use mailorder in normal articles fileshould be called "com_content.ini" to use mailorder
K2 articles file name must be "com_k2.ini", and for virtuemart "com_virtuemart.ini" You
can just copy the sample files .
• It is important to change the parameters in the correct file so that they fit your system. *** After
each change in the ini file you mustdelete generated"the name of the corresponding file .dat" (if it
exists). It is located at: /plugins/content/mailorder/config/cache/ . dat ***
3.1. In [RUN]section should set:
view = article
Where the articleis the name of the corresponding view. In an article in the K2 setting is
item
moo_container = div.item-page
Here div.item-pagemootools selectoris the main element that holdthe contents.
moo_title = h2 a
Here is h2 a is mootools selector for element which displays the title.
moo_price = span#price
Here span#priceis mootools selectorelement which represents the price of the product.
Usually moo_container and moo_title will depend on your template. While moo_price will be
manually added in thecontent of the article. These and other options are described in the sample ini
files.
• You can modify or create a suitable template in
/plugins/content/mailorder/assets/templates/ name of the template .txt

Download Example Files:  Mailorder___Usage_Guide.zip ( 94.17K ) : 11





Now new version is uploaded and available!

http://3dwebdesign.org/forum/revised-mailorder-content-plugin-for-j2-5-t1762

Posted by: Web Design Seo Apr 9 2013, 03:10 PM

Today http://3dwebdesign.org/en/joomla-extensions/mail-order-pro package is updated again. Are included more template files, more examples and new step by step guide and FAQ as pdf files in English and in Bulgarian.

Inside examples folder you have 2 type of examples:



What is inside FAQ?

Inside Frequently asked questions are answers of these questions:

Posted by: Web Design Seo Apr 22 2013, 01:14 PM

If mail function on your server not work: you can change mail method used in joomla 2.5 to mail method used in joomla 3.0 for this extension:

1. Open "/plugins/content/mailorder/processor.php"

2. Find (around line 114)

Код
// Send the email
if(!JUtility::sendMail('mailorder@' . $_SERVER['SERVER_NAME'], 'Mailorder', $email, $subject, $body))
$ERRS[] = JText::_('PLG_CONTENT_MAILORDER_ERR_EMAIL_NOT_SENT');


3. Replace it with
Код
// Send the email
$mail = JFactory::getMailer();
if(!$mail->sendMail('mailorder@' . $_SERVER['SERVER_NAME'], 'Mailorder', $email, $subject, $body))
$ERRS[] = JText::_('PLG_CONTENT_MAILORDER_ERR_EMAIL_NOT_SENT');

Posted by: Web Design Seo Nov 27 2013, 01:51 PM

Old and the new version of http://3dwebdesign.org/en/joomla-extensions/mail-order-pro are completely FREE from today - 27 November 2013. Download and enjoy smile.gif

Posted by: Vagrant Mar 2 2014, 09:47 PM

Hey,
I have a question. I have installed mailorder from http://extensions.joomla.org/extensions/extension/e-commerce/shopping-cart/mailorder
the order now button is displaying on every product name thats great but I do want to change the position of order now button i.e in front of price or below the price how do I do it ? thanks

Posted by: Web Design Seo Mar 3 2014, 07:02 AM

Just use new version (plugin) inside extension package. Old version (component) is also inside package but is not supported from years. For new version you have full documentation and examples inside package.

http://3dwebdesign.org/forum/revised-mailorder-content-plugin-for-j2-5-t1762


Posted by: Vagrant Mar 14 2014, 12:22 PM

Hey,
I installed mailorder till yesterday it was sending emails but it stopped sending emails from the morning. It is still showing me thank you for your order etc but I am not receiving order emails what should I do

Posted by: buzzjones@gmail.com May 11 2015, 04:54 PM

Have problem with this extention. When clicking button get Connection is reset by server error.
The page is
premierretail.ru/index.php/ru/services/catalog/item/25-spinner
Any ideas how to fix it?

Thank you in advance.

Posted by: Web Design Seo May 12 2015, 07:33 AM

I can't see mailorder button on page. If you got 500 error or no error, try to activate error reporting and open page again or check your error log on server.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)