Quantcast
Channel: magento – NWDthemes.com
Viewing all 53 articles
Browse latest View live

How Extensions Can Increase Conversion Rate And Sales of Your Magento Store

$
0
0

Every eCommerce store owner wants to raise up sales. To do it you need to get traffic into your site by using SEO optimization, paid ads and marketing tricks. And even more important task for your business is to turn more visitors into customers — to increase conversion rate.

To save your precious time we will give you some valuable advises how to do it without putting extra hard work and efforts. Yes, you can increase conversion rate and sales of your Magento store just by installing appropriate Magento extensions.

If this is easy? Yes. All those extensions are easy to install and have intuitive easy to use interface. You don’t have to be rocket scientist to turn them to account in eCommerce money making. And if you’ll need help with it. You can get superb support service from the developers of these Magento extensions. Anytime.

 

Social Login

Social Login Magento Extension

How easy your new clients can register?

This is serious question for your eCommerce business success. Statistics say about 23% of users will abandon their cart if they have problem with creating account.

You can give them easy option to login with Social Login extension. It is really so comfortable to sign in instantly with just few clicks instead of submitting form and verifying email address.

How many users will love and use this option? A plenty of. There are more than 2 billion active social media users. They can be your Magento store customers.

And don’t forget about mobile users. Filling forms from from mobile devices is real pain. Most convenient way to register for them is login with social account. Give them this option with Social Login Magento extension.

 

Product Slider

Product Slider Magento Extension

You can increase sales by showing more products in attractive way on pages of your Magento store. It could be featured products shown on landing page. Or cross-selling products, which is very successful way to increase sales in eCommerce.

Product Slider extension for Magento is a perfect tool for it. It can show products from category, bestsellers,most viewed and more.

Plus it is responsive and mobile friendly. This is important too, as research says more people buy from mobile devices. This year mobile traffic can even overcome desktop one.

So product slider is wise choice to do more sales and survive mobilegeddon.

 

FAQ Page

FAQ Page Magento Extension

Starting eCommerce business be prepared for technical questions about your products and services. People definitely will have some questions about your product.

Help them to make purchase decision

To keep your Magento customers informed and improve SEO you can use FAQ Page extension.

 

Slider Revolution

Slider Revolution Magento Extension

You definitely want to impress new visitors of your Magento website because it instantly increase chance of sales. Good presentation persuades potential clients to get your product instead of looking at competitors.

Parallax is a fantastic modern technique for visually engaging the user. And Slider Revolution Magento extension have this feature.

As well as lot of other fantastic features such as fullscreen video slides. And this short videos is a great way to attract visitor and boost sales in eCommerce.

And you can create slideshow from specific products or categories with Slider Revolution Magento extension to present variety of your products and inspire users to get interested in them.

 

Ultra Tabs

UltraTabs Magento Extension

Well designed product page is a key of your Magento site. Provide compact and complete information about your product or service. Add more details and reviews to drive more traffic to your product pages.

To display full and complete information about your product and avoid overload of interface you can organize product information into tabs with UltraTabs extension. It will display all the information user can be interested in and keep it usable, reachable and compact at the same time.

 

Testimonials

Testimonials Magento Extension

70 percent of online consumers trust recommendations and reviews from other users. Conversion in eCommerce business can be increased by convincing your potential customers.

Increase your visitors loyalty by adding your clients testimonials with Testimonials Magento extension.

Third party reviews are very important and testimonials page is good idea for eCommerce. But does lot of people visit it? Adding them to Magento sidebar will be even wiser so they will be always visible and lead to increase chance of sale.

 

Power Banners

PowerBanners Magento Extension

Users make up their minds within 90 seconds. Use this time to show sliders and banners to interest visitors of your Magento website and convert them into buyers.

To do it you can invite attention to discounts and promotion actions with eye catching banners created with Power Banners extension. With use of it you will succeed with display of value proposal and inspiring call to action. And present it to visitors of your Magento website in most attractive way to engage them.

You will get more leads from your mobile traffic too. As this extension is responsive and work on touch devices.

 

Ajax Cart

Ajax Cart Magento Extension

Keep your eCommerce users shopping continuously without losing focus and increase average sales value with Ajax Cart Magento extension. Studies say that probability of multiple purchase is higher if user don’t leave catalog page after first product added to cart.

It’s quick view feature also allows user browse catalog faster to find product he wants to purchase. This highly increase chance of sale and don’t let your buyer get tired and close tab with no purchase.

 

We all know that improving your sales and conversion ratio is continuous and complex hard work process that should never stop. And use of extensions described above is a good starting point for sales growth. Plus it improves usability, mobile devices compatibility and add shine to your eCommerce Magento store.

The post How Extensions Can Increase Conversion Rate And Sales of Your Magento Store appeared first on NWDthemes.com.


Magento two modules extend same class problem solution for Slider Revolution extension

$
0
0

Extending modules instead of modifying them is a good practice in Magento development. But what will happen if in Magento two modules extend same class? This can occur when two extensions extend same class for own needs. In this case only the last one will get benefit from extending it. And the first one will enjoy its class without extended features.

Because of it one of two Magento extensions that was fighting for its right to extend class will lose. And will cause errors in it. Or it will start working wrong way. That’s bad. Good news that we let you know how to solve it.

For example Magento Slider Revolution extension extends Template Filter class. It needs it to add own directive “revslider” to template processing. So our customers will be able to use {{revslider}} shortcode to add slider to any CMS block or page.

But the other Magento extension CMS Translate extends it too. To add own shortcode {{translate}} for CMS translation feature.

And if both Magento extensions will be installed at the same time. Surprise! Custom shortcode feature will stop working for one of them.

The solution is simple. Instead of Magento two modules extend same class. One module extends original class and other module extends class extended already by first module. So both modules add their functionality. Both work and everyone happy.

To do it in our case you need to replace following line in this file:

/app/code/community/Nwdthemes/Revslider/Model/Template/Filter.php

class Nwdthemes_Revslider_Model_Template_Filter extends Mage_Widget_Model_Template_Filter {

class Nwdthemes_Revslider_Model_Template_Filter extends MB_Translate_Model_Template_Filter {

That’s it.

Just note that after this operation one module becomes dependent of other module. So be aware that if you will disable or remove one module — second one will got error and will stop working. To fix this just rollback update done in this file.

The post Magento two modules extend same class problem solution for Slider Revolution extension appeared first on NWDthemes.com.

Magento 1.9.2.0 Static blocks issues

$
0
0

Recently we have updated our demo site to 1.9.2 and notice strange behaviour of static blocks. Magento was showing wrong static blocks.
After some research it turns out that it is known issue and moreover, there is an open bug for this magentocommerce.com/bug-tracking/issue/index/id/870.

This happens due to the following code being added to the constructor of Mage_Cms_Block_Block:

$this->setCacheTags(array(Mage_Cms_Model_Block::CACHE_TAG));
$this->setCacheLifetime(false);

It adds cache functionality to static blocks. But cache key info is generated in Mage_Core_Block_Abstract, which use block name in layout. Block name does not exist since static block are not added though layout, and as a result they have the same cache key.

To fix it we have created simple extension. It override Mage_Cms_Block_Block to generate correct cache key info for each static block based on store id, block id and secure connection.
Source code on Github

