Questions tagged [xml]

Denotes questions about XML files and XML processing.

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

Export order info to .txt file once order is placed

I have researched and tried all possible ideas I could come up with but not having any luck with the below...what am I missing? The idea is to export a text file once an order has been placed on my ...
0
votes
1answer
2k views

How to export selected products to xml in admin product grid

i need to export selected product to xml form admin product grid. i have refer this to export selected product to csv. Can anyone help for this.
4
votes
1answer
30k views

Adding custom code in head (header html tag)

we want to add the google+ links / code to our head (html) tag in our website. We have a multisite. We could edit phtml, create phtm etc ... What is the best way to do this? via xml update? Or is ...
0
votes
1answer
473 views

How to remove a config xml value?

I have a module which is modifying how bundled products are displayed for our store. As a part of this, we are removing the ability to display checkboxes. So, I want to change the backend so that it ...
1
vote
1answer
863 views

How do I import ONIX XML into Magento?

I need to get ONIX data to my Magento ebook store. I could convert it into a format that Magento understands (i.e. CSV) and then use the default import. But at times the a single feed can have a few ...
0
votes
1answer
3k views

Cannot use object of type stdClass as array Soap API

This is my first time trying to pull information with the Magento soap API. I have used SOAP previously on the Orange M2M connect server. Ive hit a stump and im not sure where to go from here. I have ...
3
votes
2answers
2k views

Default page in System Config? Everything displays but the main content

Can someone explain me, which page is shown as default when entering the system configuration in the backend? What is the logic behind it? Is there a cookie based "remember the last system config page ...
1
vote
2answers
1k views

observer failed to stream

I have been making and deleting custom modules to learn how magento works and I have now come across this error when I selected System | Permission | Roles | Administrator that error was fixed and now ...
1
vote
1answer
4k views

Magento failing silently, block not being called

I have been working on a module, and last time I checked it displayed as expected. I have now gone to work on other modules and now I have come back to this module it has stopped working and I don't ...
1
vote
1answer
2k views

core_resource creates module_setup but install script is not called

I am trying to create an install file but Magento is not running that file, although it is putting an entry in to the core_resource table. I have deleted the row which was created and loaded the page ...
1
vote
2answers
2k views

class not found but class is created

I am receiving the following error Fatal error: Class 'Ns_Module_Model_Mysql4_Setup' not found in /Users/tony09uk/Sites/magentoDevTest/app/code/core/Mage/Core/Model/Resource/Setup.php on line 234 I ...
2
votes
2answers
347 views

Magento core code - why module init files some in Mage_All and some not

Looking at the core code under app/etc/modules... Why does Magento use Mage_All for a large part of the modules and individual files for the others? I understand that Magento will ultimately merge ...
0
votes
1answer
1k views

Magento Admin Actions Log - How to capture mass action data? [duplicate]

We've created a module for Enterprise that has 2 controller actions, one is the index and the other is a save from a massaction. We're logging to the Admin Actions Log with the following logging.xml: ...
0
votes
2answers
671 views

XML-Rewrite for frontend only

In my custom news-module I got this: <rewrite> <fancy_url> <from><![CDATA[/news\/(.+)/]]></from> <to><![CDATA[news/index/view/title/$1/]]></to> <...
4
votes
3answers
891 views

Is It Possible To Move An Admin Menu Node?

We're using Fishpig's Attribute Splash module which inserts a node "Splash" at the top level of the admin menu. We'd prefer it to live under the Catalog menu though. Here's the original XML the ...
4
votes
1answer
13k views

Move layered navigation block between product list toolbar and product list

I have moved the layered navigation block into the content section however I can't figure out how to position the block. I can only get it to show at the very top of the page or the bottom. I need it ...
5
votes
2answers
468 views

Understanding types of layout handles

I am going through this link to understand Layout handles. Here I have seen that the layout handles are in the form of [module_front_name]_[controller_name]_[action_name]. So, for example the layout ...
1
vote
1answer
438 views

Magento Custom Options / Associated Products Order

I have a configurable product which has associated simple products, but on the configurable there is also two custom options. I would like the custom options to display first rather than the ...
2
votes
1answer
2k views

custom config for module - not store config

If I want to add a custom configuration node in my modules config.xml, how would I go about this and how to retrieve the values? I do not want store configuration, just a node in my modules ...
0
votes
1answer
2k views

magento show featured product in header

I am quite newbie to the Magento. Currently I am doing a theme. In that I want to show all the products from featured category. For that I have done a file called featred.phtml inside /app/design/...
3
votes
1answer
158 views

