By James on October 15, 2010
Add Online Price Only Tag /app/design/frontend/default/default/template/catalog/product/view.phtml <div class="online price" style="color:red;margin-right:5px;font-weight:bold;">Online Price Only</div> After Line 61 <?php echo $this->getChildHtml(’alert_urls’) ?> /app/design/frontend/default/default/template/catalog/product/price.phtml TO DO LIST: Magento GOOGLE SITE MAP
Posted in magento |
By James on September 13, 2010
app\code\core\Mage\Page\Block\Html\Head.php public function toHtml() { //Start Edit $_cmsTitle = Mage::getSingleton(’cms/page’)->getTitle(); if (strlen($_cmsTitle)>0){ $this->addText(’<title>’.$_cmsTitle.’</title>’."\n\t"); }else{ $this->addText(’<title>’.$this->getTitle().’</title>’."\n\t"); } //End Edit $this->addText(’<meta http-equiv="Content-Type" content="’.$this->getContentType().’"/>’."\n\t"); $this->addText(’<meta name="description" content="’.$this->getDescription().’"/>’."\n\t"); $this->addText(’<meta name="keywords" content="’.$this->getKeywords().’"/>’."\n\t"); $this->addText(’<meta name="robots" content="’.$this->getRobots().’"/>’."\n"); $this->addText($this->getAdditionalCssJs()); $this->addText($this->getChildHtml()); return parent::toHtml(); }
Posted in magento |
By James on September 4, 2010
I want to develop a module to show the best top 10 seller cartridge in Adelaide Cartridge base in Magento 1.4. But I am so tired to learn a new extension develop rule now. I will do it a month later. I choose a trick method to do it. Edit /app/design/frontend/default/your theme/templat/callouts/left_col.phtml <?php $_productbest = [...]
Posted in magento |
By James on August 25, 2010
Magento success.phtml /httpdocs/app/design/frontend/default/hellopress/template/checkout <!– Getprice.com.au sales tracking system –> <img height="1" width="1" border="0"src="https://secure.getprice.com.au/affsale.asp?shopid=1802&sid=<?php echo $this->getOrderId()?>"> <!– End Getprice.com.au –> I need find the Order Price method. Magento is a very huge system and it’s very hard to find the method of the object. <!–MyShopping.com.au Code for Purchase Conversion Page –> <img height=0 width=0 src="https://www.myshopping.com.au/sale.asp?mid=2688&order=<?php echo [...]
Posted in magento |
By James on August 16, 2010
Manufacturer is a custom attribute,you can change the name your custom attribute name. 1 2 3 4 5 $attribute = Mage::getModel ( ‘eav/config’ )->getAttribute ( ‘catalog_product’, ‘manufacturer’ ); foreach ( $attribute->getSource ()->getAllOptions ( true, true ) as $option ) { $attrubuteArray [$option [’value’]] = $option [’label’]; }
Posted in magento |
By James on August 16, 2010
It’s not a valid Magento extension , you can use Magento Connect install and uninstall it. I’m not very good at MVC and Zend Framework and the Magento DOC is a horrible thing to read and understand it. I need this function and I can’t find some good extension and do this job. So I [...]
Posted in magento |
By James on July 18, 2010
Magento built-in search is powerful and definitive search tools,but some times the visitor will use some strange keyword to search the product and Magento will return Your search returns no results.In my opinion, every search is very important to improve the sales,I want to use google site search result replace Your search returns no results [...]
Posted in magento |
Recent Comments