BTemplates.com

Follow us

easyandfaster. Powered by Blogger.

Magento2 – Add custom price of Product when adding to cart

First create events.xml file in folder ‘EasyndFaster/Custom/etc/frontend’ and use event ‘checkout_cart_product_add_after’ .     ...

Labels

BTemplates.com

Blogroll

Weekly most viewed

Sunday, June 17, 2018

Magento 2 Change fronetnd logo?




Magento 2.0

  • On the Admin sidebar, click on Stores. Then under Settings, choose Configuration.
  • In the panel on the left under General choose Design.
  • If you have multiple stores or views, set Store View in the upper-left corner to the view where the configuration applies. Then, clear the checkbox after each field so new values can be entered.
  • Expand the Header section. Then, do the following:

Magento 2.1

  • From Magento 2.1, this path was changed. It is located at Content > Configuration > Select your current theme > Header

Sunday, June 10, 2018

Hello World in PHP


In below is the code to write "Hello World" in php.


Hello World


  • Create "Helloworld" folder in xampp\htdocs\. (Path like :- \xampp\htdocs\Helloworld)
  • Now create index.php file in your "Helloworld" folder.
  • In "index.php" write below code.
    • <?php
      echo "Hello World";
      ?>
  • Now save file.
  • Open your browser and run your folder 
    • like :- http://localhost/Helloworld/

Sunday, June 3, 2018