Post by sunsys » Wed Apr 29, 2015 7:41 pm

Hello, I wanted to know that on product page, what is this part/column of the product page called and how do I set the order of elements ?.
The image explains how I want to set it, anybody please help. Thank you for your time.

Regards,
Sun Systems
Industrial Electronics and Instrumentation


User avatar
Active Member

Posts

Joined
Tue Jan 27, 2015 5:19 am

Post by IP_CAM » Wed Apr 29, 2015 11:32 pm

In:
\shop\catalog\view\theme\default\template\product\product.tpl
change this:

Code: Select all

<div class="right">
      <div class="description">
        <?php if ($manufacturer) { ?>
        <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br />
        <?php } ?>
        <span><?php echo $text_model; ?></span> <?php echo $model; ?><br />
        <?php if ($reward) { ?>
        <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br />
        <?php } ?>
        <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div>
to this:

Code: Select all

<div class="right">
      <div class="description">
         <span><?php echo $text_model; ?></span> <?php echo $model; ?><br />
       <?php if ($manufacturer) { ?>
        <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br />
        <?php } ?>
        <?php if ($reward) { ?>
        <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br />
        <?php } ?>
        <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div>
Good Luck
Ernie
bigmax.ch/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by sunsys » Thu Apr 30, 2015 1:59 am

Code: Select all

<div class="right">
      <div class="description">
         <span><?php echo $text_model; ?></span> <?php echo $model; ?><br />
       <?php if ($manufacturer) { ?>
        <span><?php echo $text_manufacturer; ?></span> <a href="<?php echo $manufacturers; ?>"><?php echo $manufacturer; ?></a><br />
        <?php } ?>
        <?php if ($reward) { ?>
        <span><?php echo $text_reward; ?></span> <?php echo $reward; ?><br />
        <?php } ?>
        <span><?php echo $text_stock; ?></span> <?php echo $stock; ?></div>
This worked brilliantly Ernie, thank you for your time. Sent you a small request via PM, please if you have time just have a look at it.

Regards,
Sun Systems
Industrial Electronics and Instrumentation


User avatar
Active Member

Posts

Joined
Tue Jan 27, 2015 5:19 am

Post by IP_CAM » Fri May 01, 2015 12:47 am

I will, but don't make it a habit! ;)
I don't plan to get involved, anywhere, I'm on Pension! Mostly, anyway! ;D
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by sunsys » Fri May 01, 2015 12:55 am

That's good, then I can join you, Ernie.....hic, cheers.

Regards,
Sun Systems
Industrial Electronics and Instrumentation


User avatar
Active Member

Posts

Joined
Tue Jan 27, 2015 5:19 am
Who is online

Users browsing this forum: No registered users and 5 guests