  1. Create /app/etc/modules/Nwdthemes_Cmsfix.xml
    <?xml version="1.0"?>
    <config>
        <modules>
            <Nwdthemes_Cmsfix>
                <active>true</active>
                <codePool>local</codePool>
                <depends>
                    <Mage_Cms/>
                </depends>
            </Nwdthemes_Cmsfix>
        </modules>
    </config>
  2. Create /app/code/local/Nwdthemes/Cmsfix/etc/config.xml
    <?xml version="1.0"?>
    <config>
    	<modules>
    		<Nwdthemes_Cmsfix>
    			<version>1.0.0</version>
    		</Nwdthemes_Cmsfix>
    	</modules>
    	<global>
    		<blocks>
    			<cms>
    				<rewrite>
    					<block>Nwdthemes_Cmsfix_Block_Block</block>
    				</rewrite>
    			</cms>
    		</blocks>
    	</global>
    </config>
  3. Create /app/code/local/Nwdthemes/Cmsfix/Block/Block.php

    <?php
    class Nwdthemes_Cmsfix_Block_Block extends Mage_Cms_Block_Block {
    
        public function getCacheKeyInfo()
        {
            if ($this->getBlockId()) {
                return array(
                    Mage_Cms_Model_Block::CACHE_TAG,
                    Mage::app()->getStore()->getId(),
                    $this->getBlockId(),
                    (int) Mage::app()->getStore()->isCurrentlySecure()
                );
            } else {
                return parent::getCacheKeyInfo();
            }
        }
    }

  4. Thats it. CMS static blocks issue solved.
    Source code on Github

The post Magento 1.9.2.0 Static blocks issues appeared first on NWDthemes.com.

How to Dynamically Replace Slide Images in Slider Revolution

$
0
0

In some cases you will need to dynamically replace slide images in Slider Revolution. For example if you want to change image depending on browser size. Or after some user actions.

This is quite easy with use of Slider Revolution API and Custom Javascript.

Lets for example add feature that changes second slides image to alternative one if browser with is less than 600px.

Open Slider Settings page and add following code to Custom Javascript option text field:

var revapi = revapiX;
revapi.bind("revolution.slide.onloaded",function (e) {
    if (jQuery(document).width() < 600)
    {
    	var slideNumber = 2; // defines number of slide to change
    	var newImage = 'new_image.jpg'; // url of new image
    	jQuery('ul li:nth-child(' + slideNumber + ') div.tp-bgimg', revapi)
    		.css('background-image', 'url("' + newImage + '")')
    		.attr('src', newImage)
    		.data('src', newImage);
    }
});

In this script replace X in revapiX to id of your slider. For example revapi5 if slider id is 5.

With this technique you can dynamically replace slide images of any slide at any time.

The post How to Dynamically Replace Slide Images in Slider Revolution appeared first on NWDthemes.com.

Magento 2 Release Date

$
0
0

Magento 2 release date was announced in Imagine 2015. Magento Merchant GA should be released in Q4 of 2015.

Here is the complete list of magento 2 roadmap milestones.

Magento 2 release date

Current available release is Magento 2 Merchant Beta. As it is stated on magento blog – this release is pretty close to Magento 2 GA. GA version should be released later this year.

Notable improvements are:
– significant performance improvement
– Full page caching for Community Edition
– base responsive design
– switching from Prototype to jQuery
– Reduced JS code calls on frontend
– checkout improvements
– standalone database for order management and checkout
– customizable admin grid
– Zend framework upgrade (1.12.3)
– native support for Solr (EE only)

What’s next after Magento 2.0 is released?
– Extended API coverage
– Staging and preview functionality for Magento sites (something that isn’t always possible on a live Magento site).
– New search functionality (because this can always be improved)
– Improved CMS (perhaps to make it easier to work with a.k.a. WordPress CMS)
– Multi-warehouse support (Magento does not natively allow you to keep track of items in multiple warehouses)

More info about Magento 2 can be found on:

Codebase: https://github.com/magento/magento2
Documentation: http://devdocs.magento.com/
Magento Forums: http://community.magento.com/t5/Core-Technology-Magento-2/ct-p/Magento-2
Magento 2 Developer Hub: http://www.magento.com/developers/magento2

You can also check our guide on setting up magento 2 development environment

The post Magento 2 Release Date appeared first on NWDthemes.com.

How to Install Magento Connect Extensions

$
0
0

Magento Connect is a marketplace that allows Magento community members and partners to share their open source or commercial contributions for Magento with the community. It contain both free and commercial extensions. Free extensions are uploaded to Magento and available for direct download from Magento Connect.

Install Magento Connect Extensions

