How to Quickbooks Integration in WordPress

SmartITSolutions Best Development Services Company in Chandigarh, India

Please contact us for more information on this integration.

Connecting WordPress to Quickbooks has never been easier. With Woocommerece  Integration, creating a connection between WordPress and Quickbooks is easy.

Request export to Quickbooks
Stop entering orders manually today! With our Quickbooks integration, you will be able to export all relevant orders, items and customer data from WordPress – directly to Quickbooks. All order details required for import will be exported to Quickbooks. Custom fields can be added on request.

This integration currently only supports exports to Quickbooks. Import data from Quickbooks into WordPress

FAQ and support

  • Data changes from WordPress are automatically updated to QuickBooks Online
  • Sync products data from WordPress to QuickBooks Online (Stock sync only Available on QBO Plus)
  • Sync customer data from WordPress to QuickBooks Online
  • Sync sales orders, invoices, and credit memos from WordPress to QuickBooks

Please connect us if you need any help regarding this

We will provide u best solutions within low cost?

 

How to Quickbooks Integration in Magento

SmartzITSolutions provide you best solutions regarding the Quickbooks Integration in your website

Please contact us for more information on this integration.

Connecting Magento to Quickbooks has never been easier. With Magento Integration, creating a connection between Magento and Quickbooks is easy.

Request export to Quickbooks
Stop entering orders manually today! With our Quickbooks integration, you will be able to export all relevant orders, items and customer data from Magento – directly to Quickbooks. All order details required for import will be exported to Quickbooks. Custom fields can be added on request.

This integration currently only supports exports to Quickbooks. Import data from Quickbooks into Magento? Connect with us, we will be happy to discuss your requirements.

FAQ and support

  • Data changes from Magento 2 are automatically updated to QuickBooks Online
  • Sync products data from Magento 2 to QuickBooks Online (Stock sync only Available on QBO Plus)
  • Sync customer data from Magento 2 to QuickBooks Online
  • Sync sales orders, invoices, and credit memos from Magento 2 to QuickBooks

 

how to reindex magento 2

SmartzITSolutions provide you best solutions in magento development

 

Use this command
php bin/magento indexer:reindex

how to create plugins in magento 2

SmartzITSolutions can help any problem in magento2

Types of plugins in Magento2 In Magento2 we can create and use three types of plugin.

  • Before listener Plugin
  • After listener Plugin
  • Around listener Plugin

Magento 2 commands list

SmartzITSolutions is a Magento development company in Chandigarh, Delhi , Gurgaon – India. Get custom magento 2 development services for magento in USA, UK and across the globe

List of command use for Magento its useful for all Magento developer
Upgrade command use for website

php bin/magento setup:upgrade

Cache Clean Using Command Line

php bin/magento cache:clean

Cache Flush Using Command Line

php bin/magento cache:flush

View cache status Using Command Line

php bin/magento cache:status

Enable Cache Using Command Line

php bin/magento cache:enable [cache_type]

Disable Cache Using Command Line

php bin/magento cache:disable [cache_type]

Static Content Deploy Using Command Line (Use -f for force deploy on 2.2.x or later)

php bin/magento setup:static-content:deploy

Static Content Deploy For Particular Language Using Command Line

php bin/magento setup:static-content:deploy en_US

Static Content Deploy For Magento Backend Theme Using Command Line (Working on 2.1.1 or later)

php bin/magento setup:static-content:deploy –theme=”Magento/backend”

Static Content Deploy For Specific Themes Using Command Line (Working on 2.1.1 or later)

php bin/magento setup:static-content:deploy –theme Magento/luma –theme Magento/second_theme

Exclude Themes on Static Content Deploy and does not minify HTML files Using Command Line (Working on 2.1.1 or later)

php bin/magento setup:static-content:deploy en_US –exclude-theme Magento/luma –no-html-minify


Reindexing Using Command Line

php bin/magento indexer:reindex


View the list of indexers Using Command Line

php bin/magento indexer:info

View indexer status Using Command Line

php bin/magento indexer:status

Show the mode of all indexers Using Command Line

php bin/magento indexer:show-mode

See all modules Status Using Command Line

php bin/magento module:status

Enable module Using Command Line

php bin/magento module:enable Namespace_Module

Disable module Using Command Line

php bin/magento module:disable Namespace_Module

Uninstall Module Using Command Line

php bin/magento module:uninstall Namespace_Module

Check Current Mode Using Command Line

php bin/magento deploy:mode:show

Change To Developer Mode Using Command Line

php bin/magento deploy:mode:set developer

Change To Production Mode Using Command Line

php bin/magento deploy:mode:set production

Run the single-tenant Compiler Using Command Line

php bin/magento setup:di:compile

Unlock Admin User Using Command Line

php bin/magento admin:user:unlock adminusername

Enable Maintenance Mode Using Command Line

php bin/magento maintenance:enable

To enable maintenance mode for all clients except 192.0.0.1 and 192.0.0.2:

php bin/magento maintenance:enable –ip=192.0.0.1 –ip=192.0.0.2