Is it possible to add an event (hook) to a core action without overriding it?

I'd like to add a hook to a Magento core action (in this specific case Mage_Adminhtml_Sales_Order_CreateController::saveAction() but I hope there's a general solution). Just a hunch, but it seems to ...
1
vote
3answers
9k views

Magento custom module is showing in advanced tab but not showing in admin configuration menu tab?

I am just a newbie to the magento extensions. I want to create a new module named as storeinfo in magento version 1.7.0.2 . For that I have my folder structure for app/local is like this magento ...
1
vote
1answer
3k views

Custom Backend Module showing blank Page

I am having a feeling this is a simple issue. I have a module I created for Magento 1.7.0.2, however it's just showing a blank page when clicked. Here are my module files: app/code/community/LAMP/...
0
votes
1answer
8k views

update layout using custom layout handles

i'm fairly new to magento, so i might not get all terms right. it's also possible that i haven't fully understood the magento internals which work through layouts and templates to print a webpage to ...
4
votes
2answers
11k views

Unable to overcome the “Can't retrieve entity config” error

I have been working on a simple module and have been stuck with the error Can't retrieve entity config for too long. I am assuming that this is to do with the way I have set my config.xml files up? ...
2
votes
2answers
3k views

Using Magento's method=“removeItem” to remove js ONLY for IE8 and below

Does anyone know why the following doesn't work for removing items from IE8 and below, but does work for adding items? <action method="removeItem"> <type>skin_js</type> <...
3
votes
2answers
4k views

How to add files for custom module under system configuration? [duplicate]

I have my own module in System->Configuration and want to add js and css files for it. Now it is so: <layout version="0.1.0"> <default> <reference name="head"> ...
2
votes
2answers
890 views

Send a Magento order to third-party API when placed

I'm looking on an example of where I should place for Magento orders to be sent to a third-party API. I have all documentation and all proper code that I've tested. I just don't know where these API ...
1
vote
2answers
5k views

Move page title using local xml

Is it possible to move the page title on cms pages to the left column of a 2 column left layout? But, purely using local.xml and not editing the templates?
2
votes
1answer
938 views

Create A New Layout Block Magento Basket Page

So I want to change a code block (discount vouchers) on the cart page. I need to create a new file to style this block. The existing layout file (XML) has the following code: <checkout_cart_index&...
14
votes
1answer
3k views

Improving error messages for XML compilation errors

Magento is fairly protective (as it should be) regarding the display of errors. When developer mode is enabled (as it should be during development), the application allows runtime error feedback to ...
4
votes
2answers
5k views

Layout Update XML - Update Handle

I'm trying to change the layout handle for specific CMS pages in the back end. To do this I'm trying to use the following in Design->Page Layout->Layout Update XML <update handle="store_page" /&...
2
votes
1answer
975 views

Magento Dataflow - Export CSV

I have a dataflow profile to export products: name, sku, stock qty Is it possible though to export where stock qty is not 0? Current Code: <action type="catalog/convert_adapter_product" method=...
9
votes
1answer
9k views

How to prevent module rewrite class conflict in Magento

I have a class rewrite problem in Magento Onepage Checkout as I have a custom module in the local code pool and a third party extension in the community code pool both extending the same class... I'...
31
votes
3answers
30k views

Conditionally show/hide blocks in layout XML

How to conditionally add a block (depending on the configuration in the admin panel) in Magento's layout XML? We can check if config is true on actions. In the example below, if sample/config/...
0
votes
1answer
804 views

home.reports.product.compared block in default home page never displays

I'm trying to use the layout XML that is set by default on the CMS Home page of a clean Magento install (See Admin > CMS > Pages > Design tab > Layout Update XML). It inserts three product ...
1
vote
1answer
1k views

Display 2 Grid layout in admin form

I have create one custom tab in my module and display one grid output successfully, but my question is how we can display two grid serializer block in one page? I have tried to out put with calling ...
1
vote
2answers
6k views

If condition in layout xml tag

I have create one module for displaying latest product review, module works perfectly and reviews are display on frontend side. But what I have requirement is admin can select where to display this ...
2
votes
1answer
4k views

Magento - Get specific custom product option value

I'm trying to make a custom XML feed for Magento. Everything's fine and dandy, however I've hit a roadblock. I'm trying to get specific custom product options for my products, but the method I'm using ...
36
votes
6answers
41k views

Debugging layout XML loading

TL;DR: is there a way I can debug the loading of the layout? As I believe one module's layout is conflicting with another. Related to a previous question I made: How to make a module layout to be ...