  1. Navigate to the Extension Profile
  2. Select the Platform
  3. Click the Install Now button
    Screenshot_21
  4. Select Your Magento Connect Channel ( For Magento 1.5+ select Magento Connect Channel 2.0 )
  5. Check the box to agree to the extension license agreement.
  6. Once you select the channel and agree to the licensing agreement, click Get Extension Key
  7. The extension key is revealed. Click Select Key to copy the key.
    Screenshot_22
  8. Log into your Magento Store Admin Panel
  9. Navigate to System > Magento Connect > Magento Connect Manager
  10. Paste the extension key in Step 2 field and click Install. Magento Connect Manager verifies the extension key and gives you options to Cancel Installation or Proceed.
    Screenshot_23
  11. Click Proceed. The Console Box displays the results of your install. If there are any issues, it will be displayed in Console box.
  12. Click Refresh to see this extension added to your Extensions List

Common Installation Errors

The most common extension installation errors happen because of using the incorrect extension key, or a discrepancy that is detected by Magento Connect Manager. Additionally, stability could
be a factor. Be sure that you settings on Magento Connect Manager are set to the stability version you would like to install. For example: If your stability is set to Stable, but the package
you are attempting to install is a Beta – the Magento Connect Manager settings must be changed in order for you to install a Beta extension.

The post How to Install Magento Connect Extensions appeared first on NWDthemes.com.

Store Scopes in Magento

$
0
0

One of the most exciting features of Magento for many merchants is the ability to run multiple front end websites with a single administration area. For those of you who have managed multiple separate installations of a cart system to power many websites, perhaps selling the same products, then this on its own can make a huge difference in terms of ease of management. Store scopes concept will help you with that.

Store Scopes

When Magento is installed, a main website, default store, and store view are created. You can create as many additional websites, stores, and store views as you need. Within each website, you can have multiple stores, and within each store, separate views. The term hierarchy refers to the organization of websites, stores, and views in a Magento installation.

The best way to think about these views are with the concept of store scopes. Certain data in Magento is returned differently depending on which level (website, store, etc.) you’re on.
Store Scopes

Global

This refers to the entire installation.

Websites

Websites are ‘parents’ of stores. A website consists of one or more stores. Websites can be set up to share customer data, or not to share any data. You can set up as many websites as you need, and each can have a different domain.

Stores

A single website can have multiple stores – all are managed from the same Admin. Each store can have a different main menu, product selection, and appearance. Stores are ‘children’ of websites. Products and Categories are managed on the store level. A root category is configured for each store view group, allowing multiple stores under the same website to have totally different catalog structures.

Store Views

Store views are usually used to present the store in different languages, although they can be used for other purposes, as well. A store needs one or more store views to be browse-able in the front-end. The catalog structure per store view will always be the same, it simply allows for multiple presentations of the data in the front. 90% of implementations will likely use store views to allow customers to switch between 2 or more languages.

The post Store Scopes in Magento appeared first on NWDthemes.com.

Magento Slider Revolution 5 New Features

$
0
0

Recently we updated Magento Slider Revolution to Version 5. This version have totally improved interface to increase usability and give you all the tools for converting your inspiration into eye candy awesome sliders.

Your clients can’t wait to see slider masterpieces you can create for your Magento store with this tool. Come on and let’s dive into the world of new features in Magento Slider Revolution 5

 

Magento Slider Revolution 5 Sliders Overview

 

New sliders list lets you concentrate on your creative designs instead of related info and action buttons. Same way we did all slider related features even more accessible for you. Add, edit, remove, export duplicate and much more. All that within your Sliders Overview screen. Patiently waiting for you to use them but not trashing visual space with horde of buttons and links.

 

Magento Slider Revolution 5 Enhanced Sliders List

 

New Slider Source

 

Now you can generate your slides based on posts from your favorite social and media networks including Facebook, YouTube, Twitter and more. And of cause slider can be based on your Magento store products.

 

Magento Slider Revolution 5 New Content Source Types

 

New Magento Slider Types

 

We created two new slider types for you: Carousel and Hero Scene. Choose whatever best fits your design ideas.

 

Magento Slider Revolution 5 New Slider Types

 

Responsive Slider Layout Sizes

 

Must have feature in responsive web world. Now you can specify different layout sizes for specific screen sizes. This will increase flexibility of your responsiveness.

 

Magento Slider Revolution 5 New Slider Layout Sizes

 

Slider Settings of Your Dreams

 

To give you maximum control on your slider settings are divided on groups and submenus. You will quickly find any needed switch to tune your slider With live previews you can see effect of every option immediately.

 

Magento Slider Revolution 5 Slider Settings of Your Dreams

 

When you create new slider with lot of slides. It will be wise to save your time and set default global settings. Your newborn slides will have your cool tuning by design. Same time you can make them unique by overriding this defaults.

 

Magento Slider Revolution 5 Global Defaults

 

Keep your Magento store in shape and don’t let it gain extra MB. With performance and optimization panel you always in control of slider speed and size.

 

Magento Slider Revolution 5 Performance Optimization

 

Don’t do same work twice. Once configured save your settings as a preset template and use them for next sliders of same kind.

 

Magento Slider Revolution 5 Settings Presets

 

Magento Interactive Slide Editor

 

Now list of all slides displayed directly at the top of slide editor. That allows you to keep an eye on full picture while mastering each slide.

 

Magento Slider Revolutio 5 Slide Editor

 

Totally manage all your slides not leaving slide editor with slide action dropdowns.

 

Magento Slider Revolution 5 Slide Editor Options

 

Save slides as templates for future reuse and sharing between sliders.

 

Magento Slider Revolution 5 Slide Templates

 

Say goodbye to copy pasting each element. Just import the whole slide from templates library.

 

Magento Slider Revolution 5 Add Slide Templates

 

Tabbed Slide Settings

 

You never seen so lot of options you can configure in your slide. To let you easier control and find them we grouped them into compact tabs.

 

Magento Slider Revolution 5 Slide Settings

 

Professional Layer Editor

 

Magento slider layer editor comes to the new level. It now turned into professional multimedia presentation editing application. Creativity become quick and easy with its user friendly and intuitive interface.

 

Magento Slider Revolution 5 Slide Layers

 

To create responsive Magento sliders for mobile and tablet devices you can control visibility of every layer.

 

Magento Slider Revolution 5 Device Visibility

 

Add more interactivity to involve user with layer actions. You can do it even without scripting programming experience.

 

Magento Slider Revolution 5 Layers Actions

 

Direct every second of your performance with drag and drop animation timeline editor.

 

Magento Slider Revolution 5 Animation Timeline

 

Make More

 

More and even more new features in Magento Slider Revolution 5. Templates exchange, advanced video controls, online slider downloads, custom animation, live previews, multi-platform export. It have everything you need to create attractive presentations and more love, likes, share and purchases from your clients.

The post Magento Slider Revolution 5 New Features appeared first on NWDthemes.com.


How to change default product quantity from 0 to 1 in Magento

$
0
0

It is common magento issue. You open product page and have quantity set to “0”. This is not good. Customer think that if the quantity is 0 it normally means nothing will be added to the cart. Setting default product quantity to 1 make your site more user friendly.

It is pretty easy to fix. You do not need any programming skills.

  1. Go to Admin Panel -> System -> Configuration -> Inventory-> Product Stock Options from the Menu.
  2. Click on Add Minimum Qty button (next to Minimum Qty Allowed in Shopping Cart option).
  3. Choose Customer Group: ALL GROUPS as you want this to be applied to all users.
  4. Enter 1 for Minimum Qty.
  5. Save Config.

You can set different minimum quantity value for different user groups. Say for wholesale group it can start from 100.

The post How to change default product quantity from 0 to 1 in Magento appeared first on NWDthemes.com.

SUPEE 7405: Cannot remove the item from Cart

$
0
0

After installing SUPEE 7405 patch on client site i notice cart issue. When you add a product to the cart and trying to remove it, you got “Cannot remove the item.” error.

The issue is connected to changes in app/code/core/Mage/Checkout/controllers/CartController.php

Before

public function deleteAction()
{
    $id = (int) $this->getRequest()->getParam('id');
    if ($id) {
        try {
            $this->_getCart()->removeItem($id)
              ->save();
        } catch (Exception $e) {
            $this->_getSession()->addError($this->__('Cannot remove the item.'));
            Mage::logException($e);
        }
    }
    $this->_redirectReferer(Mage::getUrl('*/*'));
}

After

public function deleteAction()
{
    if ($this->_validateFormKey()) {
        $id = (int)$this->getRequest()->getParam('id');
        if ($id) {
            try {
                $this->_getCart()->removeItem($id)
                    ->save();
            } catch (Exception $e) {
                $this->_getSession()->addError($this->__('Cannot remove the item.'));
                Mage::logException($e);
            }
        }
    } else {
        $this->_getSession()->addError($this->__('Cannot remove the item.'));
    }

    $this->_redirectReferer(Mage::getUrl('*/*'));
}

Patch add formkey check. To fix it you need to update
[desing_package]/[theme]/template/checkout/cart/item/default.phtml

Find

<a href="<?php echo $this->getDeleteUrl() ?>" ...

Replace with

<a href="<?php echo $this->getDeleteUrl() ?>form_key/<?php echo $formKey = Mage::getSingleton('core/session')->getFormKey();?>" ...

The post SUPEE 7405: Cannot remove the item from Cart appeared first on NWDthemes.com.

Revolution Slider Magento Extension Update to Version 5.1.6.3 Released

$
0
0

Recently we released update to version 5.1.6.3 for Revolution Slider Magento Extension. This update adds some new features and solves minor bugs related to YouTube video and migration features.

New Features

Changes

  • Changed error message for template download permissions
  • Updated localization CSV file

Bugfixes

