I am changing this inquiry to How to Group the Option Name with the Select or Dropdown Option. We have too many options for some of our products that make the page get too long. I created a Center Column in addition to the Right and Left that are built into the Product.TPL file. I have two columns designated in the Stylesheet and when the options populate the overflow carries over but it always splits the Name away from the Dropdown. I've tried messing with the Margins, Padding and Min/Max Heights. I don't know if I have to rearrange or add something to the Options portion of the tpl file or what. It's driving me nuts. Any help would be greatly appreciated!!
I'm using:
OC: v1.5.5.1
Theme: Polianna from ThemeForest
Link: http://cheergearusa.com/index.php?route ... duct_id=71
Any Brilliant minds out there have a solution? This is the last thing we need to do and we can launch our site!!!
Thanks for your help!!
JJ
This is the modification of the TPL file. I know enough about code to get myself into these situations.
JJ
Code: Select all
<!------------------------------Center-------------------------------------------->
<div class="center">
<?php if ($options) { ?>
<h2><?php echo $text_option; ?></h2>
<?php foreach ($options as $option) { ?>
<?php if ($option['type'] == 'select') { ?>
<div id="option-<?php echo $option['product_option_id']; ?>" class="option">
<div id="opname"><?php if ($option['required']) { ?>
<span class="required">*</span>
<?php } ?>
<?php echo $option['name']; ?>:</div>
<select name="option[<?php echo $option['product_option_id']; ?>]">
<option value=""><?php echo $text_select; ?></option>
<?php foreach ($option['option_value'] as $option_value) { ?>
<option value="<?php echo $option_value['product_option_value_id']; ?>"><?php echo $option_value['name']; ?>
<?php if ($option_value['price']) { ?>
(<?php echo $option_value['price_prefix']; ?><?php echo $option_value['price']; ?>)
<?php } ?>
</option>
<?php } ?>
</select>
</div>
<br />
<?php } ?>
Last edited by embroidink on Sun Feb 09, 2014 1:26 am, edited 1 time in total.
Cleaning up the post and can't find the Delete button.
Last edited by embroidink on Sun Feb 09, 2014 1:28 am, edited 2 times in total.
Re-directed the focus of this post for a simpler (maybe) solution. Hoping for some guidance so we can launch the site.
Thanks,
JJ
Thanks,
JJ
Who is online
Users browsing this forum: No registered users and 15 guests