caciobanu / improved-magento-layered-navigation

This project has reached its end-of-life (EOL).
MIT License
138 stars 54 forks source link

Lesti-FPC support? #75

Closed 7schlaefer closed 8 years ago

7schlaefer commented 8 years ago

How can catalina_seo + ajax work with Lesti-FPC?

caciobanu commented 8 years ago

What are the problems you're having ?

7schlaefer commented 8 years ago

Filter Layer get cached. When i use a filter i can't deletet it or switch to another. When i reload the page and check another filter, old one will be use.

seansan commented 8 years ago

dont you set these params in the lesti backend? (learn lesti what the layered params are)

On Thu, Jun 9, 2016 at 2:21 PM, 7schlaefer notifications@github.com wrote:

Filter Layer get cached. When i use a filter i can't deletet it or switch to another.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/caciobanu/improved-magento-layered-navigation/issues/75#issuecomment-224878411, or mute the thread https://github.com/notifications/unsubscribe/AAn0ayqajbfeQ7mCbiVQl7sFA5bqSQ65ks5qKAVUgaJpZM4IxMKY .

7schlaefer commented 8 years ago

checked this option in lesti: "Add Layered Navigation Attributes To Uri Params". Worked with standard mangeto layer. i figured out that i have to add them manually because "improved-magento-layered-navigation" change the labels of attributes.

for example:

For Attribute "Color" i have to add ger: "farbe", eng "colour", pol "kolor"

How can i change that "catalin_seo" takes always the same attribute code?

EDIT:

Now it works with Lesti:

    public function getUrlKey($attributeCode, $storeId = null)
    {
        foreach ($this->getAttributeData($storeId, $attributeCode, 'attribute_code') as $result) {
            if ($result['attribute_code'] == $attributeCode) {
                return $result['attribute_code'];
            }
        }

        return $attributeCode;
    }