Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

How to pull product option id from the database?

Started by Ollie, December 04, 2014, 12:11:59 AM

Previous topic - Next topic

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.

Assistive technologies for people with special needs:
https://assistech.com/store/

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; ?>">
Assistive technologies for people with special needs:
https://assistech.com/store/

Forum Rules Code of conduct
AbanteCart.com 2010 -