Where Contact Form Source Code in Magento?

Hi,

Below Path is without recaptcha form page source code :
C:workfreelancerstanmagentoyour-themeappdesignfrontendyour-themeyour-themetemplatecontactsform.phtml

Withc Recptcha Form Page Source Code :
C:workfreelancerstanmagentoyour-themeappdesignfrontendyour-themeyour-themetemplatefontisrecaptchacontacts.phtml

Sometimes the path change to “base” theme inside. Example Below Path :

C:workyour-themeappdesignfrontendbasedefaulttemplatefontisrecaptchacontacts.phtml

here what you want change, that is work well.

How to View Magneto SKU Number in Cart & Page View?

1. You Want cart page to view the SKU number :
You can use below code in your : app/design/frontend/youtheme/yourtheme/template/checkout/cart.phtml
<?php echo $this->__(‘SKU Number’) ?>

And add item section this : app/design/frontend/youtheme/yourtheme/template/checkout/cart/item/default.phtml
<?php echo $_item->getSku() ?>

2. You want to view the Page View :

app/design/frontend/youtheme/yourtheme/template/catalog/product/view.phtml
<!– Write SKU –>
<?php echo $this->__(‘SKU Number :’); ?> <?php
$sku = Mage::getModel(‘catalog/product’)->load($_product->getId())->getSku();
echo $sku; ?>
<!– Sku End –>

its is working for my side.

How to View Order Status Comments History View?

Hi, this is one of very critical issue for me. I found one forum this solution.

That fourm url is below :
http://www.magentocommerce.com/boards/viewthread/20813/P75/

And I mentioned that code also. If they deleted that thread this is useful.

1. You this path : /app/code/core/Mage/Adminhtml/Block/Sales/Order/View/History.php

// For All Status View Purpose Below
public function getAllStatuses()
{
$statuses = $this->getOrder()->getConfig()->getStatuses();
return $statuses;
}
// For All Status View Purpose Above

I added this code after “public function getStatuses()” this function inside.

2. Next you go Here : /app/design/adminhtml/default/default/template/sales/order/view/history.phtml”

Find below Code :
<?php foreach ($this->getStatuses() as $_code=>$_label): ?>
<option value=”<?php echo $_code ?>”<?php if($_code==$this->getOrder()->getStatus()): ?> selected=”selected”<?php endif; ?> <?php echo $_label ?></option>
<?php endforeach; ?>

You feel Backup Above code take or Comment line.

And change Below Code :

<!– Write Below for Order Status –>
<?php foreach ($this->getAllStatuses() as $_code=>$_label): ?>
<option value=”<?php echo $_code ?>”<?php if($_code==$this->getOrder()->getStatus()): ?> selected=”selected”<?php endif; ?>><?php echo $_label ?></option>
<?php endforeach; ?>
<!– Write Above for Order Status –>

This is working for me. And check your side. And thanks this option giving that forum “thekanyon” also.

How find language .phtml file path in Magento?

Just go to below path

appdesignfrontendyour-themeyour-themetemplatepageswitchlanguages.phtml

thanks. 🙂

How to Popular Tag add & remove in Magento?

1. Go to Admin Panel

2. Select the Catalog => Select Add Tag

3. And what tag you want add here.

And watch below video tutorial url also :

http://fastdot.co.uk/magento-ecommerce/how-to-create-and-approve-tags-in-magento.html

Add :

appdesignfrontenddefaultyourthemelayouttag.xml

<default>

<!– Mage_Tag –>

<reference name=”right”>

<block type=”tag/popular” name=”tags_popular” template=”tag/popular.phtm”>

<action method=”setTemplate”><template>tag/popular.phtml</template></action>

</block>

</reference> </default>

Remove :

go to below URL.

http://stackoverflow.com/questions/2654515/removing-the-block-popular-tags-from-the-index-view-in-magento

Here some more useful things.

that’s all 🙂

This is custome tag add in home page option : {{block type=”tag/popular” template=”tag/popular.phtml”}}

© 2020 Spirituality