Prestashop 1.7 cart error

#1
Hello,

My Prestashop 1.7x, litespeed version is v1.3.0. but unexpectedly I'm receiving shopping cart error.

Screenshot of the error: https://prnt.sc/u0uq48

When I cleaned the Litespeed cache, the error fixes itself and then when I add some products on the Shopping Cart error repeats itself.

Could you please help ?

Thanks in advance.

Best Regards.
 
#2
Problem solved,

File path: /public_html/themes/yourtheme/templates/_partials/header.tpl

Find here:
Code:
{widget name="ps_shoppingcart"}
Replace with this:
Code:
{hook h="litespeedEsiBegin" m="ps_shoppingcart" field="widget_block" tpl="module:ps_shoppingcart/ps_shoppingcart-default.tpl"}    {widget_block name="ps_shoppingcart"}    {include 'module:ps_shoppingcart/ps_shoppingcart-default.tpl'} {/widget_block}    {hook h="litespeedEsiEnd"}
 

winkybil

Active Member
#3
This error is thrown from js file present in root/js/admin/order.js
Looks like there is an error in prestashop. Enable the debug mode
 
Last edited:
Top