WordPress – get currenct category slug on category page
To get the current category details e.g. slug or id on the category page, use the following code. this code will return category object-
Collection of Thoughts
To get the current category details e.g. slug or id on the category page, use the following code. this code will return category object-
This tutorial is split into two independent parts: Inserting, updating and removing data from the database. Selecting data from one or more tables and retrieving it in a variety of different forms This section...
The default Magento onepage checkout includes six steps for the customer to complete. However, sometimes you may have a requirement to create an extra checkout step. An example of this might be an option...
Sometimes there is a need for showing star ratings outside the products review page. Reviews are another one of numerous excellent features in Magento. Usage of reviews can increase visitors’ trust in your brand,...
We all know how great Magento grids can be – there is no alternative when it comes to displaying data in a efficient manner. This can be useful if you have a number of...
I’ve spent the last few weeks to create a simple magento product programmatically and finally get solution for this. I am creating a simple product programmatically in Magento Store. There is nothing much to...
Here I wanted to show you how to build a custom Magento category listing block that you can use on your own Magento store. Magento has its top menu reserved for category navigation. It’s...
If you try to delete orders in the backend, you will find out that you can only set the status to “cancelled” and the order is still there. Unfortunately, Magento doesn’t enable us to...
Magento uses Prototype library as javascript library to manage form validation. This is quite helpful, because all you need to do when writing a custom form is to assign a valid class names to...
Sometimes you will find out that there are some pages in Magento with no breadcrumbs enabled by default. In order to add Breadcrumbs, for example, on the checkout page, open checkout.xml file stored in...
Samsung and Barnes & Noble announced a partnership that should have come to fruition in early August. The company and partner Barnes & Noble plan to host a gathering August 20 in New York...
PHP start OOP in PHP 4 and a stable model of Object Oriented Programming (OOP) introduced in PHP 5 in 2004. We all making applications in procedural programming and want to move to OOP...
Do you have long list of products to show on category pages and you do not want to use the standard pagination method? If you are looking to avoid this long and irritating process...
Nowadays most of the clients want extra fields in contacts form of magento to fulfill their requirements. Adding custom fields other than upload field (for example: text, textarea, select etc) in contact form are...
Sometimes you may find yourself having to send an email after a particular action has occurred. For example, you have a custom extension allowing you to add a product to a list of favorites...
Once your crontab is properly installed and configured, you might be curious as to what it’s actually doing behind the scenes, or you might want to verify that something did / did not happen,...
I recently searched and developed Ajax filter to select a bunch of records from a database, then on the client side use AJAX to filter those records according to certain criteria. In this tutorial...