Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function getPriceHtml($product)
- {
- $this->setTemplate('catalog/product/price.phtml');
- $this->setProduct($product);
- return $this->toHtml();
- }
- public function getPriceHtml($product)
- {
- $this->setTemplate('catalog/product/your_price.phtml');
- $this->setProduct($product);
- return $this->toHtml();
- }
- $handles = $this->getLayout()->getUpdate()->getHandles();
- if (array_search('catalog_category_view', $handles)) {
- echo 'here you can do other things';
- }
Add Comment
Please, Sign In to add comment