01-08-2010, 07:21 PM
[eluser]Moddi[/eluser]
Hi.
I already posted about this earlier but didnt really get the problem solved so im going to try again.
What u can do on my site is to buy tires, so i got a cart already but its not working correctly.
I forgot to add the cargo price so when i try to do that now im getting "Undefined variable"
2 files. 1 controller cart.php and 1 View cart.php
The cart can be found here: www.dack4.se/cart
You see the "Varukorg" thingy to ur upper right? what i want is to change so "totalt:" includes the correct values. And i succeded on doing that but here is where the real problem is. Now when i enter another url except www.dack4.se/cart i get the "undefined variable" error. But on the /cart site its working correctly without any further problem. If u go to www.dack4.se/cart you can actually see that its working by reading the red coloured text saying "Totalsumma:", thats the price i want to be placed in "varukorg" field
Now i dont really know what to do. I got the same problem when im trying to add a picture on the footer file, where it says "Skapad av Levan Media", when i add something there its just showing as white empty box on most pages.
Please any replies would be appreciated.
Hi.
I already posted about this earlier but didnt really get the problem solved so im going to try again.
What u can do on my site is to buy tires, so i got a cart already but its not working correctly.
I forgot to add the cargo price so when i try to do that now im getting "Undefined variable"
2 files. 1 controller cart.php and 1 View cart.php
The cart can be found here: www.dack4.se/cart
You see the "Varukorg" thingy to ur upper right? what i want is to change so "totalt:" includes the correct values. And i succeded on doing that but here is where the real problem is. Now when i enter another url except www.dack4.se/cart i get the "undefined variable" error. But on the /cart site its working correctly without any further problem. If u go to www.dack4.se/cart you can actually see that its working by reading the red coloured text saying "Totalsumma:", thats the price i want to be placed in "varukorg" field
Now i dont really know what to do. I got the same problem when im trying to add a picture on the footer file, where it says "Skapad av Levan Media", when i add something there its just showing as white empty box on most pages.
Please any replies would be appreciated.