File Upload in PHP
Hello All, I had to make a custom form for file uploading in PHP, I am explaining here the way to upload a file.
Opensource Web Solutions
Hello All, I had to make a custom form for file uploading in PHP, I am explaining here the way to upload a file.
Hello All, Please check the below script that will help you find the payment method information set in Magento quote
Hello All, I am writing here a script that will help you generate random coupon codes using Magento’s existing modules Hope this is helpful
Hello All, I am writing here a script for getting all the child products of the required parent product id Hope this is useful
Below is the simple PHP (>= 7.0.0) script to connect with the MS SQL database Hope this is helpful.
Here is a way to connect mssql database using Magento’s inbuilt models. Hope this is helpful
I am describing here a way to generate coupon codes with custom configurable parameters. Hope this is helpful.
Below is a simple script to generate random string/password using PHP. You can customize the same by adding special characters. Hope this is helpful.
I had a specific requirement to generate a CSV file and send the same as an attachment in a mail, without saving it at any physical location. I am listing here the way to do it. For further read Mail in Magento Add attachment to order email in Magento
cURL request in Magento Most of the time there is a need to call 3rd party APIs from Magento. We use cURL functions for the same, now here is an interesting part, Magento has wrapper functions for the same in its own library. This make it easy for calling the 3rd party API url’s. Code […]