I have a question for the community. I am working with a Magento 1.9 ecommerce app and the client would like to customize the sort filter and add a field that doesn't currently exist. When I search for ways to do this, the only options I'm finding suggest editing the core code files. This seems like bad practice as it would then be impossible to update.
Does anyone know of a better way to customize the sort filters? To add, for example, the ability to sort by date the product was created?
You can extend the core files for customizing the filters. Please refer to this link for further details.
Magento - Sort by Date Added
Related
I understand it's not currently possible to sort collections via the UI in Netlify CMS, but can someone tell me how it's currently sorting markdown files? I thought it was by filename at first, but that isn't 100% accurate.
You can define sortableFields in the config.yml.
That will let you sort by date, title etc.
This was only added a few months ago though, in #3494, so you'll have to update to the latest version to get that feature.
I have magento 1.8 and I want to implement Price and Availablity Rich snippet for Magento Products,
on which file I can edit code so my price and Availability snippet will appear in Google?
The plugin suggested by #user2434 seems to be pretty good but it is paid/premium but will make your work much easier and faster. However if you want to go all your own free way, you have to hard-code your pages with rich snippet tags. To make it little easy, you can use third party rich snippet code generator tool like http://www.microdatagenerator.com/ and update your individual pages.
I need to have several textfields (may be articles, but not neccessarily) on a page, that is easily edited from frontend for registered users.
How do I best achieve this?
It is for Joomla 3.1
You can go several ways:
Use a cck: this is the easiest, no coding required, browse the JED for Sobi, K2, Zoo, Content builder...
Write a simple component: using componentbuilder or the like it won't take long and you'll only need to write very little code if this is the only requirement.
Upgrade to J3.2 and use the bundled FOF (by akeeba, introduced in Joomla core as of 3.2); Joomla! 3.2 will be available in 3 days, but you can already download the beta. With FOF you can achieve much the same as 2. by writing a simple xml file.
Depending on what you plan to do with this data, and your coding skills, the right answer may be any of the above.
I would like to add dropdowns to the top navigation on a magento site, would this involve a plugin or is there built in functunality that could potentially do this already?
It is tough to say based on your details, but if you are looking for mostly css menus I believe many of the free themes that come with magento have drop-down menus. Also, there are several free and paid extensions that have slightly different functionality from the stock themes. Check them out by searching Magento Connect. One that I used before was ExplodedMenu (it also has a paid big brother, SuperMenu), but your requirements aren't really that clear, so it is tough to say.
If you are talking about select-box dropdowns, I am not so sure. You can certainly build your own extension, possibly starting with ExplodedMenu as a template.
Good luck. :)
HI
Magento introduced a new concept of widget in magento 1.4 , my question is whether to write a magento extension in magento 1.4 is useful or not
Thanks
Magento Extensions provide a variety of different features and enhancements to a Magento System.
Magento widgets prove a way for "less-technical-users" to add a Magento Blocks to a Magento CMS page.
So yes, writing an extension in 1.4 is still useful.
Magento widgets are easy to use. They are the features introduced in magento 1.4 and they can be added anywhere in the pages. Widgets also provide extensive functionalities to magento.
Think of a widget as another way to accomplish things in Magento. You can either make an extension or a widget. At the end of the day you will want to use the best tool for the job.
If you are looking to just add a small block of text to a page, then a widget is for you. If you need more functionality than that, an extension will probably suit you better.