Profile

Cover photo
Magento Facebook Store Pro Extension
149 followers|7,507 views
AboutPostsPhotosVideos

Stream

 
Sometime you need someway to auto create CMS pages and blocks from your modules and this article will show how to create CMS pages and Static blocks programmatically from code. You can manually cre...
1
Add a comment...
 
Here is a quick tip to sort/order latest product by both created date and new from date. Looking for improvement for your Magento Store? Facebook Connector Extension Product related article exten...
1
Add a comment...
 
As a practice in Magento Development, all custom code/modification need to be made via local or community by overriding convention. However sometime, you can't override some Magento core classes an...
1
Add a comment...
 
Magento Training Resources.
As an industry partner of Magento, we want to share some Magento resources that may helpful for you.
Please take advantage of the following resources for you and your implementation team to leverage as you get up-to-speed with Magento.For training your Web Marketing/Merchandising staff to manage your store:The Community Edition (CE) User Guide (available for sale online)The Enterprise Edition (EE) User Guide (available on the customer support portal)Summer webinars are available on a variety of store management topics (http://www.magentocommerce.com/media/webinars)The knowledge base, specifically the Store Management section (http://www.magentocommerce.com/knowledge-base/categories/category/store-management/)3rd party websites:Site Ground is a hosting firm with a nice set of tutorials (http://www.siteground.com/tutorials/magento/)Screencast World (updated less frequently). (http://screencastworld.com/)For training your Frontend Developers to implement their themes:Magento’s Designers Guide (http://www.magentocommerce.com/design_guide) Currentversion is out of date, but still accurate in terms of big picture and key concepts. New version is expected to be available in first quarter of 2011.Knowledge base, specifically the Theming and Design section (http://www.magentocommerce.com/knowledge-base/categories/category/theming-design/)Summer webinar on Intro to Theming in Magento (http://www.magentocommerce.com/media/webinars/magento-u-summer-webinar-series-developing-for-magento/view)Wiki article (PDF file): http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/0_-_theming_in_magento/designing-for-magentoOther Wiki articles, specifically the Themes and Template Customization section (http://www.magentocommerce.com/wiki/All%20Categories?idx=4_-_themes_and_template_customization)3rd party websites:NetTuts ran a nice “Magento for Designers” series of articles (http://net.tutsplus.com/tutorials/php/magento-for-designers-part-i/)http://css-tricks.com/using-jquery-in-magneto/For training your Backend Developers to implement your store:Start with Alan Storm’s KB articles in our “Magento for Developers” series:(http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-1-introduction-to-magento).Knowledge base, specifically the “Development” section:(http://www.magentocommerce.com/knowledge-base/categories/category/development/).Summer webinar on Developing for Magento: http://www.magentocommerce.com/media/webinars/magento-u-summer-webinar-series-developing-for-magento/viewWhite Paper: Maximizing Performance and Scalability with Magento Enterprise Edition: http://www.magentocommerce.com/whitepaper/Wiki article – create payment method: http://www.magentocommerce.com/wiki/5_-_modules_and_development/payment/create-payment-method-moduleWiki article – create shipping method: http://www.magentocommerce.com/wiki/5_-_modules_and_development/shipping/create-shipping-method-moduleWiki article – use event-observer method: http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_methodOther Wiki articles, specifically the “Modules and Development” section (http://www.magentocommerce.com/wiki/All%20Categories?idx=5_-_modules_and_development)Blogs: (http://mage-page.net/) – a consolidation of blog articles about MagentoMagento core API: (http://www.magentocommerce.com/support/magento_core_api).3rd party websites:Inchoo ( http://inchoo.net/category/ecommerce/magento/)Alan Storm ( http://alanstorm.com/category/magento)magebase ( http://magebase.com/).Stackoverflow (http://stackoverflow.com/questions/tagged/magento).Book for beginning developers:The Definitive Guide to Magento by Adam McCombs and Robert Banh (Packt publishing)php|architect’s Guide to eCommerce Programming with Magento by Mark Kimsal. This material is dated now, but it was still a good introduction.
1
Add a comment...
 
Magento – How to use registry.
Registry is very useful class/utility in Magento. Magento registry allow you to save/register or create variable which you can see or access anywhere in your module/code. Magento also use this to save current product or current category used/accessed. The registry variable acts as a global variable (based on session)
We register a variable with register() function.
We can unregister the variable with unregister()function.
To fetch the registry variable, we use registry()function.
We can store anything in the registry variable. It can be integer, string, array, etc.Looking for improvement for your Magento Store?
Facebook Connector Extension
Product related article extension
Magento Offer popup on exit extension
Unlimited Slideshow Magento Extension
Light Checkout in One Step Magento ExtensionIn the example below, I will be showing you how to create, fetch and destroy registry variable. In other words, I mean how to register, fetch and unregister variables in Magento.Here, I will be registering store id (integer). The variable key will be ‘store_id‘.



Mage::register('store_id', Mage::app()->getStore()->getId());Mage::app()->getStore()->getId() gives the current store id.The key of our newly created variable is ‘store_id’. To fetch the newly registered variable, we will use the following code:



Mage::registry('store_id');We will destroy/unregister the variable when we no longer need it.



Mage::unregister('store_id');Hope this helps and thanks for reading :

If you have followed this but it doesn’t work. Please check your variable name – it might be same a registry name Magento have used.
1
Add a comment...
 
How to get Dropdown Attributes Magento ?
Get the Dropdown Attribute value in catalog list.We saw How to get Attributes wich worked fine for text attributes.Now if you want to get the dropdown attribute value:

<?php echo $_product->getAttributeText(‘attribute_name’) ?>
1
Add a comment...
Have them in circles
149 people
Randy Johnson's profile photo
Newsgento's profile photo
AgenceSolution.com Création site internet Réunion's profile photo
Wasim khan's profile photo
Tinh Lam's profile photo
Christopher Ward London Limited's profile photo
Sandru Luis's profile photo
‫جميل عوف‬‎'s profile photo
Eddie Lahaijje's profile photo
 
The message might be various but something like this Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Mage_Core_Model_Layout_Element' is not allowed' in /app/code/core/Mage...
1
Add a comment...
 
How to Display the most recently added products first in magento 1.6.0.0 ?
Magento Provides three different options to sort the catalog products i.e
name, price, position. For a store with more than 1000 products it is not
possible enter position values in backend for each products. We can replace
this with product ids , so that the frontend will display the most recently
added products.Step 1: To Achieve this copy the file Toolbar.php from app/code/core/Mage/Catalog
/Block/Product/List/Toolbar.php. Create a Directory Structure in local and paste the Toolbar.php
as shown below
app/code/local/Mage/Catalog/Block/Product/List/Toolbar.php Step 2: Around line 232 you should see the below code in setCollection
function

if ($this->getCurrentOrder()) {
$this->_collection->setOrder($this->getCurrentOrder(), $this->getCurrentDirection());
}Replace the above code with the new code given below

if ($this->getCurrentOrder()) {
if(($this->getCurrentOrder())=='position'){
$this->_collection->setOrder('entity_id','desc');
}
else {
$this->_collection->setOrder($this->getCurrentOrder(),$this->getCurrentDirection());
}
}Now the newly added products will be displayed first in your magento store
1
Add a comment...
 
How to display Image Preview in Admin Form magento?
Magento allows us to create custom form in admin panel by creating our own custom module. We can create almost any field in the admin form by creating a class that extends the base class Mage_Adminhtml_Block_Widget_Form. The _prepareForm method allows to define our form elements.
Sometimes we may need to upload a file in the adminform, the default file field doesn’t provide the image preview when we upload an image file. For this purpose we need to use image field type as shown in the below snippet

$fieldset->addField('filename', 'image', array(
'label' => Mage::helper('customform')->__('Image'),

'required' => false,
'name' => 'filename',
));
In the above code addField method adds a new field to the adminform. The first argument to addField method call specifies your form fieldname (In this case i written simply as filename). The Second argument is the input type (In this case it is image). Third argument specifies the properties such as name of the input field, label for the input field etc.The code snippet below shows the sample form with a few fields like title, image, status, content. Once the image is uploaded and save and continue button is clicked the image preview and delete checkbox will appear in the screen.

protected function _prepareForm() {
$form = new Varien_Data_Form();
$this->setForm($form);
$fieldset = $form->addFieldset('customform_form', array('legend' => Mage::helper('customform')->__('Item information')));
$fieldset->addField('title', 'text', array(
'label' => Mage::helper('customform')->__('Title'),
'class' => 'required-entry',
'required' => true,
'name' => 'title',
));
$fieldset->addField('filename', 'image', array(
'label' => Mage::helper('customform')->__('Image'),
'required' => false,
'name' => 'filename',
));
$fieldset->addField('status', 'select', array(
'label' => Mage::helper('customform')->__('Status'),
'name' => 'status',
'values' => array(
array(
'value' => 1,
'label' => Mage::helper('customform')->__('Enabled'),
),
array(
'value' => 2,
'label' => Mage::helper('customform')->__('Disabled'),
),
),
));
$fieldset->addField('content', 'editor', array(
'name' => 'content',
'label' => Mage::helper('customform')->__('Content'),
'title' => Mage::helper('customform')->__('Content'),
'style' => 'width:700px; height:500px;',
'wysiwyg' => false,
'required' => true,
));
return parent::_prepareForm();
}
1
Add a comment...
 
Editing the Magento Navigation.
This is not a comprehensive example (I didn’t write out an example of editing the navigation myself … yet) – but I will point out where the files are that you need to edit the top and left navigation.
This is a tad complicated because of the use of javascript in the navigation, but it’s not too bad. It ends up being a bunch of functions which just spits out the proper HTML and javascript to get things going (and some code to retrieve the categories).
First off, the template files.
The files that have the HTML are located here:
app/design/frontend/*/*/template/catalog/navigation/left.phtml
app/design/frontend/*/*/template/catalog/navigation/top.phtml
Top.phtml controls (you guessed it) the navigation in the header area (including the drop down portions, which are controlled via javascript)
Left.phtml controls the left hand navigation, if you set your categories to be an anchor to get the left hand navigation to be used.
Now the file that pulls the categories (and has some functionality to create some of the HTML) is here:
app/code/core/Mage/Catalog/Block/Navigation.php
You should review this to see the various functions and see what they do.
The functions “drawItem” and “drawOpenCategoryItem” should be of particular interest, since they create some HTML to output.
Hope this helps someone get started creating a custom navigation!
1
Add a comment...
 
How to export Magento product ?
Hi everyone, as we all know, Magento supports a large number of products. That’s great! But it is also causing problem for people who wants to export / import products. I will try to show you a way which use Magento functionality to export and import product. In this article, let’s start with how to export Magento product.This tutorial is written based on Magento 1.4 but it should be similar for other Magento versions.In admin panel, go to System > Import/Export > Profiles.
In Profiles page, choose Export All Products.
Choose Profile Wizard tab, and fill your config in the fields. Then click Save and Continue Edit.
Please wait for Magento to save config, and continue with Run Profile tab by clicking Run Profile in Popup and wait for Magento to work.
You will get exported file in …\var\export\export_all_products.csv if you config profile by choosing configuration as below
1
Add a comment...
 
This article will tell you how to set title, meta tags or add breadcrumb for your custom Magento module page. You can do same way for newly created modules or exiting/core modules. You have a frontend...
1
Add a comment...
Story
Tagline
The Facebook Store Pro Extension help to publish your catalog/products to Facebook in a minute. Everyone can browser your products on Facebook as a shop application. This is one of most powerful extension for Facebook which increase your sales from 25%-35%
Introduction
Details
The Facebook Store Pro Extension is an advanced version of Facebook Shop Publisher which is designed to promote your Magento Store on Facebook and building potential customers. Once you install the extension, your catalog/products can be published on Facebook to everyone. People will easy reach your store via Facebook Share, Like,...... Products information and price are updated to Facebook Shop real time without any management efforts. 
You have your own Facebook Application instead of depending on our Server or third-party.

Features
  • Unlimited categories and products
  • Real time update categories and products information on Facebook
  • Auto update Facebook shop lifetime
  • Performance and speed optimized 100% up time
  • Shopping and checkout directly on Facebook
  • Sales are received and processed via Magento backend as usually
  • Fully support Facebook promotion method
  • One-click login integration with Facebook on Facebook Store so customers can quickly login or create account with Facebook account right on Facebook store
  • Added ability to update Customers Facebook Wall
  • Added ability to update Customers's friends Facebook Wall
  • Added ability to Invite Customer's friends via Facebook Store
  • Full customization of wall status, invitation message
  • Fans Attract to expand your Fans - Offer discount but limit to Fans only
  • Homepage customization showing featured products, random products and promotion text (since Aug 2011)
  • Facebook style built-in
  • 2 minutes installation and no management effort
Contact Information
Contact info
Phone
+84983732613