  • Fix for display memory limit when there is no limit
  • Fix for YouTube video insert
  • Fix for YouTube cover image upload
  • Fix for mouse scroll navigation option labels
  • Fix for YouTube next slide on end feature
  • Fix for base image original size in product based slider
  • Fix for showing layers from slides for static layer editing
  • Fix for conversion of 1.2.x version styles when upgrade

What to Expect in 5.1.2 Version of Revolution Slider Magento Extension

Now we are working on update for Revolution Slider Magento Extension to version 5.1.2. It is scheduled to be released in a week. In this update we will improve RTL support, add new Object Layer Type with SVG icon support, Undo/Redo features for Slide Editor and will introduce new possibilities of using Addons.

Stay tuned and follow us on Google Plus and Twitter to not miss new cool products and updates.

The post Revolution Slider Magento Extension Update to Version 5.1.6.3 Released appeared first on NWDthemes.com.

Magento 2 Command-Line Interface (CLI) Commands List

$
0
0

Magento 2 comes with built-in powerful command-line interface tool. It allows you to perform wide variaty of tasks including installation, configuration, database backups, compiling LESS etc. If you missing a feature, you can extend it with your own commands set. You will find using magento 2 command-line interface (CLI) commands pretty handy.

Tool location: /[magento_root]/bin/magento.

Usage:
 command [options] [arguments]

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

Frequently used commands

deploy:mode:set

cache:clean
cache:disable
cache:enable

indexer:reindex

module:disable
module:enable

setup:backup
setup:di:compile
setup:upgrade

Complete CLI Commands List

help
Displays help for a command
list
Lists commands

admin

admin:user:create
Creates an administrator

Usage:
 admin:user:create [--admin-user="..."] [--admin-password="..."] [--admin-email="..."] [--admin-firstname="..."] [--admin-lastname="..."] [--magento-init-params="..."]

Options:
 --admin-user           (Required) Admin user
 --admin-password       (Required) Admin password
 --admin-email          (Required) Admin email
 --admin-firstname      (Required) Admin first name
 --admin-lastname       (Required) Admin last name
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

admin:user:unlock
Unlock Admin Account

Usage:
 admin:user:unlock username

Arguments:
 username              The admin username to unlock

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

Help:
 This command unlocks an admin account by its username.
 To unlock:
       bin/magento admin:user:unlock username

cache

cache:clean
Cleans cache type(s)

Usage:
 cache:clean [--bootstrap="..."] [types1] ... [typesN]

Arguments:
 types                 Space-separated list of cache types or omit to apply to all cache types.

Options:
 --bootstrap           add or override parameters of the bootstrap
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

cache:disable
Disables cache type(s)

Usage:
 cache:disable [--bootstrap="..."] [types1] ... [typesN]

Arguments:
 types                 Space-separated list of cache types or omit to apply to all cache types.

Options:
 --bootstrap           add or override parameters of the bootstrap
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

cache:enable
Enables cache type(s)

Usage:
 cache:enable [--bootstrap="..."] [types1] ... [typesN]

Arguments:
 types                 Space-separated list of cache types or omit to apply to all cache types.

Options:
 --bootstrap           add or override parameters of the bootstrap
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

cache:flush
Flushes cache storage used by cache type(s)

Usage:
 cache:flush [--bootstrap="..."] [types1] ... [typesN]

Arguments:
 types                 Space-separated list of cache types or omit to apply to all cache types.

Options:
 --bootstrap           add or override parameters of the bootstrap
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

cache:status
Checks cache status

Usage:
 cache:status [--bootstrap="..."]

Options:
 --bootstrap           add or override parameters of the bootstrap
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

catalog

catalog:images:resize
Creates resized product images

Usage:
 catalog:images:resize

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

cron

cron:run
Runs jobs by schedule

Usage:
 cron:run [--group="..."] [--bootstrap="..."]

Options:
 --group               Run jobs only from specified group
 --bootstrap           Add or override parameters of the bootstrap
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

customer

customer:hash:upgrade
Upgrade customer’s hash according to the latest algorithm

Usage:
 customer:hash:upgrade

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

deploy

deploy:mode:set
Set application mode.

Usage:
 deploy:mode:set [-s|--skip-compilation] mode

Arguments:
 mode                    The application mode to set. Available options are "developer" or "production"

Options:
 --skip-compilation (-s) Skips the clearing and regeneration of static content (generated code, preprocessed CSS, and assets in pub/static/)
 --help (-h)             Display this help message
 --quiet (-q)            Do not output any message
 --verbose (-v|vv|vvv)   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)          Display this application version
 --ansi                  Force ANSI output
 --no-ansi               Disable ANSI output
 --no-interaction (-n)   Do not ask any interactive question

deploy:mode:show
Displays current application mode.

Usage:
 deploy:mode:show

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

dev

Displays current application mode.


dev:source-theme:deploy
Collects and publishes source files for theme.

Usage:
 dev:source-theme:deploy [--type="..."] [--locale="..."] [--area="..."] [--theme="..."] [file1] ... [fileN]

Arguments:
 file                  Files to pre-process (file should be specified without extension) (default: ["css/styles-m","css/styles-l"])

Options:
 --type                Type of source files: [less] (default: "less")
 --locale              Locale: [en_US] (default: "en_US")
 --area                Area: [frontend|adminhtml] (default: "frontend")
 --theme               Theme: [Vendor/theme] (default: "Magento/luma")
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

dev:tests:run
Runs tests

Usage:
 dev:tests:run [type]

Arguments:
 type                  Type of test to run. Available types: all, unit, integration, integration-all, static, static-all, integrity, legacy, default (default: "default")

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

dev:urn-catalog:generate
Generates the catalog of URNs to *.xsd mappings for the IDE to highlight xml.

Usage:
 dev:urn-catalog:generate [--ide="..."] path

Arguments:
 path                  Path to file to output the catalog. For PhpStorm use .idea/misc.xml

Options:
 --ide                 Format in which catalog will be generated. Supported: [phpstorm] (default: "phpstorm")
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

dev:xml:convert
Converts XML file using XSL style sheets

Usage:
 dev:xml:convert [-o|--overwrite] xml-file processor

Arguments:
 xml-file              Path to XML file that going to be transformed
 processor             Path to XSL style sheet that going to be applied to XML file

Options:
 --overwrite (-o)      Overwrite XML file
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

i18n

Converts XML file using XSL style sheets


i18n:collect-phrases
Discovers phrases in the codebase

Usage:
 i18n:collect-phrases [-o|--output="..."] [-m|--magento] directory

Arguments:
 directory             Directory path to parse

Options:
 --output (-o)         Path (including filename) to an output file. With no file specified, defaults to stdout.
 --magento (-m)        Use the --magento parameter to specify the directory is the Magento root directory. Omit the parameter if the directory is not the Magento root directory.
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

i18n:pack
Saves language package

Usage:
 i18n:pack [-m|--mode="..."] [-d|--allow-duplicates] source pack locale

Arguments:
 source                  Path to source dictionary file with translations
 pack                    Path to language package
 locale                  Target locale for dictionary, for example "de_DE"

Options:
 --mode (-m)             Save mode for dictionary
                         - "replace" - replace language pack by new one
                         - "merge" - merge language packages, by default "replace" (default: "replace")
 --allow-duplicates (-d) Use the --allow-duplicates parameter to allow saving duplicates of translate. Otherwise omit the parameter.
 --help (-h)             Display this help message
 --quiet (-q)            Do not output any message
 --verbose (-v|vv|vvv)   Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)          Display this application version
 --ansi                  Force ANSI output
 --no-ansi               Disable ANSI output
 --no-interaction (-n)   Do not ask any interactive question

i18n:uninstall
Uninstalls language packages

Usage:
 i18n:uninstall [-b|--backup-code] package1 ... [packageN]

Arguments:
 package               Language package name

Options:
 --backup-code (-b)    Take code and configuration files backup (excluding temporary files)
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

indexer

indexer:info
Shows allowed Indexers

Usage:
 indexer:info

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

indexer:reindex
Reindexes Data

Usage:
 indexer:reindex [index1] ... [indexN]

Arguments:
 index                 Space-separated list of index types or omit to apply to all indexes.

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

indexer:set-mode
Sets index mode type

Usage:
 indexer:set-mode [mode] [index1] ... [indexN]

