Giter Club home page Giter Club logo

mauticommerce's Introduction

Mauticommerce

WordPress plugin WordPress rating You can get WooCommerce Order Information in Mautic.

##Reporting bugs We try to fix as many bugs we can, this is a graph of our recent activity: Throughput Graph

##How to use Do following commands.

$ cd /path/to/wordpress/wp-content/plugins
$ git clone [email protected]:megumiteam/mauticommerce.git

And Activate "Mauticommerce" Plugin in wp-admin.

###Initialize Setting You have to set following information.

Name Descrtiption Example
Mautic URL Your Mautic Domain https://mautic.example.com/
ID Your Mautic Form ID 1

##Form Mapping in Mautic You can receive following params. Please make Mautic Form using following label name.

Mautic Form Label Name
address1
address2
city
company
country
email
firstname
lastname
phone
zipcode
state
order_id

Customize

Add form param

use mauticommerce_query_mapping filter.

add_filter( 'mauticommerce_query_mapping', 'add_mapping_query', 10, 2 );
function add_mapping_query( $query, $order ) {
        //Add $order Param to $query
        $query['customer_ip_address'] = $order->customer_ip_address;
        return $query;
}

Document

mauticommerce's People

Contributors

hideokamoto avatar sawanoboly avatar

Stargazers

Viorel-Cosmin Miron avatar  avatar Leo Borlot avatar Camille Louédoc-Eyriès avatar Allen Ragnarson avatar Daniel McClure avatar Nico Mollet avatar The Perfect Will avatar Aristo Leonardo avatar Konstantin avatar Ionel Roiban avatar Luke Cavanagh avatar Bradley Tollett avatar Kuggaa Cuckoo Choo Choo avatar Luiz Eduardo de Oliveira Fonseca avatar  avatar Wayne Buckhanan avatar petebytes avatar yasenn avatar Dev Sa avatar Renzo avatar Martin Pritchard avatar Hiroshi Urabe avatar

Watchers

Tai / JOTAKI Taisuke avatar Luiz Eduardo de Oliveira Fonseca avatar wokamoto avatar James Cloos avatar KOGA Hiromichi avatar Takahiro Horike avatar Koga Tatsuro avatar  avatar Kazue IGARASHI avatar Joshua Parker avatar Yulian Diaz avatar  avatar Hanny Ramzy avatar Aristo Leonardo avatar  avatar

mauticommerce's Issues

Wordpress.Org Documentation, I have created a sample.

I know you are working hard on this plugin. I noticed on Wordpress.org your plugin does not have a good Description or Installation page. I have created the sample pages below in an effort to help. If you choose to you could give me access to the Wordpress.org documentation and I will keep it up to date. Otherwise feel free to post the text below to WOrdpress.org as a start to document your great plugin. My direct email is [email protected].

Craigm

Wordpress.org Mauticommerce Plugin

Description:
Mauticommerce is used to bridge user data from WooCommerce to the Mautic open source marketing automation system. When your customer enters an order in Woocommerce, their contact data is used to create a new Mautic Lead.
This plugin is available through the official Wordpress.org Plugin Directory. Simply download and install the plugin as you would any other plugin.
Mautic is a free open source marketing automation tool. It can be downloaded at: www.mautic.org/download. Mautic may or may not be installed before the Mauticommerce plugin. You will need a functioning Mautic installation and a new Mautic Form for this plugin to work.

Installation:
You will need to create a Mautic form from within your Mautic installation. Please add the following fields to the form:

  1. address1 as a text field;
  2. address2 as a text field;
  3. city as a text field;
  4. company as a text field;
  5. country as a text field;
  6. email as an email field;
  7. firstname as a text field;
  8. lastname as a text field;
  9. phone as a phone field;
  10. zipcode as a text field;
  11. state as a text field; and
  12. order_id as a text field.

Remember to Save & Close the form in Mautic.

Once you have created the form and saved it and note it’s Mautic Form ID (which can be found in the rightmost column on the general Forms page). You will also need to know the directory where you installed Mautic (http://abc.net/Mautic/).

To set up this plugin, simply download it and install it into your Wordpress site. Then go to the General Settings options of your Wordpress site. Under Settings choose Mauticommerce. Here you will find two fields for your Mautic URL and your Mautic Form ID which you recorded in the steps above.

That’s all there is to setting up Mauticommerce!

  1. Install the Mautic Commerce plugin
  2. Create a Mautic Form ID
  3. Enter the URL and Form ID into Mauticommerce under the Wordpress Setting page.
  4. Click “Save Changes” and you are done!

You will never need to visit this form again, your customers data will simply appear as a Lead in Mautic.

Now when a customer creates a new order in Woocommerce, their data will be sent to Mautic (through the Mautic Form you created).

Parse Error

Dear Developer of Mauticommerce,

I'm glad, that you have published a plugin which is very useful for eCommerce, but i just cannot get your script up and running. I use WP 4.6.1. with latest version of Mautic in cloud.

I am trying to connect those two systems, but im keeping getting error below:

Parse error: syntax error, unexpected '[' in /home/mazu01/domains/enterosgel.si/public_html/wp-content/plugins/mauticommerce/inc/class.order.php on line 73

Could you please help me solve it or give me a hint what to do?

kind regards

Not all customers pushed to Mautic

For some reason, not all the WooCommerce customers are being passed to Mautic. On a new install out of had 7 orders, only 5 have been pushed to Mautic. 2 of those 5 were were cancelled orders.

Mautic receives 4 fields.

Mautic is getting only four fields:

City
Company
County
State

These are shown on the History tab on the Manage Leads option. When I go into Edit the Lead only the Company and City fields are populated.

In the previous version no field in the Edit Lead area were populated.

I wish I knew more about PHP and could help.

Add tracking code

Add tracking code to add custom customer information.

Notice

Do not conflict another Mautic plugin that shows Mautic tracking code.

Unable to update plugin - must uninstall previous version to install new version.

I just tried to reinstall your great plugin over the previous version. The message was that the directory already existed. Then the install aborted.

I deactivated and uninstalled the previous version. I then installed the new version. The install went flawlessly. It even had the correct directory for Mautic an the correct form number.

CraigM

How to map order_id

Just come up with order_id field which is not available from matching fields of Mautic.

how to get order_id from woocommerce to mastic?

ONLY MAIL RECEIVE

Mautic only receives Email, nothing else.
Whats wrong here?
Am I doing something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.