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)
-   -   How to switch the Product Description down (https://forum.x-cart.com/showthread.php?t=47444)

typeav 05-08-2009 06:11 AM

How to switch the Product Description down
 
Hello to everybody and thanks for helping me out,

This is for X-CART 4.2.0

Right now by default I have the PHOTO on the left side, the description on the right side and down the description the information about the sku, price, add to cart, qty, etc

What I would like is to move the description down and move up the sku, price, add to cart, qty, etc


Here is the example:


This information up, next to the photo

SKU
PHI_378
Quantity in stock
10 item(s) available
Weight
0.50 lbs


Price:$260.00(─226.20)

Quantity
Price
*Note:

Quantity
12345678910




This information down

Optoma HD70 Projector Compatible, 1000 ANSI Lumens, 200W Watts, 2000-3000 Hours Lamp Life. This Optoma Technology BLFP200C projector lamp is a replacement lamp for the Optoma Technology HD70 projector.

Compatibility: Optoma HD70 Projector
Brightness: 1000 ANSI Lumens
Wattage: 200W
Lamp Life: 2000-3000 Hours
Item #: BL-FP200C
Fits: HD70
UPC: 796435 21 741 9

balinor 05-08-2009 06:13 AM

Re: How to switch the Product Description down
 
Moving to Template Editing

cflsystems 05-08-2009 08:31 AM

Re: How to switch the Product Description down
 
Open skin1/customer/main/product.tpl, find this - <div>{$product.fulldescr|default:$product.descr} </div> - and move it to where you want it to show

typeav 05-08-2009 12:49 PM

Re: How to switch the Product Description down
 
Ok it works, but now I have to move up the buy, add to cart, price, sku, etc.....Where should I place it on the list, can somebody reply with the exactly code modification?

typeav 05-11-2009 08:03 AM

Re: How to switch the Product Description down
 
help, anybody?

cflsystems 05-11-2009 09:38 AM

Re: How to switch the Product Description down
 
Not easy for anybody to tell you exact code without looking at your files. If you don't know your way around tpl, html, css, smarty..... and x-cart structure you should hire someone to do it for you. Or just play with it and see what happens. Just be careful - product.tpl can very easily "break" when you move code around

typeav 05-11-2009 02:27 PM

Re: How to switch the Product Description down
 
I cant paste the original codes here because they to long but what I'm looking for is exactly how the products are in the site that you are advertising, http://www.cflsystems.com ........ My products.tpl file looks the same as yours because we using same xcart version........ See, you have the details and the options next to the products and down the description.

I know html but xcart is more complicate than that because the scripts etc.

cflsystems 05-11-2009 02:48 PM

Re: How to switch the Product Description down
 
The file is product.tpl not products.tpl
Also your cart version is 4.1.9, main 4.2.1
You just have to move the code around - you can use Webmaster to find out which templates or Firebug in FF
You will be looking for something like this in your product.tpl code
Code:

        <table cellspacing="0" class="product-properties">
          <tr>
            <td colspan="2" class="product-subtitle">
              <div>{$lng.lbl_details}</div>
            </td>
          </tr>
          <tr>
            <td class="property-name">{$lng.lbl_sku}</td>
..................................
.................................
                    {$lng.txt_product_downloadable}
                  {/if}
                {/if}
              </td>
            </tr>
          {/if}
        </table>


typeav 05-12-2009 07:13 AM

Re: How to switch the Product Description down
 
I know sir it is product.tpl you mention that before I also have the 4.2.0 with another site, just dont look at my signature. I will send you an email!!! Thanks

typeav 05-12-2009 07:18 AM

Re: How to switch the Product Description down
 
I request a quote, thanks!!!


All times are GMT -8. The time now is 05:43 PM.

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