Arguments:
 mode                  Indexer mode type [realtime|schedule]
 index                 Space-separated list of index types or omit to apply to all indexes.

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

indexer:show-mode
Shows Index Mode

Usage:
 indexer:show-mode [index1] ... [indexN]

Arguments:
 index                 Space-separated list of index types or omit to apply to all indexes.

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

indexer:status
Shows status of Indexer

Usage:
 indexer:status [index1] ... [indexN]

Arguments:
 index                 Space-separated list of index types or omit to apply to all indexes.

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info

info:adminuri
Displays the Magento Admin URI

Usage:
 info:adminuri

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info:backups:list
Prints list of available backup files

Usage:
 info:backups:list

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info:currency:list
Displays the list of available currencies

Usage:
 info:currency:list

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info:dependencies:show-framework
Shows number of dependencies on Magento framework

Usage:
 info:dependencies:show-framework [-o|--output="..."]

Options:
 --output (-o)         Report filename (default: "framework-dependencies.csv")
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info:dependencies:show-modules
Shows number of dependencies between modules

Usage:
 info:dependencies:show-modules [-o|--output="..."]

Options:
 --output (-o)         Report filename (default: "modules-dependencies.csv")
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info:dependencies:show-modules-circular
Shows number of circular dependencies between modules

Usage:
 info:dependencies:show-modules-circular [-o|--output="..."]

Options:
 --output (-o)         Report filename (default: "modules-circular-dependencies.csv")
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info:language:list
Displays the list of available language locales

Usage:
 info:language:list

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

info:timezone:list
Displays the list of available timezones

Usage:
 info:timezone:list

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

maintenance

maintenance:allow-ips
Sets maintenance mode exempt IPs

Usage:
 maintenance:allow-ips [--none] [--magento-init-params="..."] [ip1] ... [ipN]

Arguments:
 ip                     Allowed IP addresses

Options:
 --none                 Clear allowed IP addresses
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

maintenance:disable
Disables maintenance mode

Usage:
 maintenance:disable [--ip="..."] [--magento-init-params="..."]

Options:
 --ip                   Allowed IP addresses (use 'none' to clear allowed IP list) (multiple values allowed)
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

maintenance:enable
Enables maintenance mode

Usage:
 maintenance:enable [--ip="..."] [--magento-init-params="..."]

Options:
 --ip                   Allowed IP addresses (use 'none' to clear allowed IP list) (multiple values allowed)
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

maintenance:status
Displays maintenance mode status

Usage:
 maintenance:status [--magento-init-params="..."]

Options:
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

module

module:disable
Disables specified modules

Usage:
 module:disable [-f|--force] [--all] [-c|--clear-static-content] [--magento-init-params="..."] [module1] ... [moduleN]

Arguments:
 module                      Name of the module

Options:
 --force (-f)                Bypass dependencies check
 --all                       Disable all modules
 --clear-static-content (-c) Clear generated static view files. Necessary, if the module(s) have static view files
 --magento-init-params       Add to any command to customize Magento initialization parameters
                             For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)                 Display this help message
 --quiet (-q)                Do not output any message
 --verbose (-v|vv|vvv)       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)              Display this application version
 --ansi                      Force ANSI output
 --no-ansi                   Disable ANSI output
 --no-interaction (-n)       Do not ask any interactive question

module:enable
Enables specified modules

Usage:
 module:enable [-f|--force] [--all] [-c|--clear-static-content] [--magento-init-params="..."] [module1] ... [moduleN]

Arguments:
 module                      Name of the module

Options:
 --force (-f)                Bypass dependencies check
 --all                       Enable all modules
 --clear-static-content (-c) Clear generated static view files. Necessary, if the module(s) have static view files
 --magento-init-params       Add to any command to customize Magento initialization parameters
                             For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)                 Display this help message
 --quiet (-q)                Do not output any message
 --verbose (-v|vv|vvv)       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)              Display this application version
 --ansi                      Force ANSI output
 --no-ansi                   Disable ANSI output
 --no-interaction (-n)       Do not ask any interactive question

module:status
Displays status of modules

Usage:
 module:status [--magento-init-params="..."]

Options:
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

module:uninstall
Uninstalls modules installed by composer

Usage:
 module:uninstall [-r|--remove-data] [--backup-code] [--backup-media] [--backup-db] [-c|--clear-static-content] [--magento-init-params="..."] module1 ... [moduleN]

Arguments:
 module                      Name of the module

Options:
 --remove-data (-r)          Remove data installed by module(s)
 --backup-code               Take code and configuration files backup (excluding temporary files)
 --backup-media              Take media backup
 --backup-db                 Take complete database backup
 --clear-static-content (-c) Clear generated static view files. Necessary, if the module(s) have static view files
 --magento-init-params       Add to any command to customize Magento initialization parameters
                             For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)                 Display this help message
 --quiet (-q)                Do not output any message
 --verbose (-v|vv|vvv)       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)              Display this application version
 --ansi                      Force ANSI output
 --no-ansi                   Disable ANSI output
 --no-interaction (-n)       Do not ask any interactive question

sampledata

sampledata:deploy
Deploy sample data modules

Usage:
 sampledata:deploy

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

sampledata:remove
Remove all sample data packages from composer.json

Usage:
 sampledata:remove

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

sampledata:reset
Reset all sample data modules for re-installation

Usage:
 sampledata:reset

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

setup

setup:backup
Takes backup of Magento Application code base, media and database

Usage:
 setup:backup [--code] [--media] [--db] [--magento-init-params="..."]

Options:
 --code                 Take code and configuration files backup (excluding temporary files)
 --media                Take media backup
 --db                   Take complete database backup
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:config:set
Creates or modifies the deployment configuration

Usage:
 setup:config:set [--backend-frontname="..."] [--key="..."] [--session-save="..."] [--definition-format="..."] [--db-host="..."] [--db-name="..."] [--db-user="..."] [--db-engine="..."] [--db-password="..."] [--db-prefix="..."] [--db-model="..."] [--db-init-statements="..."] [-s|--skip-db-validation] [--http-cache-hosts="..."] [--magento-init-params="..."]

Options:
 --backend-frontname       Backend frontname (will be autogenerated if missing)
 --key                     Encryption key
 --session-save            Session save handler
 --definition-format       Type of definitions used by Object Manager
 --db-host                 Database server host
 --db-name                 Database name
 --db-user                 Database server username
 --db-engine               Database server engine (default: "innodb")
 --db-password             Database server password
 --db-prefix               Database table prefix
 --db-model                Database type (default: "mysql4")
 --db-init-statements      Database  initial set of commands (default: "SET NAMES utf8;")
 --skip-db-validation (-s) If specified, then db connection validation will be skipped
 --http-cache-hosts        http Cache hosts
 --magento-init-params     Add to any command to customize Magento initialization parameters
                           For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)               Display this help message
 --quiet (-q)              Do not output any message
 --verbose (-v|vv|vvv)     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)            Display this application version
 --ansi                    Force ANSI output
 --no-ansi                 Disable ANSI output
 --no-interaction (-n)     Do not ask any interactive question

setup:cron:run
Runs cron job scheduled for setup application

Usage:
 setup:cron:run [--magento-init-params="..."]

Options:
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:db-data:upgrade
Installs and upgrades data in the DB

Usage:
 setup:db-data:upgrade [--magento-init-params="..."]

Options:
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:db-schema:upgrade
Installs and upgrades the DB schema

Usage:
 setup:db-schema:upgrade [--magento-init-params="..."]

