X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Moving Product Info Boxes (https://forum.x-cart.com/showthread.php?t=27313)

thentavius 12-12-2006 07:34 PM

Moving Product Info Boxes
 
Is there any way to move around the individual product info boxes that appear on a product page? I would specifically like to move the "Detailed Images" box up beneath the main product description box, pushing the "send to a friend" box down below it.

Is there any way to do this?

Thank you so much for your help.

balinor 12-13-2006 03:08 AM

Re: Moving Product Info Boxes
 
Yes, you just open up customer/main/product.tpl and move things around. You'll need to know a bit of html to understand the table layout. Each 'module' is a line of code, so if you wanted to switch detailed images and send to friend, replace this:

{include file="customer/main/send_to_friend.tpl" }
{if $active_modules.Detailed_Product_Images ne ""}
<P>
{include file="modules/Detailed_Product_Images/product_images.tpl" }
{/if}

with this:

{if $active_modules.Detailed_Product_Images ne ""}
<P>
{include file="modules/Detailed_Product_Images/product_images.tpl" }
{/if}
{include file="customer/main/send_to_friend.tpl" }

Moving to Template Editing.

thentavius 12-20-2006 05:20 PM

Re: Moving Product Info Boxes
 
Thank you very much for your help!


All times are GMT -8. The time now is 02:03 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.