AbanteCart Development > Development Help Needed
How to pull product option id from the database?
(1/1)
Ollie:
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.
Ollie:
I found the answer to my own question:
<?php echo '[' . $option['product_option_id'] .']'; ?>"> must be replaced with <?php echo $option['html']->element_id; ?>">
Navigation
[0] Message Index
Go to full version