Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Page Template Editing

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-25-2006, 11:13 AM
 
Richxcart Richxcart is offline
 

Newbie
  
Join Date: May 2006
Posts: 7
 

Default 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
__________________
X-Cart Pro v4.1.1
Reply With Quote
  #2  
Old 05-25-2006, 11:18 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-25-2006, 11:21 AM
 
firelight firelight is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 43
 

Default

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.
Reply With Quote
  #4  
Old 05-25-2006, 11:32 AM
 
Richxcart Richxcart is offline
 

Newbie
  
Join Date: May 2006
Posts: 7
 

Default 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.
__________________
X-Cart Pro v4.1.1
Reply With Quote
  #5  
Old 05-25-2006, 11:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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/
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 05-25-2006, 11:46 AM
 
Richxcart Richxcart is offline
 

Newbie
  
Join Date: May 2006
Posts: 7
 

Default

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?
__________________
X-Cart Pro v4.1.1
Reply With Quote
  #7  
Old 05-25-2006, 11:51 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 05-25-2006, 11:53 AM
 
Richxcart Richxcart is offline
 

Newbie
  
Join Date: May 2006
Posts: 7
 

Default

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
__________________
X-Cart Pro v4.1.1
Reply With Quote
  #9  
Old 05-25-2006, 11:54 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I know, but I'm asking you to update your signature...which you have not done yet (it still reads 4.0)
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 05-25-2006, 12:10 PM
 
firelight firelight is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 43
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:14 AM.

   

 
X-Cart forums © 2001-2020