Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6689175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:29:20+00:00 2026-05-26T05:29:20+00:00

I have a problem, I want to display different detail pages for different types

  • 0

I have a problem, I want to display different detail pages for different types of products. Actually I’ve installed Unirgy Gift Certification plug in and I want a different kind of page to be loaded for this type of product.

I added following code in catalog.xml, but it does not seems to be working

<PRODUCT_TYPE_ugiftcert translate="label" module="catalog">
        <label>Catalog Product View (Gift Certificate)</label>
        <reference name="content">
            <block type="catalog/product_view" name="product.info" template="catalog/product/view-gift.phtml" />
            <block type="catalog/product_view_type_ugiftcert" name="product.info.ugiftcert" as="product_type_data" template="catalog/product/view/type/default.phtml">
                <block type="core/text_list" name="product.info.ugiftcert.extra" as="product_type_data_extra" translate="label">
                    <label>Product Extra Info</label>
                </block>
            </block>
        </reference>
    </PRODUCT_TYPE_ugiftcert>

Can you tell me what I am doing wrong?
Is it possible to have different detail pages for different types of product? like different one for configurable/simple product or different detail page based on attribute set.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:29:21+00:00Added an answer on May 26, 2026 at 5:29 am

    You can update like that if that layout is being called.
    I wrote a very quick post here a while ago. http://www.sharpdotinc.com/mdost/2010/12/17/magento-layout-handels-and-layout-xml-files/

    What you need to do is go into the product controller and in the view action put the following code after the loadLayout() call.

    $this->loadLayout();
    print_r($this->getLayout()->getUpdate()->getHandles());die();
    //     .... OTher COde
    

    This will display all the handles avaliable. If you do not see you handle in here then it will not be loaded.

    PRODUCT_TYPE_ugiftcert
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a problem with VIMEO video . I want to display it in
I have this mysql tables I want to display with jqgrid. The problem appears
I have forms that I want to display in different languages : I used
I have a problem and I want to implement the MVC pattern to my
I have problem with fancybox. I want to write a function that will run
I have problem with return statment >.< I want to store all magazine names
I have problem with HTTP headers, they're encoded in ASCII and I want to
I have problem with dynamically created image (JavaScript). I want to change the innerHTML
with my RCP program I have the problem that I want to have more
The Problem I want to press a key when I have a line highlighted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.