Questions tagged [code]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
11
votes
2answers
13k 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 ...
5
votes
2answers
14k 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 ...
40
votes
5answers
7k 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 ...
1
vote
1answer
170 views

How to decrease brand product list page load time in magento?

I am collecting brand specific products based on the brandId in brandproductlist.php as follows., $collection = Mage::getModel('catalog/product')->getCollection() ->addAttributeToSelect('*')...
0
votes
1answer
525 views

Countdown Timer

I can't get the following code to work on the frontend. It displays correctly but will not countdown as I would like. I have tried changing the date but nothing happens. Could someone point me in the ...
3
votes
1answer
2k views

Using Magento as backend ONLY for website

I want to use my own frontend for my website, and only use Magento for the cart and backend. Most of the site is not a commerce site and I don't want Magento taking it all over. I've read about how to ...