Hi guys. Actually I have asked this question as well on the Stack Overflow, but sadly I have not received any response so far.
(Original post: http://magento.stackexchange.com/q/52745/20537)
Recently I was studying how the options of the layered navigation filter on the category page are determined and retrieved. I have dug a bit into the models and database for it, and there I found the following mechanism which I do not understand:
Situation: Say, I have an attribute named color (attribute_id = 133), a simple product A (entity_id = 26), and a bundled product B (entity_id = 27), and A is added to B as its bundle item, in Magento ver. 1.9.0.1.
Step 1: color is not set for both A and B
Step 2: color is set as Black (value_id = 19) for B
Step 3: color is set as White (value_id = 18) for A
From step 3, we could see that apparently attributes of the bundle items (A in this case) are also saved as if they are the attributes of the bundle product (B in this case) itself. And I believe that this is why the attributes of the bundle items of bundle products also appear in the layered navigation filter.
I would like to ask why is it designed this way? Why would the system save attributes of the children products to the parent product as well? How does it help in any specific process in the system?
Thanks in advance.View more threads in the same category:
- buy real drivers license(https://legitcleandocs.com)buy Austria id card, passports
- Buy Real Passport Online https://worldpassporte.com
- Kaufen Sie echte und gefälschte Pässe (https://legitcleandocs.com) Führerschein, Aufe
- CUMPĂRĂ PASAPORT ONLINE https://worldpassporte.com/
- Redirection problem after a payment
- buy a Canadian(https://qualitydocky.com) passport, French passport, Italian passport
- buy a USA passport(https://legitcleandocs.com)UK passport, Australia passport, German
- Falschgeld kaufen in essen WhatsApp….. +48 52 553 13 32 or KAUFEN SIE EINEN ECHTEN RE
- buy a US passport online( https://qualitydocky.com) buy UK p
- Buy eu pasport and driver's license online
Bookmarks