Forums / Templates, Stylesheets, Page Layout / How To Move Attributes On Product Info Page.....Just Cant Get It

How To Move Attributes On Product Info Page.....Just Cant Get It

Locked

Views: 3,049

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
15 May 2006, 10:16 PM
#1
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

How To Move Attributes On Product Info Page.....Just Cant Get It

hi everyone, I'm having a problem. my site is just about done. i posted this question on the old zen site and saved the thread but since the move that post was lost and i cannot remember what the solution was, and i did a search but the solutions didn't work for me.

i need to move the attributes above the shopping cart box on the main product page.
have a look here to see what i mean

http://enchantedlingerie.com/index.php?main_page=product_info&cPath=5&products_id=963

Warning:Adult Lingerie Site

right now the attributes are on the left under the picture i want them to the right abouv the add to cart box.

so i figure i had to work with tpl_product_info_display as this is the file that controls the layout. so i moved the

<!--bof Attributes Module --> <!--eof Attributes Module -->

right above the

<!--bof Add to Cart Box -->

i figured this would do it

but it didn't move it at all, i moved it all over the page and it would only move above the product description

this thread confirmed that is where it was supposed to be moved

http://www.zen-cart.com/forum/showthread.php?t=33909&highlight=move+attributes

is there something else that needs to be modified?
if anyone has any input i would so appreciate this.
this is driving me nuts.

thanks in advance for the help, its very much appreciated.

17 May 2006, 6:20 AM
#2
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

Re: How To Move Attributes On Product Info Page.....Just Cant Get It

OK i finally got this, i had to re upload the tpl_product_info_display file because i could not move anything in the one i had. i must have done something to the file that i wasn't supposed to, but its all good now and everything is moved. but i have one little problem, I'm sure the answer is simple I'm just not sure what it is

how can i put a break between the attributes
have a look here

http://enchantedlingerie.com/index.php?main_page=product_info&cPath=4&products_id=839

the size and colors run into each other i want the color to be right under the size option.

thanks in advance
i appreciate all the help i have been given here

18 May 2006, 11:33 AM
#3
davale avatar

davale

Zen Follower

Join Date:
Apr 2006
Posts:
117
Plugin Contributions:
0

Re: How To Move Attributes On Product Info Page.....Just Cant Get It

enchantedone, would you mind sharing how you got the attributes at the right side of the image? I moved the attributes code above the cart code as stated in the earlier post but same thing here; attributes still show up below the image on the left side. Tried to find the answer in your source code but I didn't find it.

18 May 2006, 3:13 PM
#4
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

Re: How To Move Attributes On Product Info Page.....Just Cant Get It

davale

sure in tpl_product_info_display.php you just have to move the

<!--bof Attributes Module -->

everthing in between

<!--eof Attributes Module -->

before the

<!--bof Add to Cart Box -->

for some reason when i moved things they just didn't move so i re uploaded the tpl_product_info_display.php from the zencart package and it worked. i think when i was trying to move things around i messed something up in the file.

so if you cant get things to move try re uploading that file.

that's how i did it, it was really easy just a matter of re uploading the file.

i hope this helps

20 May 2006, 12:26 PM
#5
davale avatar

davale

Zen Follower

Join Date:
Apr 2006
Posts:
117
Plugin Contributions:
0

Re: How To Move Attributes On Product Info Page.....Just Cant Get It

As always the solution is proves to be very obvious. There was a linebreak defined after the product description block (<br class="clearBoth" />). Removing this will moved the attributes module up and to the right of the product image.

20 May 2006, 8:48 PM
#6
enchantedone avatar

enchantedone

Zen Follower

Join Date:
Nov 2005
Posts:
119
Plugin Contributions:
0

Re: How To Move Attributes On Product Info Page.....Just Cant Get It

alright i also figured out how to get the break between the attributes. i will post it in case anyone else has the same problem. my attributes were running together without any breaks to fix this i did the following

in tpl_module_attributes.php i put three breaks, the code is below.

worked perfect for me, i don't know if this is how you are supposed to do it, but after hours of playing with the file this is how i did it.

<?php
  }
?>

<div class="wrapperAttribsOptions">
<h4 class="optionName back"><?php echo $options_name[$i]; ?></h4>
<div class="back"><?php echo "\n" . $options_menu[$i]; ?></div>

</div>




<br><br><br>





<?php if ($options_comment[$i] != '' and $options_comment_position[$i] == '1') { ?>
    <div class="ProductInfoComments"><?php echo $options_comment[$i]; ?></div>
<?php } ?>