To clear the list of IPs.

php bin/magento maintenance:enable –ip=none

Disable Maintenance Mode Using Command Line

php bin/magento maintenance:disable

Check Maintenance Mode Status Using Command Line

php bin/magento maintenance:status

Allow IP on Maintenance Mode Using Command Line

php bin/magento maintenance:allow-ips –ip=192.0.0.1 –ip=192.0.0.2

Set Magento crontab Using Command Line

php bin/magento cron:install –force

Use –force to rewrite an existing Magento crontab.
To view the crontab, enter the following command as the Magento file system owner.

crontab -l

Remove Magento crontab Using Command Line

php bin/magento cron:remove

xampp error connection for controluser as defined in your configuration failed

We will more than happy to assist you regarding the any Xampp and Wamp problem.SmartzITSolutions company always providing best solutions

xampp error connection for controluser as defined in your configuration failed

you can open the xampp then open the phpmyadmin/config.inc.php file

and find the $cfg[‘Servers’][$i][‘controluser’] = ‘$pma’;

then replace to that

$cfg[‘Servers’][$i][‘controluser’] = ‘$root’;

save

you can enjoy slove the problem

Thanks

XAMPP: Starting Apache fail Ubuntu

press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/mysql stop
sudo /etc/init.d/proftpd stop
sudo /opt/lampp/lampp start

How to Add Date Picker in Magento Config Page

System.xml


text
MODULE_NAME/adminhtml_system_config_date
4
1
1
1
Set the expiry date for the Feature Tour

Create the new model file at the path:
appcodelocalBlockAdminhtmlSystemConfigDate.php

getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT);

$data = array(
‘name’ => $element->getName(),
‘html_id’ => $element->getId(),
‘image’ => $this->getSkinUrl(‘images/grid-cal.gif’),
);
$date->setData($data);
$date->setValue($element->getValue(), $format);
$date->setFormat(Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT));
$date->setForm($element->getForm());

return $date->getElementHtml();
}
}

XML Parsing Error: XML or text declaration not at start of entity in wp

DON’T PANIC!

There is a simple solution for this. It doesn’t require some crazy plugin. It doesn’t require hiring a super hacker geek to fix it AND it won’t require hours upon hours of Google’ing for the solution.

Now, if you want to try there are a few possible solutions. You can try:

Reading this helpful article on the RSS Validator site: http://feedvalidator.org/docs/error/WPBlankLine.html
Try the FIX RSS FEED plugin for WordPress (didn’t work for my clients site at all)
Paying someone lots of money [like me WordPress Remove Blank Line From RSS Feed wordpress error on line 2 at column 6: XML declaration allowed only at the start of the document ] to do it for you.
Or you can simply do this yourself. It’s REALLY really simply and only require one file upload and one line of code. I’ll guide you through the whole process.

1) FIRST. Download the following file. http://wejn.org/stuff/wejnswpwhitespacefix.php.

If you’re a geek you can check it for yourself, but I (Piotr Krzyzek) assure you this file is Virus free. If you don’t trust that file, you can download the exact same file from my server which I won’t change at all. So you can 100% rest assure that this file is safe from my server. You can get But if you download it from my server, rename the file from the “.ph” extension to “.php” so that it will work on your server too.

2) After downloading, upload the .PHP file into your WordPress site ROOT directory. This means wherever the wp-config.php file is. Do NOT upload it into the themes folder, NOR the plugins folder. Only the root directory.

If you don’t understand that, it’s ok. Leave a comment or poke me a twitter and I’ll explain it better.

3) EDIT your index.php file and add the following right after the first line:

include(“wejnswpwhitespacefix.php”);

So at the end, your index.php should look something like this:

That’s of course a condensed version of the index.php file and your’s will probably have lots of comments and stuff in it. But the important thing is to add the include code right at the top.

After that, poof!

How to set up Nightwatch framework Tests with Page object in windows?

How to set up Nightwatch framework Test  in windows?

1.Introduction:-

Nightwatch.js is an easy  to use with Node.js based end-to-end  testing for browser based applications and websites Nightwatch uses the WebDriver API to perform  browser automation related tasks, opening windows and clicking links for instance.

WebDriver is now call W3C specification aiming to standardize browser automation. Web Driver is a remote control interface that enables  control of user agents. It provides a platform and a restful HTTP api’s as a way for web browsers to be remotely controlled.

It is a complete End-to-End testing which aims to simple writing automated tests and setting up Continuous Integration testing.

Maximum time Nightwatch needs to send at least 2 requests to the WebDriver server in order to perform a command or assertion as below mentioned:-

1.To request to locate an element given a CSS selector (or Xpath expression).

2.To perform the actual command/assertion on the given element.

2. Prerequisites:-

Before you can start running your tests with Nightwatch following software you need to install as below mention:-

1. Make sure you have JDK installed, with at least version .

2.Make sure you have Node and NPM installed with least version.

3.Make sure you have installed visual studio code in your system.

4. Make sure you have Npm  Nightwatch / installed, with at least version in your    system.

