AbanteCart Community
AbanteCart Development => Development Help Needed => Topic started by: Ollie on December 04, 2014, 12:11:59 AM
-
I need to pull product option id from the database but no matter what I try, nothing seems to work. This was my latest attempt:
<label class="control-label" tabindex="0" for="option<?php echo '[' . $option['product_option_id'] .']'; ?>">
Attached is a screenshot showing the database table I'm referring to. Any help will be greatly appreciated.
-
I found the answer to my own question:
<?php echo '[' . $option['product_option_id'] .']'; ?>"> must be replaced with <?php echo $option['html']->element_id; ?>">