Add to cart always redirect to home page
mflasquin opened this issue · 0 comments
mflasquin commented
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