Questions tagged [best-practice]

Denotes questions related to best-practices in Magento.

Denotes questions related to best-practices that should be followed in Magento.

210 questions
1
vote
1 answer

best practice for placing descriptions and landing pages

this is probably a question for the magento forums directly, but as they are such a spam-fest.. I'll try here :) I want to put at the top of each product category a large splash image and description etc (which I've done) and it all looks and works…
egg
  • 499
  • 7
  • 26
0
votes
1 answer

Getting a Product model from db

I've just started in the world of Magento and throughout the process of many questions I have came across one its proving dificult to find the best description for it. Considering the following snippet, which of the methods is preferable in terms of…
rpcm
  • 3
  • 2
0
votes
2 answers

Is it safe to use one instance of a Model to load several different entities?

Are there side-effects, or issues with doing something like this: // Retrieve the Model once $model = Mage::getModel('some/model'; // Load several different instances foreach($idlist as $id) { $entity = $model->load($id); } Or should the Model…
STW
  • 2,047
  • 3
  • 16
  • 41