Jump to content

ContextErrorException Undefined index:

Recommended Posts

I am new to PrestaShop and am using version 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.

Notice: Undefined index: position

Can someone tell me why this is happening?




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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