Does anyone know how to move the "Description" box which is below the product image, to be next to the product image instead?
Something like this: http://www.net-a-porter.com/product/312969
In catalog-->view-->theme--Yourtheme-->template-->product
find and sellect this code
Code: Select all
div id="tabs" class="htabs"><a href="#tab-description"><?php echo $tab_description; ?></a>
.........
......
<div class="buttons">
<div class="right"><a id="button-review" class="button"><?php echo $button_continue; ?></a></div>
</div>
</div>
<?php } ?>
After
Code: Select all
<div class="discount">
<?php foreach ($discounts as $discount) { ?>
<?php echo sprintf($text_discount, $discount['quantity'], $discount['price']); ?><br />
<?php } ?>
</div>
<?php } ?>
</div>
<?php } ?>
Code: Select all
<?php if ($options) { ?>
<div class="options">
<h2><?php echo $text_option; ?></h2>
<br />
<?php foreach ($options as $option) { ?>
anyway to have such (similar) layout as per below screenshot?
the main "product info" would be in one of the tab as well.
this would really save some space.
appreciate your assistance.
thank you
Jave

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Code: Select all
<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>
Code: Select all
<div id="tab-description" class="tab-content"><?php echo $description; ?></div>
Code: Select all
<div id="tab-description" class="tab-content">
<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><br />
<span><?php echo $description; ?></span></div>
i have this following error:
Code: Select all
Parse error: syntax error, unexpected $end in /home/myfather/public_html/vqmod/vqcache/vq2-catalog_view_theme_default_template_product_product.tpl on line 541
please advice.
many thanks.
kind regards,
Jave
I've followed the above instructions and got it to work, but the 'Add to Cart' button is right at the bottom of the page and below the fold as all of my product descriptions have to be quite long, where would I place the description to get it just below the Add to Cart button? I've tried in lots of different places but can't seem to find the right one.
Thanks!
attach your product.tpl, may i can help you.mrjave wrote:good day Anung,
i have this following error:any idea on how to fix as i went into there and find nothing 'fishy'.Code: Select all
Parse error: syntax error, unexpected $end in /home/myfather/public_html/vqmod/vqcache/vq2-catalog_view_theme_default_template_product_product.tpl on line 541
please advice.
many thanks.
kind regards,
Jave
Moves the description next to images.
Check out Product Promotion Plus in the extension store:
http://www.opencart.com/index.php?route ... on_id=6013
As well as the more advanced, multi language version of Profitable Product Pages in my signature below.
~
Install Extensions OR OpenCart Fast Service! PayPal Accepted
I will professionally install and configure any free or purchased theme, module or extension.
Visit http://www.mrtech.ca if you need an OpenCart webmaster
~
Hi Anung,anung wrote:attach your product.tpl, may i can help you.mrjave wrote:good day Anung,
i have this following error:any idea on how to fix as i went into there and find nothing 'fishy'.Code: Select all
Parse error: syntax error, unexpected $end in /home/myfather/public_html/vqmod/vqcache/vq2-catalog_view_theme_default_template_product_product.tpl on line 541
please advice.
many thanks.
kind regards,
Jave
thank you for assisting me.
please find attached my poroduct.tpl as requested.
is it possible to dump every single info into the tab (pricing, options, etc) except for the social tool bar perhaps?
i look forward to your reply.
many thanks!
kind regards,
Jave
Attachments
much appreciated such good contribution from the community.
one last thing, anyway to make it work with this Vqmod (additional tabs) as it seems like it cant work with your revised product.tpl.

many thanks!!
Jave
LOVE your Product Promotion Plus - Product Page - extension . . . NICE WORK !!!MrTech wrote:In case you want a pre-made solution, I have two products that do just what you ask:
Moves the description next to images.
Check out Product Promotion Plus in the extension store:
http://www.opencart.com/index.php?route ... on_id=6013
As well as the more advanced, multi language version of Profitable Product Pages in my signature below.

~
Install Extensions OR OpenCart Fast Service! PayPal Accepted
I will professionally install and configure any free or purchased theme, module or extension.
Visit http://www.mrtech.ca if you need an OpenCart webmaster
~
I noticed this too. Just look for this code near the bottom:sadie901 wrote:Hi all,
I've followed the above instructions and got it to work, but the 'Add to Cart' button is right at the bottom of the page and below the fold as all of my product descriptions have to be quite long, where would I place the description to get it just below the Add to Cart button? I've tried in lots of different places but can't seem to find the right one.
Thanks!
Code: Select all
<div class="cart">
<div><?php echo $text_qty; ?>
<input type="text" name="quantity" size="2" value="<?php echo $minimum; ?>" />
<input type="hidden" name="product_id" size="2" value="<?php echo $product_id; ?>" />
<input type="button" value="<?php echo $button_cart; ?>" id="button-cart" class="button" />
</div>
<div><span> <?php echo $text_or; ?> </span></div>
<div><a onclick="addToWishList('<?php echo $product_id; ?>');"><?php echo $button_wishlist; ?></a><br />
<a onclick="addToCompare('<?php echo $product_id; ?>');"><?php echo $button_compare; ?></a></div>
<?php if ($minimum > 1) { ?>
<div class="minimum"><?php echo $text_minimum; ?></div>
<?php } ?>
</div>
Code: Select all
<div id="tabs" class="htabs"><a href="#tab-description"><?php echo $tab_description; ?></a>
Here is a link to product in the store:
http://estatepipes.co.uk/ocart/James-Up ... e-Freehand
I would appreciate if anyone could make changes to this .tpl file to do the following:
1. Move Price, Quantity and Add To Cart button above the Description just under "Availability".
2. I had a vqmod which was disabling the "Compare" link which is now showing again in the new template. Is it possible to remove the "Compare" link and just leave the "Add to Wishlist".
3. Move the Specifications to display under the pictures the full width of the window as it would have before just above the tabs? (I am using a vqmod to explode the tabs to display under each other rather than tabbed)
Any help would be greatly appreciated as I feel the current layout of the product page could cost sales. Many thanks

Attachments
Users browsing this forum: No registered users and 7 guests