aneesahmadweb@gmail.com     03040836207

    First need to alias mysql on locahost .See where you mysql.exe file is located in xampp folder.Make a correct path and add into below command and run it.

    alias mysql='D://xampp/mysql/bin/mysql.exe'
    
    
    $ alias php='D://xampp/php/php.exe'
    mysql -h localhost -u username databasename < dump.sql
    

    $ alias php=’D://xampp/php/php.exe’

    alias mysql=’D://xampp/mysql/bin/mysql.exe’

    php -dmemory_limit=5G bin/magento setup:static-content:deploy -f
    php bin/magento fl32:minify:make

    php -dmemory_limit=5G bin/magento setup:di:compile

    export PATH=/opt/plesk/php/7.1/bin:$PATH;

    https://megan.ns.cloudflare.com/
    https://cody.ns.cloudflare.com/

    php bin/magento indexer:reindex mst_sorting

    Enable Dev path hints
    php bin/magento dev:template-hints:enable

    Find in all directory sudo find / -name ‘my.cnf’ 2>1
    searching my.cnf
    Go to
    /etc/mysql/my.cnf
    on last line add
    innodb_buffer_pool_size=5G
    Then restart server and done

    sudo service mysqld stop
    sudo service mysqld start

    Now CHECK Innodb buffer pool size
    SELECT @@innodb_buffer_pool_size

    for speed To minify all js and css install this module
    https://github.com/flancer32/mage2_ext_minify
    Then run the command given in github

    For speed use keycdn in magento

    To check header curl -sD – -o /dev/null https://nexus-home.com
    to login as roo su

    List your jobs

    jobs
    Bring a job to the foreground

    fg 1

    Magento 2 Code analysis for duplication
    http://codeanalysis.labs.mconnectmedia.com/

    https://www.classyllama.com/blog/targeted-dependency-injection

    Fix for category url magento 2
    https://magento.stackexchange.com/questions/137230/magento2-product-url-displaying-with-category-and-product-id

    Before starting xampp we need these configuration
    https://stackoverflow.com/questions/51240993/importing-db-phpmyadmin-error-incorrect-format-parameter

    To increase buffer pool size
    SHOW ENGINE INNODB STATUS;

    not working reinding than check it especialty if product eav not working
    SELECT * FROM catalog_product_entity_varchar where attribute_id = 264 and entity_id = 8781

    https://store.magenest.com/blog/how-to-override-core-class-magento-2/

    What is the difference between Preference and Plugin?
    Although both of them are used for overriding the core modules, the way to use them is completely different.

    With Preference, it must extend a core class. Preference can rewrite function. When you declare a Preference, your new class is expected to be a complete implementation of the class you want to override.

    While a plugin allows you to execute your functions before, after or around (before & after) the core function is executed. It’s NOT really rewritten function like Preference.

    Since your plugin class doesn’t replace the core class, in case there are many plugins hooked onto a target class, Magento 2 just executes them sequentially based on the sortOrder parameter in your file di.xml.

    JAVASCRIPT Require config js magento 2
    Fortunately, there is a solution. The RequireJS shim configuration directive allows you to configure what I’ll call “load order” dependencies. i.e., you can say
    Hey RequireJS — when you load the jquery.cookie module? Make sure you’ve completely loaded the jquery module first.
    var config = {
    paths:{
    “jquery.cookie”:”Package_Module/path/to/jquery.cookie.min”
    },
    shim:{
    ‘jquery.cookie’:{
    ‘deps’:[‘jquery’]
    }
    }
    };

    https://www.ashsmith.io/magento2/module-from-scratch-part-5-adminhtml/

    RewriteCond %{THE_REQUEST} .html
    RewriteRule ^(.*).html$ /$1 [R=301,L]

    create custom button for share this
    https://platform.sharethis.com/inline-share-buttons

    update shopbybrand_slide set seo_url = replace(seo_url, ‘.html’, ”)

    chmod 777 -R pub/*
    unzip filename.zip

    CATALOG_PRODUCT_OPTION_TITLE_STORE_ID_STORE_STORE_ID
    CAT_PRD_OPT_TTL_OPT_ID_CAT_PRD_OPT_OPT_ID

    List of free extension for every store
    https://swissuplabs.com/blog/68-free-magento-2-extensions-that-enable-the-highest-converting-website/

    CMS FRONTend builder
    https://github.com/arrowhitech-gp/magento2-cms-builder

    About Author

    You may also like

    No Comment

    You can post first response comment.

    Leave A Comment

    Please enter your name. Please enter an valid email address. Please enter a message.