Jump to content

An error occurred while processing your request

Declan Savage

Recommended Posts


I have a problem with Prestashop 1.7.5. I added products and combinations to DatingFoo , a fresh store - colours and sizes. Everything worked until it stopped now when I want to change the colour on the front I have an error: An error occurred while processing your request.

Can anyone meet and know how to solve it?

Share this post

Link to post
Share on other sites

  • 2 months later...

I have a similar problem...

I use Prestashop 1.7.5. I have a product with combinations and many related products. When I select another combinations the website show me "An error occurred while processing your request"

I noticed that the error occurs only when the product has related products.
When there are not related products everything works fine.

Can anyone help me?



Share this post

Link to post
Share on other sites

I found a solution.

Go to themes\YOURTHEMENAME\templates\catalog\_partials\miniatures\product.tpl 

line 52 you will find <div class="product-actions">

comment the <form> below like this:

 <div class="product-actions">
                      <form action="{$urls.pages.cart}" method="post" class="add-to-cart-or-refresh">
                        <input type="hidden" name="token" value="{$static_token}">
                        <input type="hidden" name="id_product" value="{$product.id}" class="product_page_product_id">
                        <input type="hidden" name="id_customization" value="0" class="product_customization_id">
                        <button class="btn btn-primary add-to-cart" data-button-action="add-to-cart" type="submit" {if $product.availability == 'unavailable'}disabled{/if}data-toggle="tooltip" title="Add to cart">
                            {l s='' d='Shop.Theme.Actions'}
                            <i class="material-icons">&#xE8CC;</i>

Now everithing works.

Edited by Pekkhyu (see edit history)

Share this post

Link to post
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More