Magento
Magento: Insert a class in foreach loop for every 5th li element
1- Take a variable and assign to 0. like 2- And give the condition in the li tag as follows.
1- Take a variable and assign to 0. like 2- And give the condition in the li tag as follows.
1- First Create a copy of orignal minicart as follow inside the same folder and rename or change the classes 2- open the checkout.xml and copy the following block 3-Make the following cahanges as follow: and paste it in page.xml inside the block as follow: 4-After that call it in Read more…
1-Copy the form.mini.phtml from (app/design/frontend/your_Namespace/your_theme/template/catalogsearch/form.mini.phtml) make some changes and create a new file form.mini_popup.phtml inside the same directory as follow: 2-write down following code in catalogsearch.xml app/design/frontend/nextlevel/default/layout/catalogsearch.xml 3-call it on header.phtml as follow An Example of It Looks:
The custompage is a custom folder inside tamplate directory. and the home.phtml is the file name inside that folder 1- Call in Cms 1- Call in .phtml
The private SSL certificate is an important upgrade to your website. The basic function of an SSL is to encrypt all communication between the browser and the server, ensuring that all data goes through a secure (HTTPS) connection. An SSL certificate is a necessity when you want to operate an Read more…
Mage::getSingleton() Mage::getSingleton() will first check the same class instance is exits or not in memory. If the instance is created then it will return the same object from memory. So Mage::getSingleton() faster then Mage::getModel(). $product1 and $product2 both will share same memory of OS and return only one instance each time. Mage::getgetModel() Mage::getModel() will create Read more…
Reset all product tables. Beware, below script will delete ALL your product data so do it carefully. To remove all product go to the database and run the following query Note: Then you may require re-indexing all your indexes after running above query. for that go to System > Index Read more…