Jump to content

Product Options not displaying correctly.


Recommended Posts

Hi Guys,

 

Not sure if this has been overlooked or  not tested by the CC5 authors.

 

When looking at a product and the Product Options are more than 5 the display is not the best:

 

eg: http://www.fujitech.asia/index.php?_a=product&product_id=162

 

I believe the fix would be easy but being ignorant of php we do not know what we need to fix.

 

Any suggestions would be appreciated. 

 

Thank you

Link to comment
Share on other sites

In your stylesheet (common.css) try setting the min-height: 220px; to something larger (maybe 300px) until it fits OK. I think this is the issue if not then just change it back.

#product_detail {
	background-repeat: repeat-x;
	float: right;
	min-height: 220px;
	padding: 10px;
	width: 230px;
}

You also have a <table> tag in your page html, not quite sure why that is there.

Link to comment
Share on other sites

Thanks for your suggestion.

 

I was trying to set the picture and other items in a table to see if that would fix it.... it didn't.

 

Setting the CSS wil make it fixed and it will look out of place when the options decrease in number.

 

This is a bug that CC people should look at because even if it is worked out here it will be overwritten by any upgrade they do..???

Link to comment
Share on other sites

Unfortunately, there are compromises that were made in designing these skins - some having to do with the fact that, other than the overall height of the Product Description area, most everything has fixed dimensions. Therefore, for example, more than 5 or 6 option selectors in the stock Kurouto skin will overflow its boundaries.

 

If you have any design ideas on how to make this area flexible, without distorting the overall layout, we can help you get that sorted. (I saw a store with 20 selectors.)

 

We recommend that customizations be made to a copy of the source skin. Rename the folder of the skin, and make a couple of edits in the config.xml file. The new skin will not be overwritten.

Link to comment
Share on other sites

Messed about with this and can't seem to get it the way you want it. You could try this:

 

In the content.product.php file add the line

 

<div style="overflow: auto;">

 

at the very top of the code then add

 

</div>

 

 

Above the line

 

<h2>{$LANG.catalogue.product_info}</h2>

Link to comment
Share on other sites

In Kurouto, there is this:

{if isset($PRODUCT) && $PRODUCT}
<h2>{$PRODUCT.name}</h2>
<form action="{$VAL_SELF}" method="post" class="addForm">
  <div>
    <div id="product_detail">

Change the <div> to <div style="overflow:hidden;">. That does it for me. Product Information will follow immediately below, no matter how tall the option selectors become.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...