Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to cart always redirect to home page #1544

Open
mflasquin opened this issue Nov 20, 2019 · 0 comments
Open

Add to cart always redirect to home page #1544

mflasquin opened this issue Nov 20, 2019 · 0 comments

Comments

@mflasquin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant