Magento Themes and Magento Extensions

Remove Main-category From The URL Of Sub-category In Magento

Share
Posted on March 25th, 2013 | Posted by admin

i have a website in magento which contain url like mydomain/Parent-category/sub-category but i wnat to this URL for sub-category Like mydomain/Subcategory.. how can i remove main-category from the URL of sub-category in magento. i want URL like [URL]

Add the block “Based on your selection, you may be interested in the following items ” – Magento

Share
Posted on March 24th, 2013 | Posted by admin

Add the block “Based on your selection, you may be interested in the following items ” – Magento

1) In the Admin Panel, select Catalog > Manage Products.
2) Select the product you wish to configure cross-sell products for by clicking its respective row.
3) Click on  the Cross-sells tab from the left side panel.
4) Click on the button “Reset Filter” and select the products to be listed
5)Once cross-sell products are selected, click Save at the top right of the page.
6) Clear your cache and refresh the product information page to assure that it’s working to your satisfaction.

In Magento, How to display static block in phtml file

Share
Posted on March 23rd, 2013 | Posted by admin

In Magento, you can easily display the different static blocks in each pages. First you need to create static block, for these just Login into site admin end goto CMS->Static Blocks.

Click Add New Block button and fill the required fields and finally save it. Here you need to note the Identifierthat need to be input in below code to display block in individual pages.

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('your_cms_block_identifier')->toHtml() ?>

Can’t login into admin panel of Magento (Problem and Solution)

Share
Posted on March 22nd, 2013 | Posted by admin

when I was starting to work on Magento E-commerce . When I was access Magento after installation, I can’t logged in Admin section.

After long time serching and research in Magento, finally I found the solution and currently I am able to login to admin section. Today I explain you about the problem and the solution.

First of all, what is Magento ?

Magento is one of the Opensource for E-commerce Websites. Its a top level opensource in E-commerce category.

Now time to explain the problem and the solution of the problem.

Problem

While installing magento on xampp version 2.5 you have provided admin username and password. After installation finished you no longer login with your admin account.

In fact in the “Log in to Admin Panel” window whenever you provide wrong password/username combination it displays “Invalid Username or Password.” But whenever you provide correct password it does not show anything.

Though a new url like http://127.0.0.1/magento/index.php/admin/index/index/key/d135be4de664ab83db829120740e058a/

is displayed on the address bar.

How to get custom attributes value in Magento Frontend

Share
Posted on March 21st, 2013 | Posted by admin

In Magento, you can create unlimited number of custom attributes to show different type of information about your product. These attributes can be different type as Text Field, Text Area, Date, Yes/No, Multiple Select, Dropdown, Price, Gallery, Media Image etc. Sometimes you need to get these attributes value to show in different places. There are different way to get different type of attributes.

you can get almost type of attribute value by using the following code:

  1. <?php
  2. echo $_product->getAttributeName();
  3. ?>

For example, suppose you are selling computer monitor in your web store and you created a attribute by using ‘screen_resolution‘ as its attribute code. Then You can get this attribute value by using the following code:

  1. <?php
  2. echo $_product->getScreenResolution();
  3. ?>

If it not work you can also try following code:

Page 2 of 6«12345»...Last »