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, July 8, 2018

Commenting PHP Code


A comment is the portion of a program that exists only for the human reader and stripped out before displaying the programs result. There are two commenting formats in PHP:

Single-line comments: They are generally used for short explanations or notes relevant to the local code. Here are the examples of single line comments


Multi-lines comments: They are generally used to provide pseudocode algorithms and more detailed explanations when necessary. The multiline style of commenting is the same as in C. Here are the example of multi lines comments.