Magento remove customer review block from product view page - magento

I am creating custom module for customer review so I need to delete the Magento customer review functionality from product view page. There is any XML code which don't show the Magento customer review on product view page.

try this code i have already used...
<catalog_product_view ranslate="label">
<remove name="product.reviews"/>
</catalog_product_view>

Go to your theme folder> template> catalog> product> open view.phtml then just find the code in this page:<?php echo $this->getReviewsSummaryHtml($_product, 'default', false)?>
Now remove the code and check. I think it solve your issue.

You do not need any xml code to remove customer review block from product view page. Go to System > Configuration > Advanced then look for Mage_Review and disable it.

Related

magento How to add a block to the bundled product page

I am a newcomer to magento. During the learning process, I want to know how to add a block to the bundled product page. The piece of information I found through google doesn't know what to do with it.
It depends on where you want to put it, and I am assuming that you have a theme setup with a local.xml file, but you could also add that part in the product's edit page in Admin->Manage Products->Edit Product->Design->Custom Layout Update.
The xml, added in app/design/frontend/[your-theme]/[your-subtheme]/layout/local.xml
<PRODUCT_TYPE_bundle>
<reference name="content">
<block name="yourtheme_yoursubtheme_nameofblock" type="core/text" template="path/to/your/template.phtml" />
</reference>
</PRODUCT_TYPE_bundle>
This will add the output of app/design/frontend/[your-theme]/[your-subtheme]/template/path/to/your/template.phtml at the bottom of every bundle-type product page. You may want to read up on Magento Layout XML

Unable to display products of home page in Magento 1.8.1

After successful installation of Magento 1.8.1 in a system. Everything works fine, but unable to display products on the home page. As posted on Magento website, I modified the home page design using admin interface CMS >> Pages >> Home Page >> Design.
As shown in the Magento Wiki page below lines were added in the second line of home page design -
{{block type="catalog/product_new" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}
Still, the products are not displayed on home page.
What should be done to display the products on home page.
I'm using Ubuntu 13.04 server, with MySQL 5.5 database and Magento version 1.8.1 downloaded using SVN
In your xml file add this and remove the block from CMS > Home Page section
<cms_index_index>
<reference name="content">
<block type="catalog/product_new" name="home.catalog.product.new" as="product_homepage" template="catalog/product/new.phtml"/>
</reference>
</cms_index_index>
Please check this:
New product doesn’t mean that you’ve recently added them; only products explicitly marked as new using ‘Set Product as New from Date’ and ‘Set Product as New to Date’ options in the ‘General’ product information page in the admin tool will be shown.
First you have to check if product is define new product in manage product or not. If not then you have to assign product as new product then and then it display in new product. Please check image
Then you have to check product is in stock. and don't forgot to clear cache after changes
Let me know it helps you any way
Step 1: Login into your Magento Admin Dashboard;
Step 2: Go to: CMS -> Pages -> And choose Home Page;
Step 3: Now you must see the some edit options which will be applied for the HomePage.
Step 4: Go to: Contet Tab from left;
Step 5: Add following snippet in the WYSIWYG (As know as “What You See Is What You Get”)
;
{{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/list.phtml"}}
I was have the same problem sometimes. Need to check products quantity, status set to enabled, products must be in stock. Also need to re-index data and clear all caches. After all products will be display in the site homepage.

Map feature not working on Home Page

I am using Magento version 1.7.0.2 and I set MAP feature in my site.
MAP feature work perfectly in category listing and product detail page but in home page its give me js error.
Reference Error: Catalog is not defined
Anybody know how can I resolve it?
ok. After some research I got the solution.
To make MAP pop-up work on the home page, add these code in local.xml of your theme:
<cms_index_index>
<update handle="MAP_popup" />
</cms_index_index>
It should be added somewhere between <layout> and </layout>.

Magento newsletter on footer

Guys where can i find template that rendering SIGN UP FOR OUR NEWSLETTER on footer of magento template?
Thanks.
you can go throw this step to show from where is comes from
1. Open the admin control panel
2. Open the system tab and select configuration
3. Select Main Website or Name of your website (NOT DEFAULT CONFIG) from the Current 4.Configuration Scope drop down
5.Select Developer on the left sidebar
6.Open the Debug drop down
7.Set Template Path Hints To Yes
Click on Save Config to save down your changes
And also you can find in your xml like this
<block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
just check which is your parent tag.
Alternate Solution:
go to the template file: app\design\frontend\package\theme\template\page\html\footer.phtml
and place the following script in it, you needs.
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}

Products are not displayed in magento homepage?

I added some products in the magento admin panel, but i don't know how to display that to my homepage..
Use below code in home page
{{block type="catalog/product_view" product_id="166" template="catalog/product/view.phtml"}}
OR
Create new singleproduct.phtml file in your template directory
visit
http://www.magentocommerce.com/boards/viewthread/19173/
for more detail

Resources