Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Magento Community version 1.9
3
votes
How to show the sub category images in Top menu in magento 1.9?
You can try rewriting Mage_Catalog_Model_Observer something like below
class Custom_CategoryImage_Model_Observer extends Mage_Catalog_Model_Observer {
public function addCategoryImages(Varien_Ev …
6
votes
Shopping cart is empty when adding a product to the cart
I have faced the similar issue once and fixed it by increasing the cookie life time to 86400 under
Sytem -> Configuration -> Web -> Session and Cookie Management
The Reason that I found out after …
5
votes
Accepted
magento generate white space image to fit the thumb
Use keepFrame(false) to remove white spaces around the images and resize(value in pixel) to resize the images.
Example Code Snippet :
$_imageUrl = $this->helper('catalog/image')
…
2
votes
Magento add charge to orders over $999
Go through this tutorial http://excellencemagentoblog.com/blog/2012/01/27/magento-add-fee-discount-order-total/
I have used this tutorial as basis when I was creating similar extension.
0
votes
Add custom tab with text from attribute
If your attribute name is sklad, code in sklad.phtml
<?php $_sklad = $this->getProduct()->getSklad(); ?>
<?php if ($_sklad): ?>
<h2><?php echo $this->__('SKLAD') ?></h2>
<div class="std">
…
0
votes
Parse error: syntax error, unexpected end of file
Closing brace } for if(count($_productCollection)!= 0){ is missing.
Add closing brace } at your required place.
0
votes
Adding Icon to Main Menu
Below is the code to add category image to the top navigation.
You can modify this code according to your requirement to have both image or any other icon and category name as well.
Rewriting Mage_Cat …
0
votes
When No value is entered for multiselect attribute whose values are mapped with image, Broke...
Change
<a href="<?php echo $_product->getProductUrl() ?>" ?>
<?php echo "<img src='".Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA)."wysiwyg/feature/detail/".trim($value).".png' …
1
vote
How to edit the format of 'Part#' on the product page in Magento 1.9.2.4
Change your code as below
<div class="product-parts">
<span><?php echo $this->__('SKU');?></span> <?php echo $_product->getSku();?></div>
or as below
<div class="product-parts">
<s …
0
votes
Magento add filter for date
You can try below
$yourObjectReference->addFieldtofilter('start_date', array(
array('to' => Mage::getModel('core/date')->date()),
array('start_date', 'nul …
1
vote
Sort by order in tool bar
You need to override Mage_Catalog_Block_Product_List_Toolbar and change variable $_direction value to desc
1
vote
Remove product price
Create a yes/no product attribute and based on the value of this particular attribute call the price and add to cart block for the products on category(product list) page, product details page and oth …
0
votes
Inserted new rectangle below the totals in Magento PDF invoice
Check the code where you have added content for the fields Storekeeper, customer, delivery boy and cashier.
There must be some code similar as below :
$lines[0] = array(array(
'text' => …
1
vote
Google Tag Manager
You can try extension https://marketplace.magento.com/chapagain-chapagain-googletagmanager.html
I am using it in couple of projects.
It is easy to use and customize.
1
vote
How to send Cart Items Grid in email?
I have quite a similar requirement few months back.
I used below code.
app/etc/modules/Custom_CartEmail.xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<Custom_CartEmail>
…