Syntax : substr_replace ( string, replacement, start, length ); Description : substr_replace() function will replace text within a part of a…
Syntax : uniqid (prefix, more_entropy) ; Description : The uniqid() function generates a unique ID based on the microtime (current time…
In the below example, we will learn how to get the shopping cart information in Magento with respect their respective…
Magento Get Last Order Id : You can get last order Id in magento by using the following code in…
Syntax : wordwrap ( string, width, break, cut ); Description : wordwrap() function will Wraps a string to a given number of…
Magento get coupon code applied on cart code You can use the following getCouponCode method to apply coupon code on…
Syntax : string nl2br( string , use_xhtml); Description : It is an inbuilt function of PHP. nl2br() function inserts HTML…
In this blog we are going to learn to get custom options values for all products in Magento with any…
Bootstrap Modal: This dialog box/popup window which will be displayed on top of the current page in the form of…
Bootstrap Collapse: With this JS functionality in Bootstrap you can hide or show content which will open only when you…