Magento Bundled Price Not showing up in listing pages - magento

I'm using Magento 1.7.0.2 and certainly I observed that the bundle pricing is not showing up in the listing pages of product.
Is there any quick fix for it? Any help will be highly appreciated.
Thanks

I will just toss a big fat guess at it and say that if you are adding a block that is custom, you may need to add the Price action hook like so:
<reference name="content">
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page">
<action method="addPriceBlockType">
<type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template>
</action>
</block>
</reference>

I just found this solution to the problem of bundle pricing not displaying properly in category pages: http://www.magentocommerce.com/boards/viewthread/224677/.
I hope it will help.
Thanks,
C

Related

Magento: Show Visitor's Recently Viewed Product

This question is somehow related to my previous question. I want the "recently viewed" section to show the products which are recently viewed by my (as a visitor). So in that way, every visitor will see their recently viewed products in that section.
Does magento provide any default functionality for this feature or do I have to do it the way I referred in my previous question.
Yes magento has its default functionality
Goto app/design/frontend/default/(yourtheme)/tempalte/reports folder
If you cant see that folder in your theme, just copy it and save it to your theme folder
you can use the below code to display in layout files
<block type="reports/product_viewed" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
To call in CMS pages (homepage)
{{block type="reports/product_viewed" name="left.reports.product.viewed" template="reports/product_viewed.phtml"}}
To call in phtml file
<?php echo $this->getLayout()->createBlock('reports/product_viewed')->setTemplate('reports/product_viewed.phtml')->tohtml(); ?>
yes , you can by simply use this
<cms_index_index>
<reference name="content">
<block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new">
<action method="addPriceBlockType">
<type>bundle</type>
<block>bundle/catalog_product_price</block>
<template>bundle/catalog/product/price.phtml</template>
</action>
</block>
</reference>
</cms_index_index>

change custom product tab position in admin grid Magento

Hi i have added a new product tab in admin grid by following the below link
http://inchoo.net/magento/how-to-add-custom-product-relations-in-magento/
Everything is working fine. BUt this has added the new tab at the last position in product edit section. Can you please suggest me how can i change the position of that tab.
thanks
You can use the action addTabAfter instead of addTab, then you have to specify the <after> parameter (categories, websites, upsell...).
I edited the code of your tutorial for example:
<reference name="product_tabs">
<action method="addTabAfter">
<name>custom</name>
<block>inchoo_customlinkedproducts/adminhtml_catalog_product_edit_tab</block>
<after>upsell</after>
</action>
</reference>
I hope this is fexible enough for you.
after searching a lot i have not got any default solution to change the custom tab position so i have decided to go with JavaScript.
I manage to do this with the below code
in my module file i have loaded a custom JavaScript file with the below code on product edit action and product create action
<adminhtml_catalog_product_edit>
<reference name="head">
<action method="addJs">
<script>jsoveride/accesorytab.js</script>
</action>
</reference>
</adminhtml_catalog_product_edit>
<adminhtml_catalog_product_new>
<reference name="head">
<action method="addJs">
<script>jsoveride/accesorytab.js</script>
</action>
</reference>
</adminhtml_catalog_product_new>
and in the i have use the below code
document.observe("dom:loaded", function() {
document.getElementById("product_info_tabs_crosssell").appendChild(document.getElementById("product_info_tabs_custom"));
});
and it has done my work.
If anybody gets better solution please let me know.
thanks

I want to view my recent Blog post on my footer (Magento)

I am using this extension on Magento
http://www.magentocommerce.com/magento-connect/nblog-blog-extension-by-neotheme.html
My blog page is working fine but i want show the recent 3 posts on my footer.
i am not getting any solution for it.
If any one Know this please help me
Check your app\design\frontend\base\default\layout\neotheme\blog.xml.
Add this code in the <default> tag
<reference name="footer">
<block type="neotheme_blog/widget_post_list" name="blog.latest.posts"/>
</reference>
use the following code in default tag of blog.xml
<block type="neotheme_blog/widget_post_list" after="blog.category.list" name="blog.latest.posts">
<action method="setPostCount"><param>5</param></action>
</block>
where between param tag you can enter any digit. the blog will show the no. of posts accordingly.

How to put login form in Cms Page in Magento?

I want to add a login form to CMs page in Magento, I have tried adding this:
{{block type=”core/template” template=”customer/form/login.phtml”}}
in the content section of the CMS page, but its not working . Please help me.
This code finally wordked for me .
{{block type ="Mage_Customer_Block_Form_login" template="customer/form/login.phtml" }}
Open cms.xml in your theme and find the following
<reference name="content">
<block type=”cms/page” name=”cms_page”/>
</reference>
Replace it with this
<reference name="content">
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
<block type=”cms/page” name="cms_page"/>
</reference>
Then your code should work.
If your magento version less than 1.6 use the below code.
{{block type="customer/login" template="customer/form/login.phtml"}}
if your Magento version is 1.6 or greater
{{block type="customer/login" template="persistent/customer/form/login.phtml"}}
Try this:
{{block type="customer/form_login" name="customer_form_login_block" template="persistent/customer/form/login.phtml"}}
This is a way to do it without modifying any files:
Go into the Design tab
In "Custom Layout Update XML" add the following:
< reference name="content">
< block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" after="-"/>
< /reference>
There you go. You can also do this in Categories.
Tested in Magento 1.8.1 (should work on most versions)

Magento - changes to template file not showing up - /customer/form/register.phml

I'm making some changes to /customer/form/register.phml but they are not showing up in the frontend. Changes that I made to login.phtml and forgotpassword.phtml do show up.
I checked if magento was using a fallback from the base/default theme but it's not. I deleted register.phtml in both my theme and in the base/default theme to check what would happen: the page showed up just fine (without the changes of course).
I looks like magento gets the file from somewhere else (maybe the core). I've got no idea on how to solve this.
Thanks in advance for your help.
My Customer.xml file looks like this, I'm using magento 1.5.1
<customer_account_create translate="label">
<label>Customer Account Registration Form</label>
<remove name="right"/>
<remove name="left"/>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
</reference>
<reference name="content">
<block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
<block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
<label>Form Fields Before</label>
</block>
</block>
</reference>
</customer_account_create>
The best way to debug this - is to turn on template path hints.
You probably need to edit template/persistent/customer/form/register.phtml.
Yes i agree with WebFlake turn on template hints that will let you know which template file the form is being pulled from, most likely you are modifying the wrong template.
Here is a link which explains how to turn on template hints: http://vimeo.com/1067069
Use the template hints. Also, with any phtml changes you make, make sure that you have caching disabled, and flush all caches (System -> Cache Management).
I used template hints and discovered a plugin replaced the file. Enabling template hints: http://vimeo.com/1067069 helped a lot

Resources