Rick Buczynski
  • Member for 8 years, 10 months
  • Last seen more than a week ago
Where to change this store variable
Accepted answer
1 votes

Your page is actually coming from the built-in Magento contacts module. Judging by the HTML source code of the page, it looks like somebody extended the stock form.phtml -- it's there that you should ...

View answer
Removing Adminhtml order grid column using layout update
1 votes

This is what you're getting snagged on: The grid columns are setup in Mage_Adminhtml_Block_Widget_Grid::beforeToHtml So as you observed, removing the column via layout XML does nothing, because the ...

View answer
Collection filtering with OR and inner AND
1 votes

I answered a similar question recently: Complexe filter in a collection Where the underlying Zend_Db_Select object gives you a finer degree of control over your statement structure. So, in this case,...

View answer
Custom Button in Customer Account
1 votes

Your question is a bit generic, and so my answer can only cover so many bases. In your module, create an install script that sets up a new attribute: $this->addAttribute( 'customer', '...

View answer
Complexe filter in a collection
Accepted answer
1 votes

Whenever dealing with complex filters, I prefer to work with the underlying Zend_Db_Select object. For example: $collection ->getSelect() ->where( new Zend_Db_Expr("(item1 = '?' ...

View answer
including customer/wishlist into customer/account/index
Accepted answer
1 votes

Ensure that your block customer.wishlist is included in local.xml under the correct layout handle (customer_account_index). Then attach your wishlist block to the dashboard block: <...

View answer
Destroy specific session data on complete order
1 votes

You can try to create an observer in a module, preferrable your own module in the local code pool: <!-- app/code/local/Mymodule/etc/config.xml --> ... <global> <events> ....

View answer
Setting cache lifetime on collections
Accepted answer
1 votes

Well, I figured it out. Was simpler than I expected. The clue came out of Mage::app()->saveCache(), which is simple a wrapper method for the cache model's save routine: $this->_cache->save($...

View answer
Open Graph problem in Magento
Accepted answer
1 votes

Here's an alternative solution. It's not nice, and should be considered a hack. It also goes against the purposes of Magento's layout system. Nonetheless, if your requirement is not to override the ...

View answer
Wrong code in one step checkout
1 votes

It looks like the payment form block is calling $this->htmlEscape() on something that it shouldn't. Assuming this is a payment method from an extension, and assuming it was written to properly ...

View answer
How can I use and insert Brand and Model Rich Snippets properties?
Accepted answer
1 votes

There is a good boilerplate extension that tackles microdata for Magento: https://github.com/LastRose/Magento-HTML5-Microdata Specifically, see here: https://github.com/LastRose/Magento-HTML5-...

View answer
CMS editor removing DIV without content
Accepted answer
1 votes

@programmer_rkt provides a good solution, but have you tried something simpler; just putting in some filler text? If those are response containers their content will likely get replaced before shown ...

View answer
how to add custom ajax javascript to admin> product > add/edit >custom tabs like :price / general
Accepted answer
1 votes

Since you have already created the attribute, you can add some layout XML to inject a helper script: <adminhtml_catalog_product_edit> <reference name="head"> <action method=...

View answer
If I'm putting XML in the admin panel for one page can I start at the action?
Accepted answer
1 votes

You can do this via layout XML. Magento allows you to tap into the head block to add CSS/JSS. Example: <reference name="head"> <action method="addCss"> <css>path/to/skin/...

View answer
Open Graph problem in Magento
1 votes

I'm not sure what exactly is rendering in the head that pushes your meta tags so far down, nor have I seen this being an issue (except the "rule of thumb" which says to place meta tags as high as ...

View answer
Custom SQL for Reporting on catalogsearch_query Table
Accepted answer
1 votes

Well, I opted to stick with this query and use it to create a temporary table from which I could aggregate and delete duplicates. Create Temporary Table CREATE TEMPORARY TABLE IF NOT EXISTS qt AS ( ...

View answer
Saving invoices on google drive
0 votes

This is a big question to ask, definitely not a "small change" as you put it. Likely you won't get a full answer in a place like this. But what I can do is give you some resources to seek out further. ...

View answer
failed to open stream: No such file or directory in site/link/goes/here/Varien/Autoload.php on line 94
0 votes

A basic Google search indicates that the file WfWAFGeoIP.php is not part of Magento, but instead a WordPress plugin. Likely you have a WordPress integration on your Magento site that is getting in the ...

View answer
How can I get a product's price as if it were in the cart?
Accepted answer
0 votes

I'm assuming you ask this because you want the benefit of all the sales rules which can be applied, inluding coupon codes and third-party logic that might come into play. I have not exactly tried ...

View answer
How to change h1 font size on homepage
0 votes

James, your question is too generic and does not apply to Magento directly. You are probably using a 3rd-party theme which is hard to support in a forum like this. That said, I can tell you what ...

View answer
PRODUCT VIEW CUSTOM HOW TO :::
Accepted answer
0 votes

If this is a Magento CE 1.9 shop, and you are talking about the related products feature, then you need to understand a few things: Related products are built into the product view Related products ...

View answer
Magento validation and jQuery reload
0 votes

I can't say exactly why this is failing for you. It could be any number of issues, including the fact that prototype unfortunately suppresses many errors by using try/catch blocks in its framework ...

View answer
WYSIWYG custom styles
0 votes

Those styles are auto-detected based on the page content and loaded stylesheets. Unfortunately, Magento does not make it simple to extend this. There's an article by Alan Storm that describes one way ...

View answer
Add CMS block containing sublocks
0 votes

You could treat the CMS page as a "container" for the content's layout: <reference name="content"> <block type="cms/block" name="cms_content_before"> <action method="...

View answer
Checkout payment preserve data in controller or model
Accepted answer
0 votes

Is $payURL set in redirectvalidationAction just pointing to responsecybersourceAction? eg: $payURL = 'http://url.com/module/payment/responsecybersource'; If so, then don't set the response redirect ...

View answer
prevent order from showing on screen when clicking print order
Accepted answer
0 votes

Not sure what you mean, here. Are you referring the Google Chrome "print dialog?" - not much you can do about that one. As for preventing the printable order contents from appearing in a popup/new tab,...

View answer
How to repopulate form data in magento if email already available
0 votes

Magento provides a class for handling your GET/POST requests, and it can be used like so: Mage::app()->getRequest()->getParam('vname'); This should output whatever value was supplied on the ...

View answer
Techniques for Tracking Layout XML Merges
Accepted answer
0 votes

Deciding to answer my own question. It's broad and subjective, but I was hoping that there was some kind of silver bullet out there that everyone but me knew about. So my answer is just to use common ...

View answer
1 2
3