Jump to content

ContextErrorException Undefined index:


Recommended Posts

I am new to PrestaShop and am using version 1.7.6.2. I am also new to Smarty, Symfony and PHP in general but I am learning everyday something new.

In my `cart-summary.tpl` file when I type `{debug}` I get a PopUp (debug console) with all kinds of variables that I can use. One of these variable is $position.

When I go back into my `cart-summary.tpl` file and I try to use the variable $position, I get the following error.

ContextErrorException
Notice: Undefined index: position

Can someone tell me why this is happening?

 

 

 

Link to comment
Share on other sites

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...