Wednesday, 4 June 2014

How to show price (or sth else) in Shopping Opions when browsing a category?


Go to Catalog->Attributes->Manage Attributes, edit price attribute, set Use In Layered Navigation as Filterable (with results).

reference: http://jaseir.com/magento/how-to-show-price-or-sth-else-in-shopping-opions-when-browsing-a-category/

Add Home Link with functional active state to Menu Bar (Alternative Method):

Here is the way to go.......

class="header-nav-container">
class="header-nav">
class="no-display">
class="home">"getUrl('')?>">
 foreach ($this->getStoreCategories() as $_category):?>
echo $this->drawItem($_category) ?>
endforeach ?>
 echo $this->getChildHtml('topLeftLinks') ?>
refernce: http://jaseir.com/magento/add-home-link-with-functional-active-state-to-menu-bar-alternative-method/

Magento Main Features:

• Analytics and Reporting – the script is integrated with Google Analytics and offers many different reports.
• Product Browsing – multiple images for products, options for extensive reviews, wishlists and much more.
• Catalog Browsing – easy navigation, advanced product filtering system, product comparison.
• Catalog Management – inventory management, batch import and export of products, different tax rates per location, additional product attributes.
• Customer Accounts – order status and history, e-mail and RSS feeds for products in the wishlist, newsletter subscription, default billing and shipping address.
• Customer Service – enhanced features for customers’ accounts, Contact Us form, comprehensive order tracking and history, customizable order e-mails.
• Order Management – create orders through admin area, create multiple invoices shipments and credit memos, call center order creation option.
• Payment – different payment methods: credit cards, PayPal, Authorize.net, Google Checkout, checks, money orders, support of external payment modules like Cybersource, ePay, eWAY and many more.
• Shipping – shipping to multiple addresses, flat rating shipping, supports UPS, UPS XML (account rates), FedEx (account rates), USPS and DHL.
• Checkout – one page checkout, SSL support, checkout without having an account.
• Search Engine Optimization – 100% Search Engine Friendly, Google SiteMap support.
• International Support – multiple languages and currencies, list of allowed countries for registration, purchasing and shipping, localization.
• Marketing Promotions and Tools – coupons, discounts and different promotion options.
• Site Management – control of multiple web sites, multiple languages, tax rate with support for US and International markets, customizable outlook through templates.

Reference: http://jaseir.com/magento/magento-main-features/

What is entry point in magento?

index.php in magento root is entry point of any magento.

Reference: http://jaseir.com/magento/what-is-entry-point-in-magento/

Tuesday, 3 June 2014

Magento admin panel gives 404 when trying to enter cms pages


You were getting a 404 on CMS pages because of the remains of old store views still hanging around in the database after deleting store views from magneto admin, to clean up ( delete ) old unused CMS pages for store views you have deleted run this MySQL cmd.

Issue might exists in  core_store  table of magento database. Execute following command.

Select * FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store)

 
To make sure that I was deleting the correct items, I checked out the core_store table to see what store_ids were being used.  My installation still had store_id ZERO and ONE.
I deleted all of the other store_id lines in cms_page_store and it’s working great.

I used below sql to do my solution.

DELETE FROM cms_page_store WHERE store_id NOT IN (SELECT store_id FROM core_store) 
You could also use an app like phpmyadmin to manually look for CMS entries that have store IDs that you know not to be in use, but this could get messy.
 
Note:  If you delete store from admin panel, couple of cms page stay in cms_page_store table.

Monday, 2 June 2014

How we will pass a variable by value in WordPress?

Its same like we will work in C, C++ languages.

$p  =  &$s

How to check which version of WordPress is installed?

If your current version of WordPress isn't on display at the bottom right corner of the screen while logged into your dashboard, take a look in the "Right Now" widget in the dashboard and it should say "You are using WordPress 3.x.x". Or, you might try yoursite.com/readme.html