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)
-   -   Product Page Template Editing (https://forum.x-cart.com/showthread.php?t=22060)

Richxcart 05-25-2006 11:13 AM

Product Page Template Editing
 
Hey

Thanks in advance for any help given.

I am attempting to move the product description that shows on the detailed page view underneath the image, and move the price, quantity, and ordering stuff in place of the description. This way the price and that block of information is to the right of the image, and the description is down below all that. The reason being, if there is a large chunk of text, you have to scroll down a lot. I opened up the product.tpl file and moved it, but then I get some smarty class error. Any help would be great!

Thanks

Weston

balinor 05-25-2006 11:18 AM

I'll need to know the exact version you are using...can you update your signature to reflect this? You can find your exact version on the Summary page of your X-Cart admin area.

firelight 05-25-2006 11:21 AM

I'm using dreamweaver to modify all my *.tpl files. Because I'm not a programmer, dreamweaver gives me some visual feedback in terms of changin stuff around in tables.

Richxcart 05-25-2006 11:32 AM

Details moving
 
Quote:

Originally Posted by balinor
I'll need to know the exact version you are using...can you update your signature to reflect this? You can find your exact version on the Summary page of your X-Cart admin area.


Sorry, I thought it was. That would be X-Cart Pro v4.1.1.

I have plenty of knowledge with programming, and web design, so don't worry with anything you say, it probably will not scare me. I use Dreamweaver 8 and I don't see why it doesn't work.

Anyways, thanks again for your help so far:).

balinor 05-25-2006 11:33 AM

Please update your signature to reflect the correct version: Edit profile, enter version, enter help desk password, click the 'Always attach my signature:' box, save.

In order to use Dreamweaver to view Smarty, you need a plug-in:

http://smartydwt.klitsche.org/

Richxcart 05-25-2006 11:46 AM

Quote:

Originally Posted by balinor
Please update your signature to reflect the correct version: Edit profile, enter version, enter help desk password, click the 'Always attach my signature:' box, save.

In order to use Dreamweaver to view Smarty, you need a plug-in:

http://smartydwt.klitsche.org/


Ok, but why do you need that? I made the changes, but when I actually go out to view it it shows me that error?

balinor 05-25-2006 11:51 AM

We need the version because there are over 40 versions of X-Cart, and each one of them is different.

The templates contain Smarty tags...if you move things without taking them into consideration, you break the crucial {if} statements...which will give you an error.

Richxcart 05-25-2006 11:53 AM

Ok, I gave you the version like four posts ago in the body of the message. Pro v. 4.1.1. I also updated my signature.

Thanks

balinor 05-25-2006 11:54 AM

I know, but I'm asking you to update your signature...which you have not done yet (it still reads 4.0)

firelight 05-25-2006 12:10 PM

All I have to do to make the full description appear on the bottom is place:
Quote:

{if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{ /if}
right before
Quote:

{/capture}
aproximately line 160 in customer/main/product.tpl
Just tried it out myself at temp site http://www.firelight.ca/xcart/product.php?productid=49&cat=14&page=1


All times are GMT -8. The time now is 06:36 PM.

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