How to show Products collection in Magento?

Magento
You can use below code to get all Products collection in Magento on any of Magento page: $_productCollection = Mage::getModel('catalog/product')->getCollection(); $_productCollection->addAttributeToFilter('status', 1); //enabled or not $_productCollection->addAttributeToFilter('visibility', 4); //catalog, search enabled or not foreach ($_productCollection as $_product) { $model = Mage::getModel('catalog/product'); $product_id = $_product->getId(); $_product = $model->load($product_id); $_image=Mage::getModel('catalog/product')->load($product_id); <div class="feature-product-price"><?php echo $_product->getPrice(); ?></div> <div class="feature-product-name"><?php echo $_product->getName(); ?></div> <div class="feature-product-image"><a href="<?php echo $_product->getProductUrl() ?>"><img src="<?php echo Mage::helper('catalog/image')->init($_image, 'image')->resize(200,200); ?>"></a></div> </div> <?php } [sam_zone id="1" codes="true"] If you want Product Collection with specific ids then use below code ; resize(200,200); >"
Read More
VI Random Posts Widgets Plugin

VI Random Posts Widgets Plugin

Free WordPress Plugins, Plugins
Vi Random Posts Widget plugin allows us to create a custom random or category posts list as a widget. It gives you a list of random posts via shortcode or widget with thumbnail, excerpt and post date, also you can display it from your custom post type or from a post category. Features WordPress 4.1 Support. Allow you to add a URL in widget title Display thumbnails and customizable size. Display excerpt of customizable length. Display from all, specific or multiple category. Display your post date with customomizable format. Display your post author. Display post comment counts Display your custom Post types. User can add a custom css class in widget. Add custom html or text before and/or after posts lists. [sam id="5" codes="true"] Rate Us / Feedback Please take…
Read More

How to Configuring phpMyAdmin on Windows Azure?

News, PHP Scripts
phpMyAdmin is a web based tool for administering MySql databases. It can be used to create, edit,delete tables, export/import/backup data and many other tasks. phpMyAdmin is a adequate tool for all MySql db administration needs in Windows Azure. This post describes how to install and configure phpMyAdmin on Windows Azure Web Sites. 1. Create an empty site First you’ll need to create a new site in Windows Azure. Create an empty site using “Quick Create” option in Windows Azure Portal: 2. Link the site with a MySql database If you already have a MySql database or need to create one then use the Linked Resources page to link that database with your site. Once the database is linked get the connection string by using the “View conneciton strings” link on the site’s dashboard page: You will need the information…
Read More

Best Filter Plugins for WordPress Blog

WordPress, wordpress plugins
Awesome Filterable Portfolio The plugin lets you create a very modern and outstanding filterable portfolio. More Info | Download WordPress Options The plugin allows you to easily add options to your products, themes or plugins. More Info | Download Advanced Post Manager The plugin allows you to turbo charge your posts admin for any custom post type with sortable filters and columns, and auto-registration of meta-boxes. More Info | Download WP Hide Post The plugin enables you to control the visibility of items on your blog by making posts/pages hidden on some parts of your blog, while still visible in other part. More Info | Download wpautop control The plugin allows you to add a global setting to turn the wpautop filter on and off as well as to override…
Read More

How to hide WordPress admin for your subscribers?

CMS, Web Design & Programming, Web Development Services, WordPress
These functions will help you for hiding  WordPress admin for your subscribers. We’ve used a capability of “edit_posts” which is just outside of the roles of a Subscriber user. If the user is logged in, but can’t edit posts, then hide the admin bar on the frontend of the website. If the user is logged in, but can’t edit posts, do not allow them to access the WordPress admin panel. This code could go in functions.php of your theme or in a plugin you create. /** * Disable admin bar in frontend for subscribers. */ function themeblvd_disable_admin_bar() { if( ! current_user_can('edit_posts') ) add_filter('show_admin_bar', '__return_false'); } add_action( 'after_setup_theme', 'themeblvd_disable_admin_bar' ); /** * Redirect to homepage and not allow access to * WP admin for Subscribers. */ function themeblvd_redirect_admin(){ if ( !…
Read More

Web Design Basics

Blog
In the last 25 years the internet has changed substantially, and consumer behavior has changed even more. Websites now dominates the way we communicate, the way we shop, and the way we make decisions both online and also in the face-to-face world. Every web designer has a secret or two. Hard-won workflows, hidden hacks, and insider knowledge that are the mark of true experience and the stuff that separates great web design training from good. You have to remember that the choices are all yours, because it's your site, and you have to decide what you like. Choices like which colors, styles, fonts, graphics and writing styles to use are all very personal choices and not to be made lightly. Here, we've managed to persuade some of the web's busiest…
Read More

How to Create a MySQL Database in Azure?

Blog
This guide will show you how to use ClearDB to create a MySQL database from the Azure Store and how to create a MySQL database as a linked resource when you create a Azure Web Site . ClearDB is a fault-tolerant database-as-a-service provider that allows you to run and manage MySQL databases in Azure datacenters and connect to them from any application. Table of Contents How to: Create a MySQL database from the Azure Store How to: Create a MySQL database as a linked resource for Azure Web Site Read More
Read More

Localize Your WordPress themes and plugins with GetText

WordPress
Localize Your WordPress themes and plugins using GetText with some easy steps. If you want your blog to be in a number of languages, the your theme and texts in plugins should be localized, as well as the post contents. We’ll show you how you can achieve this with the GetText package. Localizing your plugins allows you to reach the widest audience possible.It only takes a little effort to make your plugins & themes translation ready and is easier to do. GetText and WordPress GetText is a a text translation utility. It’s free and comes built on any web server. WordPress makes comprehensive use of it and all WordPress localization is based on GetText. There are a few steps to localization with GetText: Wrap each text in a GetText call…
Read More

Got Project on mind? Let's ConnectContact Us

Secured By miniOrange