5. Make sure you have downloaded Selenium server jars and saved in your system.

Once you have everything, you can start creating your test specs.

2.Nightwatch setup in Windows

  1. Download JDK from –https://www.oracle.com/technetwork/java/javase/downloads/index.html and install latest version

 

2. Download Node.js from – https://nodejs.org/download/and install latest version

 

 

  1. Download Visual studio code from – https://code.visualstudio.com/download and install latest version

 

How to configured Nightwatch Tests in visual Studio Code ?

1.Open visual studio code and clicked on open folder then  browse the path where you want to make project structure(New Folder).

 

2.Go to view option on menu bar then select terminal option as screenshot:-

 

3.Create  file called — nightwatch.js in project structure and paste this line in it

require(‘./node_modules/nightwatch/bin/runner.js’);

 

  • In your visual code Terminalrun the command npm init and this will create

package.json  file in your project structure.

Press Enter for all questions and in last enter yes

  1. Now ,will install nightwatch using npm
  • Run command in terminal  — npm install nightwatch –save
  • After install nightwatch this will create folder for node modules.
  • Make new folders — mkdir pages tests lib
  • /pages
  • /tests
  • /lib

 

5.Download the latest version of Selenium Standalone  jars—

 

  • Download the latest version of Chrome Driver — For window Make sure to download chromedriver.exe latest version.
  • Based on your OS — https://chromedriver.storage.googleapis.com/index.html?path=2.33/
    1. From Downloaded folder, move both files — Selenium-Standalone-3.x.x. jar and chrome driver to /lib directory on your project.

    7.Copy following nightwatch.json and paste into your project . (source http://nightwatchjs.org/gettingstarted)

    {
    “src_folders”: [“tests”],
    “output_folder”: “reports/XMLReports”,
    “custom_commands_path”: “”,
    “custom_assertions_path”: “”,
    “page_objects_path”: “pages”,
    “selenium”: {
    “start_process”: true,
    “server_path”: “lib/drivers/selenium-server-standalone-3.141.9.jar”,
    “start_session”: true,
    “log_path”: “log/”,
    “host”: “127.0.0.1”,
    “port”: 4444,
    “cli_args”: {
    “webdriver.chrome.driver”: “lib/drivers/chromedriver.exe”
    }
    },
    “test_settings” : {
    “chrome”: {
    “launch_url”: “http://localhost”,
    “selenium_port”: 4444,
    “selenium_host”: “localhost”,
    “silent”: true,
    “screenshots”: {
    “enabled”: false,
    “path”: “screenshots/Chrome/”
    },
    “desiredCapabilities”: {
    “browserName”: “chrome”,
    “chromeOptions”: {
    “args”: [
    “disable-web-security”,
    “ignore-certificate-errors”,
    “–test-type”
    ]
    }
    }
    },

    “edge” : {
    “desiredCapabilities”: {
    “browserName”: “MicrosoftEdge”
    }
    }
    }
    }8.Set path for selenium and chrome driver in nightwatch.json.

9.Change the start_process:true

 

Create a example file let’s call it test.js

10.In your visual code terminal you can run

 — node nightwatch -e chrome -a test.js

output:-

 

Source code:-

1.Pages—>login.js

var loginCommands = {

login: function() {

return this.waitForElementVisible(‘body’, 1000)

.maximizeWindow()

.verify.visible(‘@userName’)

.verify.visible(‘@password’)

.verify.visible(‘@submit’)

.setValue(‘@userName’, ‘qa@pawlytics.com’)

.setValue(‘@password’, ‘test@123’)

.pause(1000)

.click(‘@submit’)

.pause(1000);

browser

.setCookie({name:’mycokkies’,value:’qa@pawlytics.com’})

.getCookie(‘mycokkies’,function callback(result)  {

console.log(result);

})

browser

.setCookie({name:’mycokkiesjwt’,value:’jwt’})

.getCookie(‘mycokkies’,function callback(result)  {

console.log(result);

})

}

};

module.exports = {

commands: [loginCommands],

url: function() {

return ‘https://app.pawlytics.com/login’                    },

elements: {

userName: {

selector: ‘//*[@id=”__next”]//div[1]//div[2]//div[1]//div[2]//form//div[1]//div//input’,

locateStrategy: ‘xpath’

},

password: {

selector: ‘//*[@id=”__next”]//div[1]//div[2]//div[1]//div[2]//form//div[2]//div//input’,

locateStrategy: ‘xpath’

},

submit: {

selector: ‘//*[@id=”__next”]//div[1]//div[2]//div[1]//div[2]//form//button’,

locateStrategy: ‘xpath’

}

}

};

Test–>test.js

module.exports = {

‘Pawlytics_pets_world’ : function (browser) {

//create an object for login

var login = browser.page.login();

//execute the login method from //tests/pages/login.js file

login.navigate().login();

//You can continue with your tests below:

// Also, you can use similar Page objects to increase reusability

browser

.pause(3000)

.end();

}

};

————————*—————————Good Luck————————-*————————————–*——-