Options:
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:db:status
Checks if DB schema or data requires upgrade

Usage:
 setup:db:status [--magento-init-params="..."]

Options:
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:di:compile
Generates DI configuration and all non-existing interceptors and factories

Usage:
 setup:di:compile

Options:
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

setup:di:compile-multi-tenant
Generates all non-existing proxies and factories, and pre-compile class definitions, inheritance information and plugin definitions

Usage:
 setup:di:compile-multi-tenant [--serializer="..."] [--extra-classes-file="..."] [--generation="..."] [--di="..."] [--exclude-pattern="..."] [--magento-init-params="..."]

Options:
 --serializer           Serializer function that should be used (serialize|igbinary) default: serialize
 --extra-classes-file   Path to file with extra proxies and factories to generate
 --generation           Absolute path to generated classes, /var/generation by default
 --di                   Absolute path to DI definitions directory, /var/di by default
 --exclude-pattern      Allows to exclude Paths from compilation (default is #[\\/]m1[\\/]#i)
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:install
Installs the Magento application

Usage:
 setup:install [--backend-frontname="..."] [--key="..."] [--session-save="..."] [--definition-format="..."] [--db-host="..."] [--db-name="..."] [--db-user="..."] [--db-engine="..."] [--db-password="..."] [--db-prefix="..."] [--db-model="..."] [--db-init-statements="..."] [-s|--skip-db-validation] [--http-cache-hosts="..."] [--base-url="..."] [--language="..."] [--timezone="..."] [--currency="..."] [--use-rewrites="..."] [--use-secure="..."] [--base-url-secure="..."] [--use-secure-admin="..."] [--admin-use-security-key="..."] [--admin-user="..."] [--admin-password="..."] [--admin-email="..."] [--admin-firstname="..."] [--admin-lastname="..."] [--cleanup-database] [--sales-order-increment-prefix="..."] [--use-sample-data] [--magento-init-params="..."]

Options:
 --backend-frontname             Backend frontname (will be autogenerated if missing)
 --key                           Encryption key
 --session-save                  Session save handler
 --definition-format             Type of definitions used by Object Manager
 --db-host                       Database server host
 --db-name                       Database name
 --db-user                       Database server username
 --db-engine                     Database server engine (default: "innodb")
 --db-password                   Database server password
 --db-prefix                     Database table prefix
 --db-model                      Database type (default: "mysql4")
 --db-init-statements            Database  initial set of commands (default: "SET NAMES utf8;")
 --skip-db-validation (-s)       If specified, then db connection validation will be skipped
 --http-cache-hosts              http Cache hosts
 --base-url                      URL the store is supposed to be available at
 --language                      Default language code
 --timezone                      Default time zone code
 --currency                      Default currency code
 --use-rewrites                  Use rewrites
 --use-secure                    Use secure URLs. Enable this option only if SSL is available.
 --base-url-secure               Base URL for SSL connection
 --use-secure-admin              Run admin interface with SSL
 --admin-use-security-key        Whether to use a "security key" feature in Magento Admin URLs and forms
 --admin-user                    (Required) Admin user
 --admin-password                (Required) Admin password
 --admin-email                   (Required) Admin email
 --admin-firstname               (Required) Admin first name
 --admin-lastname                (Required) Admin last name
 --cleanup-database              Cleanup the database before installation
 --sales-order-increment-prefix  Sales order number prefix
 --use-sample-data               Use sample data
 --magento-init-params           Add to any command to customize Magento initialization parameters
                                 For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)                     Display this help message
 --quiet (-q)                    Do not output any message
 --verbose (-v|vv|vvv)           Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)                  Display this application version
 --ansi                          Force ANSI output
 --no-ansi                       Disable ANSI output
 --no-interaction (-n)           Do not ask any interactive question

setup:performance:generate-fixtures
Generates fixtures

Usage:
 setup:performance:generate-fixtures [-s|--skip-reindex] profile

Arguments:
 profile               Path to profile configuration file

Options:
 --skip-reindex (-s)   Skip reindex
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

setup:rollback
Rolls back Magento Application codebase, media and database

Usage:
 setup:rollback [-c|--code-file="..."] [-m|--media-file="..."] [-d|--db-file="..."] [--magento-init-params="..."]

Options:
 --code-file (-c)       Basename of the code backup file in var/backups
 --media-file (-m)      Basename of the media backup file in var/backups
 --db-file (-d)         Basename of the db backup file in var/backups
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:static-content:deploy
Deploys static view files

Usage:
 setup:static-content:deploy [-d|--dry-run] [languages1] ... [languagesN]

Arguments:
 languages             List of languages you want the tool populate files for. (default: ["en_US"])

Options:
 --dry-run (-d)        If specified, then no files will be actually deployed.
 --help (-h)           Display this help message
 --quiet (-q)          Do not output any message
 --verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)        Display this application version
 --ansi                Force ANSI output
 --no-ansi             Disable ANSI output
 --no-interaction (-n) Do not ask any interactive question

setup:store-config:set
Installs the store configuration

Usage:
 setup:store-config:set [--base-url="..."] [--language="..."] [--timezone="..."] [--currency="..."] [--use-rewrites="..."] [--use-secure="..."] [--base-url-secure="..."] [--use-secure-admin="..."] [--admin-use-security-key="..."] [--magento-init-params="..."]

Options:
 --base-url                URL the store is supposed to be available at
 --language                Default language code
 --timezone                Default time zone code
 --currency                Default currency code
 --use-rewrites            Use rewrites
 --use-secure              Use secure URLs. Enable this option only if SSL is available.
 --base-url-secure         Base URL for SSL connection
 --use-secure-admin        Run admin interface with SSL
 --admin-use-security-key  Whether to use a "security key" feature in Magento Admin URLs and forms
 --magento-init-params     Add to any command to customize Magento initialization parameters
                           For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)               Display this help message
 --quiet (-q)              Do not output any message
 --verbose (-v|vv|vvv)     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)            Display this application version
 --ansi                    Force ANSI output
 --no-ansi                 Disable ANSI output
 --no-interaction (-n)     Do not ask any interactive question

setup:uninstall
Uninstalls the Magento application

Usage:
 setup:uninstall [--magento-init-params="..."]

Options:
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

setup:upgrade
Upgrades the Magento application, DB data, and schema

Usage:
 setup:upgrade [--keep-generated] [--magento-init-params="..."]

Options:
 --keep-generated       Prevents generated code from being deleted.
                        We discourage using this option except when deploying to production.
                        Consult your system integrator or administrator for more information.
 --magento-init-params  Add to any command to customize Magento initialization parameters
                        For example: "MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache"
 --help (-h)            Display this help message
 --quiet (-q)           Do not output any message
 --verbose (-v|vv|vvv)  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)         Display this application version
 --ansi                 Force ANSI output
 --no-ansi              Disable ANSI output
 --no-interaction (-n)  Do not ask any interactive question

theme

theme:uninstall
Uninstalls theme

Usage:
 theme:uninstall [--backup-code] [-c|--clear-static-content] theme1 ... [themeN]

Arguments:
 theme                       Path of the theme. Theme path should be specified as full path which is area/vendor/name. For example, frontend/Magento/blank

Options:
 --backup-code               Take code backup (excluding temporary files)
 --clear-static-content (-c) Clear generated static view files.
 --help (-h)                 Display this help message
 --quiet (-q)                Do not output any message
 --verbose (-v|vv|vvv)       Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
 --version (-V)              Display this application version
 --ansi                      Force ANSI output
 --no-ansi                   Disable ANSI output
 --no-interaction (-n)       Do not ask any interactive question

