Magento xml layouts - before = "-" does not work in 1.4.2

I have some custom extensions. They are shown on the right sidebar, and I previously showed them directly under the sidebar cart, which appears at the top, since it has before = "-" in the checkout.xml file.

Starting with the upgrade to 1.4.2, my custom extensions are now displayed at the top of the sidebar. I added after = "cart_sidebar" to the layouts of the xml extensions, but they still appear above the sidebar cart independently.

Changing the order of extensions, they only move among themselves, always at the top - for example, if I add after = "-" to any of them, they simply appear after another custom extensions, but still at the top of the basket and other elements of the sidebar by default.

Any idea why?

UPDATE:

I have included “template path hints”, and for my custom sidebar blocks, red text showing the template paths appears further down the sidebar where the block should be displayed, but the actual html of the block appears on the top of the sidebar still!

alt text

+3
source share
1 answer

Before trying to figure out what is going on here, you should note the following:

  • Magento , (xmls /etc/modules/ ). , , .
  • , Mage, - . .
  • . , "" "" , . - "before =" - "" - , .

. , Magento.

,

  • - .
  • .
  • Magento CE ( )

:

  • , , ( , "cart_sidebar" ), .
  • , cart_sidebar, .
  • , CSS JS ( html-)
  • , - . . .
+1

Source: https://habr.com/ru/post/1782494/


All Articles