The code tag has no wiki summary.
1
vote
1answer
29 views
What is getFormattedOptionValue Vs. getFormatedOptionValue?
Is this just a legacy typo? Or is there something that I'm missing. I just noticed this in the file:
code/local/Mage/Checkout/Block/Cart/Item/Renderer.php
public function ...
2
votes
1answer
56 views
Programmatically create a credit memo
Given an order that has been invoiced (by cash on delivery for testing) and is in state "processing", how can I create a credit memo for a given sku and quantity (in code that is outside of Magento ...
0
votes
1answer
25 views
get array of a product's assigned/used attributes?
with php,
what is the easiest way to start from a product instance and get a list of the attributes both standard and custom, set for that particular product ?
thank you, im off to bed for now...
0
votes
1answer
124 views
Magento multiple order on one checkout or order splitting
Store products are supplied from different vendors. It is required to create multiple order for every vendor based on its products in the cart during one checkout. Is there any extension to achieve ...
0
votes
1answer
34 views
Downloading orderdetails through Mage::getModel('sales/order')
I am trying to download order details (email + name) from my stores. We have a multistore.
The problem that I have is that when I run this code on STORE 1 or STORE 2 - both result in the full ...
1
vote
2answers
29 views
Do I Have to Copy the Full Class to the “local” code pool when Making Modifications
Can someone please answer this for me.
If I create my own version of a Mage/core file in the local code pool, does it completely overwrite the Mage/core file? Or will the methods that have not been ...
1
vote
1answer
75 views
Add Country Manually in Customer A/c Details
How can we set Country in Customer A/c Details Manually.
I am trying to execute code as following and
So Please Suggest Answer in that criteria :
if (!$customer->getId()) {
...
4
votes
2answers
251 views
Magento coding standards
I recently started working extensively with Magento and Code sniffer, and I would like to know which standards I should follow.
I tried Zend coding standards, but I don't want to use the 80 line ...
0
votes
1answer
61 views
Where is translation for XML configurations is happening in the code?
In XML files (such as system.xml) I can specify a translate attribute for nodes to be translated. Where is this translation taking place in the code?