The post Magento 2 Command-Line Interface (CLI) Commands List appeared first on NWDthemes.com.

Magento 2 Setup Compile Errors

$
0
0

Magento 2.0 magento setup:di:compile command gives me following errors:

[ErrorException] Declaration of
Magento\Newsletter\Test\Unit\Model\Queue\TransportBuilderTest::testGetTransport()
should be compatible with
Magento\Framework\Mail\Test\Unit\Template\TransportBuilderTest::testGetTransport($templateType, $messageType, $bodyText, $templateNamespace)

FIX:

Update app/code/Magento/Newsletter/Test/Unit/Model/Queue/TransportBuilderTest.php

public function testGetTransport($templateType = TemplateTypesInterface::TYPE_HTML,
        $messageType = MessageInterface::TYPE_HTML,
        $bodyText = '<h1>Html message</h1>'
    )

to

public function testGetTransport(
    $templateType = TemplateTypesInterface::TYPE_HTML,
    $messageType = MessageInterface::TYPE_HTML,
    $bodyText = '<h1>Html message</h1>',
    $templateNamespace ='Magento\Newsletter\Test\Unit\Model\Queue'
)

[ReflectionException]
Class Not_Existing_Class does not exist

FIX:

Update setup/src/Magento/Setup/Module/Di/Code/Reader/ClassesScanner.php

