Welcome Guest, Not a member yet? Register   Sign In
Cart Library - possible problems
#13

[eluser]TWP Marketing[/eluser]
It's a minor point but the code for a typical view file, as shown in the User Guide cart.html (Subversion download), has two uses of the colon (Smile which causes the php code to trigger an error notice.

Lines 23 and 26 of the example code have this problem.
Code:
23 <?php if ($this->cart->has_options($items['rowid']) == TRUE): ?>

26 <?php foreach ($this->cart->product_options($items['rowid']) as $option_name => $option_value): ?>

fyi


Messages In This Thread
Cart Library - possible problems - by El Forum - 02-24-2009, 09:11 AM
Cart Library - possible problems - by El Forum - 02-24-2009, 10:14 AM
Cart Library - possible problems - by El Forum - 02-24-2009, 10:40 AM
Cart Library - possible problems - by El Forum - 02-24-2009, 02:43 PM
Cart Library - possible problems - by El Forum - 02-24-2009, 04:32 PM
Cart Library - possible problems - by El Forum - 02-25-2009, 02:36 AM
Cart Library - possible problems - by El Forum - 02-25-2009, 03:26 AM
Cart Library - possible problems - by El Forum - 02-25-2009, 03:40 AM
Cart Library - possible problems - by El Forum - 02-25-2009, 04:21 AM
Cart Library - possible problems - by El Forum - 02-25-2009, 04:25 AM
Cart Library - possible problems - by El Forum - 02-25-2009, 07:35 AM
Cart Library - possible problems - by El Forum - 02-25-2009, 09:16 AM
Cart Library - possible problems - by El Forum - 04-06-2009, 01:15 PM
Cart Library - possible problems - by El Forum - 04-20-2009, 04:40 PM
Cart Library - possible problems - by El Forum - 04-21-2009, 11:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB