Jump to content

Moving Product Options to top


Brian T

Recommended Posts

Hi,

I've added some product options (Media Options I've called it) to my products, and this appears at the bottom of the screen, for example on this page:

http://mentalstarters.co.uk/index.php?_a=product&product_id=4

 

I can't remember where I have to go to move this to the top of the screen.

 

Help please :)

 

Thanks

Edited by Brian T
added info
Link to comment
Share on other sites

What I would like for you to look at is in the Mican skin template file content.product.php, near lines 3-6:

<form action="{$VAL_SELF}" method="post" class="addForm">
  <div>  <!-- THIS IS MISSING FROM YOUR HTML -->
  	<div id="gallery">
	  <div class="image">

 

Then, look for the group of statements:

Starting with:
	  {if is_array($OPTIONS)}
	  <div class="options">
		{foreach from=$OPTIONS item=option}
		  {if $option.type == '0'}


and about 22 lines later, ending with:
		  {/if}
		{/foreach}
	  </div>
	  {/if}

Move that group to just below:

<form action="http://mentalstarters.co.uk/index.php?_a=product&product_id=4" method="post" class="addForm">
<div>

 

Link to comment
Share on other sites

Many thanks - I've been able to do that, which is excellent, and I think will make it easier for people to buy.

 

I'm just trying to find now where I can alter the font size for price of the item, and how to move the words "Product Description" to the left of the box.

 

(I just don't alter things often enough to remember).

 

Cheers,

 

Brian

Link to comment
Share on other sites

There is this in the common.css file:

#product_detail p.price {
    border-bottom: 1px dotted #c8c8c8;
    font-size: 16px;
    padding-bottom: 10px;
    padding-top: 10px;
}

Which is that the price will show big if it's inside the <div id="product_detail"> block.

But you have moved the price outside this block.

The phrase "Product Description" is abutting against the right lower edge of the gallery block. Probably because you no longer have the gallery block inside the product_detail block.

Allow to make the suggestion that you restore to a stock Mican content.product.php template, and work out any changes you need from square one.

We will be happy to help.

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...