if (preg_match($pattern, $fileItem->getRealPath())) {

to

if (preg_match($pattern, str_replace('\\', '/', $fileItem->getRealPath()))) {

Hope this helps you to run the compile successfully!

Check our article about magento 2 complete cli commands list

The post Magento 2 Setup Compile Errors appeared first on NWDthemes.com.

Magento Slider Revolution Add-Ons

$
0
0

Magento Slider Revolution Add-Ons was introduced in version 5.2.4 of Slider Revolution Magento Extension. This brings in unlimited abilities of adding new features and effects for your sliders and editor. Let’s see two of them available for Magento version already.

Magento Slider Revolution Add-Ons – Whiteboard

 

Magento Slider Revolution Add-Ons - Whiteboard

 

Whiteboard Magento Slider Revolution Add-On gives you ability to create eye candy handwriting effects. That will be perfect for presentation or information slides.

And with hand move feature you can create hand crafting visual creation of your sliders. You can change image of hand. Set left or right hand writing mode. Specify speed and draw styles. Use built-in presets. With unimaginable abilities to customize this add-on can be used to create welcome demo and tutorials for your mobile apps and online services.

We can’t wait to see crazy awesome designs you will create with this tool. Check out this example. You have to see this to believe.

Magento Slider Revolution Add-Ons – Backup

 

Magento Slider Revolution Add-Ons - Backup

 

This Magento Slider Revolution Add-On will be lifesaver if you removed something from your slider accidentally. Or decided to roll back to older version of your Magento slider design. You simply check list of saved version, preview and restore needed one.

Restore points will be created automatically each time you save your slide. No server side scripting, shell commands or additional programming required.

This add on as well as Whiteboard one can be installed and activated online right from your editor. Totally free for users of registered version of Slider Revolution Magento Extension. Check it and you will find plenty of new features worth to be used. And even more it is loaded with masterpiece templates to inspire your Magento slider designs.

Follow us on Twitter, Facebook and Google Plus to not miss next cool Magento Slider Revolution Add-Ons. And of cause Magento 2 Slider Revolution Extension coming soon.

The post Magento Slider Revolution Add-Ons appeared first on NWDthemes.com.

Slider Revolution: How to insert HTML slider in Magento 2

$
0
0

Tutorial requirements:

  • slider Revolution 5.x installed on magento 1.x.
  • magento 2 installation

This tutorial assumes that you have slider revolution for magento 1.x. You will need to export slider from that version in order to use it in magento 2. Do not upload magento 1.x extension to magento 2!.

  1. Login to magento 1.x admin and navigate to “NWDthemes > Revolution Slider > Slider Overview”.
  2. Open plugin’s “Global Settings”1global-settings-btn
  3. Set “Enable Markup Export option” to “On” and press “UPDATE” button in the bottom of popup.2enavle-markup-option
  4. Press F5 on your keyboard to refresh the browser’s page (or just reload the admin page manually).
  5. Select the “Export to HTML” option for your slider. This option will only be visible after performing steps #1-4 above.
    3export-to-html
  6. Slider zip has following structure:

    * assets
    * css
    * fonts
    * js
    * slider.html

    In slider html you can find the source code for the slider. You need to copy assets, css, fonts and js folder to your html site corresponding folders. Js and CSS includes can be found in head section of slider.html Slider source can be found in body section of slider.html

  7. Unzip slider package and copy it to web folder of your magento 2 theme. We will install the slider in default “Luma” theme. Usually custom themes located under app/design/frontend/. But in case with Luma it is located under vendor/magento/theme-frontend-luma/. We will install one of default sliders called classicslider. Result path would be vendor/magento/theme-frontend-luma/web/classicslider.
    Screenshot_1
  8. Now lets add slider css to the theme. First open classicslider/slider.html and open vendor/magento/theme-frontend-luma/Magento_Theme/layout/default_head_blocks.xml. Select fonts and stylesheet from slider.html HEAD tag and copy it to default_head_blocks.xml. In our case we need to copy this part from slider.html
    &lt;!-- LOADING FONTS AND ICONS -->
    &lt;link href="http://fonts.googleapis.com/css?family=Raleway%3A500%2C800" rel="stylesheet" property="stylesheet" type="text/css" media="all" />&lt;link href="http://fonts.googleapis.com/css?family=Raleway%3A800%2C500%2C400" rel="stylesheet" property="stylesheet" type="text/css" media="all" />
    
    &lt;link rel="stylesheet" type="text/css" href="fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css">
    &lt;link rel="stylesheet" type="text/css" href="fonts/font-awesome/css/font-awesome.min.css">
    
    &lt;!-- REVOLUTION STYLE SHEETS -->
    &lt;link rel="stylesheet" type="text/css" href="css/settings.css">
    &lt;!-- REVOLUTION LAYERS STYLES -->

    This code needs to be adjusted according to magento layout xml rules. Check magento 2 documentation for more information on including static resources – http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/xml-manage.html#layout_markup_css

    CSS file include:
    was:
    <link rel="stylesheet" type="text/css" href="fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css">
    become:
    <css src="classicslider/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css" />

    Google Font include:
    was:
    <link href="http://fonts.googleapis.com/css?family=Raleway%3A500%2C800" rel="stylesheet" property="stylesheet" type="text/css" media="all" />
    become:
    <link src="https://fonts.googleapis.com/css?family=Raleway:500,800" src_type="url" rel="stylesheet" type="text/css" />

    Resulting code for default_head_blocks.xml

    &lt;!-- LOADING FONTS AND ICONS -->
    &lt;link src="https://fonts.googleapis.com/css?family=Raleway:500,800" src_type="url" rel="stylesheet" type="text/css" />
    &lt;link src="https://fonts.googleapis.com/css?family=Raleway:800,500,400" src_type="url" rel="stylesheet" type="text/css" /> 
    
    &lt;css src="classicslider/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css" />
    &lt;css src="classicslider/fonts/font-awesome/css/font-awesome.min.css" />
    
    &lt;!-- REVOLUTION STYLE SHEETS -->
    &lt;css src="classicslider/css/settings.css" />

  9. Next step is to specify dependencies for our javascript libraries. Create vendor/magento/theme-frontend-luma/requirejs-config.js with following content:
    var config = {
      "shim": {
        "classicslider/js/jquery.themepunch.tools.min": ["jquery"],
        "classicslider/js/jquery.themepunch.revolution.min": ["jquery", "classicslider/js/jquery.themepunch.tools.min"]
      }
    };
  10. Login to magento 2 admin panel
  11. I would highly recommend to disable WYSIWYG editor before creating static block. It can be done in Stores > Configuration > Content Management section

    Add static block that will represent slider code. It will also hold inline styles for the slider. To add static block you need to click on Content icon in right toolbar, click Blocks and press Add New Block button.
    Screenshot_3

    First lets copy inline styles from slider.html to static block content. They located in HEAD tag.
    Screenshot_4

    Next we will copy slider html code. It is located in BODY tag. Slider html require some changes in order to work correctly.

    • Change images path.
      Was:
      assets/datcolor.jpg
      Become:
      {{view url="classicslider/assets/datcolor.jpg"}}
    • Change javascript libraries path.
      Was:
      jsFileLocation:"//mysite.com/revslider/public/assets/js/",
      become:
      jsFileLocation:"{{view url="classicslider/js"}}/",
    • Wrap slider javascript into
      require([
              'jquery',
              'classicslider/js/jquery.themepunch.tools.min',
              'classicslider/js/jquery.themepunch.revolution.min',
          ], function (jQuery) {
      ....
      });

      Was:

      &lt;script type="text/javascript">
      	var tpj=jQuery;
      			
      	var revapi61;
      	tpj(document).ready(function() {
      		....
      	});	/*ready*/
      &lt;/script>

      Become:

      &lt;script type="text/javascript">
      require([
      	'jquery',
      	'classicslider/js/jquery.themepunch.tools.min',
      	'classicslider/js/jquery.themepunch.revolution.min',
      	], function (jQuery) {
      		var tpj=jQuery;
      		
      		var revapi61;
      		tpj(document).ready(function() {
      			...
      		});	/*ready*/
      	
      });	
      &lt;/script>

  12. Create new “CMS Static Block” widget for home page. It can be done in Content > Widgets
    Screenshot_5

    Screenshot_6

  13. we need to remove “\pub\static” and “\var\” folders and execute commend through the console
    php bin/magento setup:static-content:deploy
  14. Clear cache ( System > Tools > Cache Management )
  15. Refresh your home page. You should have slider on frontend now.

Useful links:

http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/xml-manage.html#layout_markup_css
http://devdocs.magento.com/guides/v2.0/javascript-dev-guide/javascript/custom_js.html

The post Slider Revolution: How to insert HTML slider in Magento 2 appeared first on NWDthemes.com.


Error Reporting In Magento 2

$
0
0

If you got similar message you might be curios how to enable error reporting in magento 2 instead of checking log file in /var/report folder.

There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXXXXXXXXX

By default Magento 2 run in “default” mode : Exceptions are not displayed to the user; instead, exceptions are written to log files. To enable error reporting in this mode you need to rename local.xml.sample to local.xml within pub/errors directory.

You should run the Magento software in “developer” mode when you’re extending or customizing it. Uncaught exceptions display in the browser and exception is thrown in the error handler, rather than being logged. To switch to developer mode you need to perform following actions:

  • delete the contents of the var/generation and var/di directories:
    rm -rf <your Magento install dir>/var/di/* <your Magento install dir>/var/generation/*
  • Set the mode:
    magento deploy:mode:set developer

    The following message displays:
    Switched to developer mode.

Useful links:
Magento modes
Change magento mode

The post Error Reporting In Magento 2 appeared first on NWDthemes.com.

Magento 2 : When exactly to use php bin/magento setup:upgrade

$
0
0

If you enabled one or more modules, then you will need to run magento setup:upgrade to update the database schema.

php bin/magento module:enable Nwdthemes_Module
php bin/magento setup:upgrade

First line simply adds your module to the app/etc/config.php. Please note that your magento will crash until you run second command.

Second line trigger setup scripts of all Magento modules that needs setup. Current module version is saved in setup_module table ( remember core_resource in Magento 1 ).

By default, magento setup:upgrade clears compiled code and the cache. Typically, you use magento setup:upgrade to update components and each component can require different compiled classes.

magento setup:upgrade --keep-generated

The optional –keep-generated option prevents generated code from being deleted. It should be used only in limited circumstances by experienced system integrators. –keep-generated should never be used in a development environment. Improper use of this optional parameter can cause errors during code execution.

Useful Links:
Magento 2 Command-Line Interface (CLI) Commands List
Enable or disable modules

The post Magento 2 : When exactly to use php bin/magento setup:upgrade appeared first on NWDthemes.com.

Magento 2: How to add Google Font

$
0
0

You might already check Include static resources (JavaScript, CSS, fonts) article by magento team. They state that to add google font you need to update /Magento_Theme/layout/default_head_blocks.xml with

<link src="http://fonts.googleapis.com/css?family=Montserrat" src_type="url" />

But as a result it is not working. Correct code is

<link src="https://fonts.googleapis.com/css?family=Montserrat" src_type="url" rel="stylesheet" type="text/css" />

It wont work without additional parameters.

Google fonts used in our tutorial for Slider Revolution: How to insert HTML slider in Magento 2

Another case is when you want to specify font subset like &subset=latin,cyrillic. The solution is Replacing ampersand in the path with

&amp;amp;amp;

The problem seems that the xml code is escaped three times. If it does not work for you, try adding or removing the amp; part as many times as needed until it works.
Check github thread for complete information on this issue – https://github.com/magento/magento2/issues/2228

The post Magento 2: How to add Google Font appeared first on NWDthemes.com.

Magento 2: How to uninstall module

$
0
0

You can install module in magento in two ways: via composer and manual installation. If you no longer need a certain extension you may wish to uninstall it.

If you installed it manually:

  • remove the folder app/code/<Vendor>/<Module>
  • drop module tables from database
  • remove the config settings.
    DELETE FROM core_config_data WHERE path LIKE 'vendor_module/%'
  • remove the module <Vendor>_<Module> from app/etc/config.php
  • remove the module <Vendor>_<Module> from table setup_module
    DELETE FROM setup_module WHERE module='<Vendor>_<Module>'

If you installed it via composer:

run this in console

php bin/magento module:uninstall -r <Vendor>_<Module>

The post Magento 2: How to uninstall module appeared first on NWDthemes.com.

Magento 1.x: How to enable template path hints

$
0
0

To enable template path hints in Magento:

  • Login to the magento back-end
  • Go to System > Configuration
  • Go to Developer section on the bottom left under ADVANCED
    Screenshot_1
  • Switch to the store view on the top left to your current website or store view.
    Screenshot_2
  • Open Debug and set “Template Path Hints” = Yes. Optionally you can set “Add Block Names to Hints” = Yes to see class names responsible for block output
    Screenshot_3
  • Remember to clear your cache ( System > Cache Management ).

How to make it show for only your computer

In the same screen where you would enable template path hints, enter your IP address in the dev console filter field (first field in the Developer config screen). You can check your IP address here – https://whatismyipaddress.com/ . If you do this correctly, debug information will be shown only for restricted IP.
Screenshot_4

Resulting Look

Screenshot_5

The post Magento 1.x: How to enable template path hints appeared first on NWDthemes.com.

Viewing all 53 articles
Browse latest View live