Questions tagged [xml]

Denotes questions about XML files and XML processing.

323 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
1answer
70 views

Module causing simpleXML error

After digging around for the cause of a SimpleXMLElement::__construct() error in my logs, I found the culprit to be the module called Mgt_Base.xml in app/etc/modules/. When disabling this module, the ...
0
votes
1answer
2k views

Change meta title of customer login page

Trying to change the meta title of the customer login page in Magento2 at example.com/customer/account/login/. Added tag to my xml file but no luck. Please advise. Here's my xml layout: <?xml ...
0
votes
1answer
102 views

Loading Javascript file when module load

I am developing custom Module in Magento 1. Now I would like to load my module specific JS file when then module enabled. In this regard I used below xml code in a separate xml file named as module ...
0
votes
0answers
60 views

Add content to media.phtml without modifying the code

I have added custom code to media.phtml. media.phtml shows the product image. The product images get cached and therefore my custom code is getting cached also and I do not want it to be. What I ...
0
votes
1answer
359 views

How to add column in orders Excel xml export?

In magento backend it is possible to export the list of the orders in Excel XML format. I would like to add columns in this file such as the company name (present in the customer address) and the ...
0
votes
1answer
124 views

Serving a different product page for certain products with router

I've developed a module that sends some product pages to a product customization wizard. I've used getProductUrl() to change the links to point to the customization URL. http://mywebsite.com/designer/...
0
votes
2answers
142 views

Magento 2: New theme XML files not loaded on live site

My new theme works locally, but when once uploaded to live server, selected in the Admin, it shows some content, but it's not using my new XML files. The new default_head_blocks.xml defintely isn't ...
0
votes
0answers
66 views

How do I change Magento Success Page XML layout?

This is the content of my layout: <checkout_onepage_success> <reference name="content"> <remove name="checkout.success"></remove> <block type="...
0
votes
2answers
807 views

Magento 1.9.2.4 Add Cart To Header

I need to add a cart to the header. I am creating my own custom theme which feeds of the RWD theme. I need a cart that shows total items and value.
0
votes
1answer
151 views

Magento Shipping Method

I have created a custom shipping method in Magento but my question how i can call a request from external gateway and read XML data in Magento shipping method .
0
votes
3answers
2k views

Show/Hide Editor Not Responding

I have tried to look for previous solution and couldn't find any relevant topics. So I guess I should post a new question here. We are trying to toggle the WYSIWYG editor (Which is turned by default) ...
0
votes
1answer
48 views

Filter products (out of stock) with xml

I found this code in a xml file: <action method="setAvailableProducts"> <value helper="mmartinovic_productlist/getAvailableOrders"></value> </action> Is there a similar ...
0
votes
0answers
443 views

Change app/etc/local.xml programmatically (simplexml?)

does anybody know the best way to change a node in local.xml within a custom module? Is there functionality within magento I can use or do I need to focus on a simplexml function in php? Currenly I ...
0
votes
2answers
80 views

How to write direct link of js in magento

In magento 1 in xml <script src="http://www.abc/aa/abc.js"></script> In magento 2 i am trying to ad like this in my xml but its not adding how can i add js using link without download ...
0
votes
2answers
238 views

Remove a shipping method from a store view

I have a magento store with 1 website operating 2 store views within it. I want to hide a shipping method which is displayed in a list item in one of the store views. I understand I can use css ...
0
votes
1answer
530 views

How to add js file to admin category edit via xml?

I have created a module and I am trying to include a custom js file into the category edit page. In my config.xml file I have: <config> ... <adminhtml> <layout> ...
0
votes
1answer
167 views

system.log to so many error message

my magento shopping mall is so many error comes up what problem...? and cpu28~27% possession..this is normality ? please tell me ! this is my systemp.log 2016-01-29T00:09:03+00:00 CRIT (2): Not ...
0
votes
4answers
55 views

Loading a custom block into Magento

Magento is still very much a learning curve for myself but I'm trying to steer away from so much of my hard-coded, procedural PHP and start following the Magento MVC. I've set myself the task of ...
0
votes
0answers
477 views

Magento2 attributes construct error in Entity

I have made a dummy module in Magento2 , just wanted to observer cart add event, but while making few files i am getting this error a:4:{i:0;s:168:"Warning: DOMDocument::loadXML(): attributes ...
0
votes
0answers
145 views

Shopping cart and checkout in 1 page

How do I put shopping cart and checkout in the same page? I don't want any extensions. I want to do it in XML, but I don't how to do it.
0
votes
2answers
78 views

Is the order notification email avaiable by default in Magento 1.9.1 version?

but in magento 1.9.1 the order notification email are available by default ?, because It does not work
0
votes
1answer
671 views

Product get Small image from collection

i have tried a lot to get only small image from product collection of product object to create custom XML feed for my products. but could not able to get succeed yet. $imgname = Mage::helper('...
-1
votes
1answer
105 views

Magento 2.2.2 How to add external script in Design Layout update XML?

What is the equivalent to the bellow code for Magento 2.2.2 This work for magento 1.9.2.7 : <reference name="head"> <block type="core/text" name="pixel"> <action method="...

1
3 4 5 6
7