$finalPrice = $product->getPrice(); $finalPrice = $this->_applyTierPrice($product, $qty, $finalPrice); $finalPrice = $this->_applySpecialPrice($product, $finalPrice); $product->setFinalPrice($finalPrice);
Rewrite the catalog search full-text indexer to include product tags.
Create a custom indexer with a custom index for comment to category associations. This index contains references to all the comments associated with a specific category detail page. You might want to add a category_id attribute to the comment entities for this.
Integrate the comment indexer into the adminhtml indexer interface.
Make the comment indexer process individual entity updates immediately (if not set to manual).
Set the indexer status to “requires reindex” whenever a comment on the frontend is edited, and update automatically whenever a category is edited in the admin area.
Create an action controller action method that adds a configurable product to the cart using a default set of options (single click add-to-cart for configurable products).
Create a product type that lets the customer specify the price he wants pay when adding such a product to the cart, and use that price during checkout. Use the standard product price attribute as a suggested price for the product