Generally for shopping cart, we are showing shopping cart basket overview in header so customer can easily come to know about his/her shopping basket. Are you working with Magento and need to know how to get Cart Quantity ?
[Magento] Increase Cookie time of Login
My Client is complaining for logged out issue. Magento sets Cookie lifetime to 3600 seconds and after that it asks for Login again. So my client wants to increase Login Cookie time. If you are looking for the same than follow the below steps.
[Magento] Disable Compare products functionality
Yesterday i was working with Magento Open Source and i am in need to disable the compare products in Magento. Client does not want the compare products functionality of Magento so i have no choice other than disable it.
[Magento] Access denied issue
You must be facing Access deined issue when you work with Magento site. I am facing such issue frequently and it was due to admin privileges. This error is due to lack of permission set for admin. You can be out of the issue by either of the below way.
[Magento] Configure/Move site to new domain
I am working with Magento and i need to move the site from one domain to another domain. Configure Magento to new Domain or Move Magento to New Domain by just editing 2 fields of database. You can open your Magento Database and follow the below steps.
I am working with Magento Shopping cart now a days. I need to list all products of Magento in one page. If you are looking to get all products in Magento than you can achieve this by a single line of code. Click on Read More to get full post and solution as well.
I am working with Magento Shopping Cart and i was in need to show products of particular category only. Magento almost provides all functions to get variety of combination data. I was searching to retrieve the category specfic products and finally i succeed
I need to create a static pages along with other dynamic pages for my CakePHP site. Initially i have decided to go with a similar procedure as dynamic pages. But later i got the solution for Static pages that CakePHP provides a simple and easiest way to create Static pages. Follow the below steps to create static pages in CakePHP.
Seach engine always consider www and non www url as different one. If your website is accessible via both than you might be face a duplicate content issue which is very shameless for your website. So for better SEO and usability purposes, you need to redirect all your non www urls to www urls. So search engine can able to crowl only www urls and you will not face a duplicate content issue any more. To accomplish this, you just need to put below lines in your .htaccess file.
WAMP and XAMPP are the popular server for developing web application with PHP/MYSQL in Windows environment. Generally we are working with different projects of clients. All projects folder exists in root directory of WAMP/XAMPP. Now whenever we move the project to production environment, we have to change tje absolute path manually.You have an option of Virtual Host if you dont want to change it manually.
As i mention in my echo vs print article, there are few basic tips to write a optimize PHP code. You are aware with echo and print that echo is faster so always prefer to use echo rather than use print. Now you use single quote as well as double quote to output simple string using echo statement. Single quote is faster than double quote, use comma instead of dot in echo..
echo and print both are language constructs and both have the same functionality for output purpose. But if you look at the performance than echo is faster than print. Reason is simple as you may be aware that print will output the string on screen as well as it will return the status while echo will just output the string and finish the task. So print will take some more time than echo. prefer to use echo to write optimize PHP Code.