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 8501685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:16:42+00:00 2026-06-11T01:16:42+00:00

we are setting up a small online store on Magento 1.7.0.2, so far so

  • 0

we are setting up a small online store on Magento 1.7.0.2, so far so good importing categories, attributes and products from XML and CSV files. Then I tried to implement what seemed to be an easy task to do but I can not get to my goal, here is my problem:

Suppose you have the category “Tripods” and one attribute “Weight_it_support”, meaning how much weight a particular tripod can support without falling down. Then I have another category, “Cameras” and an attribute “Weight”, no need to describe it.

Then what I want to accomplish is to have on layered navigation (or any other place) a filter with the attribute “Weight_it_support” and once I click it, show not only the tripods that supports this weight, but also the cameras with a weight less or equal than the one correspoding to the selected filter. Hope it is clear enough.

I thought that this could be accomplished by assigning the “Weight_it_support” to a set of attributes, select YES on the “Use in Layered Navigation” property of the attribute and nothing more. But these actions do not solve my goal as I need to also link the categories “Tripod” and “Camera” and this is not usefull as from this point I will have everything mixed up on those categories and we do not want that.

Any clue? Thanks!

  • 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-11T01:16:44+00:00Added an answer on June 11, 2026 at 1:16 am

    Here is a version that creates an additional block on the “Tripods” category page when a filter regarding weight they support is active.

    Repo on Github: https://github.com/herveguetin/Demo_RelatedCamera

    Wiki on Github: https://github.com/herveguetin/Demo_RelatedCamera/wiki


    [EDIT] GIT Repo has been updated with a version that works with full product list implementation. A block rewrite is mandatory though. It is the Mage_Catalog_Block_Product_List which is a commonly rewritten block.

    [EDIT 2] Previous version was making 3 product collection loads instead of one when not mixing products from different categories (tripods + cameras). I made some updates that modify the original mySql query in order to inject statements enabling the addition of camera products. As a result, there is only one collection load even if we are requesting products from the camera category on top of the tripods.

    USE WITH CAUTION : it doesn’t work when flat catalog for products is enabled. You can turn this feature on or off by setting the constant Demo_RelatedCamera_Block_Collection::USE_MYSQL_UPDATES to true of false;

    On a large product base (30 000+), you are very encouraged to use this feature and scratch your head to adapt it to your needs!

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

Sidebar

Related Questions

Setting a Magento store for a winery. They well bottles of wine, but you
Hi I am setting up a small website sort of like an online portfolio.
I've written a small app that creates a GUI for setting up uShare. Currently
I am setting up a github account, to work on a small project with
Setting onchange event for CheckBoxList using the following code doesn't work. chkListUserGroup.Attributes.Add(onchange, document.forms[0].isRecordModified.value='true';); How
I am having a small issue in setting up speed tracer with ubuntu. any
I'm building a small application and setting up foreign key relationships between tables. However
In a small web application I'm setting some text in a text box and
I am setting up our (relatively small) programming team to work with source control.
Below is a small snippet from a code I saw with jquery and PHP.

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.