Hey all. PHP is on the list of things I need to become more familiar with. Unfortunately I’ve not had time, but I don’t have the need to write it to much.
I am using Joomla, Virtuemart and K2 Mart… My product options are all displaying in one table row. I need to be able to make it jump to a second row after 2 or 3 columns.
Here is the page example, you can see the little individual quantity areas and the exterior color option. I’d really appreciate any help you can all give me, especially if the code is easy so I can change the number of columns before creating a new row if I need to.
[php]
<?php if($this->params->get('listingCartProductFields') && !empty($product->customFieldsCart)): ?>
<?php echo JText::_($field->custom_title); ?> <?php if ($field->custom_tip): ?> <?php echo JText::_($field->custom_tip);?> <?php endif; ?> <?php echo $field->display; ?> <?php echo $field->custom_field_desc; ?> |
<?php endif;?>[/php]