Skip to content

Add to cart always redirect to home page #1544

@mflasquin

Description

@mflasquin

Hi,
I need to set product informations cached with esi block, so I've defined this configuration :

`
<catalog_product_view>

    <reference name="product.info">
        <action method="setEsiOptions">
            <params>
                <access>private</access>
                <registry_keys>
                    <current_product/>
                    <current_category/>
                    <product/>
                </registry_keys>
                <flush_events>
                    <wishlist_item_save_after/>
                    <wishlist_item_delete_after/>
                    <sales_quote_save_after/>
                    <controller_action_layout_render_before_catalogsearch_result_index />
                    <persistent_session_expired/>
                </flush_events>
            </params>
        </action>
    </reference>
</catalog_product_view>

`

When I click on "Add to cart" the product is added to cart but I'm redirect to home page.
The issue is because of uenc key send to the post request.

Do you have also this issue ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions