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
0
votes
Accepted
How insert value qty in custom var?
If you want put variable to message, try do it that way:
$_product = $this->getProduct();
$qty = array();
$qty[] = Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQty()
$m …
-1
votes
Magento tax amount randomly showing zero on checkout page
Go to System -> Configuration -> Sales -> Tax, and check 'Default Tax Destination Calculation' tab.
0
votes
Product Collection Only Getting the Main Website Products not All Store Products
Check if flat Catalog is enabled (System -> Configuration -> Catalog -> Catalog -> Frontend). If so disable it.
0
votes
Accepted
local.xml not working in Magento 1.9.2.2 with RWD template
You should close layout node.
<?xml version="1.0"?>
<layout version="0.1.0">
<!--
Default layout, loads most of the pages
-->
<default>
<!-- remove the language and store sw …
2
votes
How can I send email based on selection - Magento contact
You have to override postAction():
app/etc/modules/SeStro_Contacts.xml
<?xml version="1.0" encoding="UTF-8" ?>
<config>
<modules>
<SeStro_Contacts>
<active>true</active>
…
3
votes
Accepted
How to pass value of the variable $sku from a form to template via ajax?
1. Register new module:
app/etc/modules/SeStro_AjaxProductInfo.xml
<?xml version="1.0" encoding="UTF-8" ?>
<config>
<modules>
<SeStro_AjaxProductInfo>
<active>true</active>
…
1
vote
local.xml only partially working
Your change could be overriden:
in admin panel (Page Layout for CMS Page, Category Page or Product Page)
by more specific handle ('default' handle is the most general)
0
votes
Edit 'Shopping Cart is Empty' page
Check if cache is enabled (System -> Cache Management). I so refresh it or disable.
Make sure that you are editing proper file (in your theme directory).
1
vote
Can't get order data in a sales_order_place_after model observer
You have an order, so you don't have to load it:
$order = $observer->getEvent()->getOrder();
2
votes
Accepted
Add CMS static block after add to cart
You should change reference name to 'product.info':
<reference name="product.info">
<block type="cms/block" name="wetsuits" before="product.info.addtocart">
<action method="setBlockId"><b …
3
votes
Accepted
How to get base url in a layout xml file
You could use use helper method.
<reference name="head">
<block type="core/text" name="stylescss">
<action method="setText">
<css helper="your_module/someHelperMethod" />
…
2
votes
Product Duplicate - Product image is duplicating twice
You have to clear media gallery before save:
$newProduct->setMediaGallery(array());
3
votes
Accepted
How to get large collection of products?
$model = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect(array('name', 'descryption','short_descryption'))
->setPageSize(1000);
$numberOfPages = $model->getLastPageNu …
1
vote
Accepted
Display dynamic content depending of selected option in dropdown
First of all, you shouldn't fetch data in template file, but if you want to do it, you could do it that way:
if(isset($_POST['countrylist'])) {
$distributors = Mage::getModel('gmapstrlocator/gmap …
0
votes
Magento admin custom form with multiple entry
Package Name has to be unique? If so, you could check before save, if item with the same name already exists:
$packageName = $this->getRequest()->getParam('package_name');
if ($model->load($packageNa …