yireo-magento1 / Yireo_GoogleTagManager

Implement Google Tag Manager in Magento 1 (deprecated)
Open Software License 3.0
56 stars 46 forks source link

Sort order when changed with XML layout update #50

Closed judaschwartz closed 7 years ago

judaschwartz commented 7 years ago

The sort order on page load does not reflect the xml updates i have added on page load (when i use the toolbar to set the sort order it works)

    <reference name="search_result_list">
        <action method="setDefaultDirection"><dir>desc</dir></action>
        <action method="setDefaultOrder"><string>arrival_date</string></action>
    </reference>
    <reference name="product_list_toolbar">
        <action method="setDefaultDirection"><dir>desc</dir></action>
        <action method="setDefaultOrder"><string>arrival_date</string></action>
    </reference>
jissereitsma commented 7 years ago

Isn't this a duplicate of the other issues already discussing problems with sort orders?