Jump to content

issue with undefined index


Recommended Posts

I got this error but i'm unable to solve

[Tue Nov 06 18:31:05.653478 2018] [:error] [pid 63849] [client 176.83.227.140:4845] FastCGI: server "/var/www/clients/client1/web1/cgi-bin/php-fcgi-*-443-.it" stderr: PHP message: PHP Notice:  Undefined index: orderprice in /var/www/clients/client1/web1/web/cache/smarty/compile/82/8e/1f/828e1f0d90c652fcd067fbf2f0f499cba85d5404.file.product-list.tpl.php on line 148, referer: 

i think this is the part with the problem


                                    {if ($product.orderprice > $product.price_tax_exc) || ($product.old_price > $product.price_tax_exc)}
                                        <span id="old_price_display" class="linea">
                                            {if $product.orderprice}
                                                {convertPrice price=$product.orderprice}
                                            {else}
                                                {convertPrice price=$product.old_price}
                                            {/if}
                                        </span><br>
                                    {/if}

 

Thanks

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