Hi,
I am on Open Cart Version Version 1.5.1.3
When using points (setup up under Reward Points and under options)
When i put something in the shopping cart i get this message under the item (does this for all of the items):
Notice: Undefined index: points in /home2/offthec2/public_html/thebottlecapshop/catalog/view/theme/default/template/checkout/cart.tpl on line 53
When i go look at line 53 at that path, this is what it is:
<?php if ($product['points']) { ?>
Any ideas on what is going on or more than likely what i am doing wrong?
Any help would be greatly appreciated!
Thanks, Matt
replace:
with:
Code: Select all
<?php if ($product['points']) { ?>
Code: Select all
<?php if (isset($product['points'])) { ?>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
<?php if (isset($product['points'])) ?> i have the error in this code can any help me. Also i need the explanation for the code i want to use.
Just make the replacement on the above and this error should no longer be shown after submitting the form.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 65 guests