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

  • SEARCH
  • Home
  • 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 8316613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:24:05+00:00 2026-06-08T21:24:05+00:00

There are pre-defined attributes in Mangento 1.7 categories named active from active to I

  • 0

There are pre-defined attributes in Mangento 1.7 categories named

  • active from

  • active to

I can fetch Name of the current product’s category using this:

 $productId=$_helper->productAttribute($_product, $_product->getId(), 'id');
 $product = Mage::getModel('catalog/product')->load($productId);
 $cats = $product->getCategoryIds();
 foreach ($cats as $category_id) {
 $_cat = Mage::getModel('catalog/category')->load($category_id) ;
 echo $_cat->getName();
 } ?>

but I need to find the active from date of current category also.
How do I fetch this?

  • 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-06-08T21:24:07+00:00Added an answer on June 8, 2026 at 9:24 pm

    It is probably worth noting that these values are for the active state of a custom design for the category, and not the actual active state of the category itself…

    As an array together:

    $_cat = Mage::getModel('catalog/category')->load($category_id);
    $_customDesignDates = $_cat->getCustomDesignDate();
    

    Or individually:

    $_cat = Mage::getModel('catalog/category')->load($category_id);
    $fromDate = $_cat->getData('custom_design_from');
    $toDate = $_cat->getData('custom_design_to');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a quick way to submit (pre-defined) POST data from a hyperlink in
Is there any pre-defined function in C that can split a string given a
Are there pre-defined charsets in Delphi, to check if a character is a letter?
In eclipse workbench in Import view there are some pre-defined menu items, which are:
Are there any attributes to pre select some radio button in tag on page
Is there anyway to restrict by using pre-processing directives to prevent a project from
Is there a cl.exe option to dump all the pre-defined Macros ( along with
All of the examples that I found of FETCH NEXT fetch INTO pre-defined variables.
The problem is that all Object attributes apart from 'name' call the error 'id/url/whatever
Is there a way to get the C++ pre-processor to expand a #define'ed value

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.