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

Editing "Product Add" Template - Where does it res

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-30-2004, 08:08 AM
 
waginst waginst is offline
 

Member
  
Join Date: Apr 2004
Posts: 22
 

Default Editing "Product Add" Template - Where does it res

Would someone kindly share with me where the "Add Product / Edit Product" template resides? I need to add an option to this list, but don't know where to find the file!

Has someone created a "map" of what templates control what feature? (Or is that a RTFM! answer?)

We're using version 3.5.6 // not modified much.

Thanks!
Reply With Quote
  #2  
Old 04-30-2004, 09:04 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you can use the debugging console (in general settings) to see a map of templates.

Or switch on webmaster mode

the file your after is main/product_modify.tpl

to add an extra option though you should use the extra fields function
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 04-30-2004, 10:35 AM
 
waginst waginst is offline
 

Member
  
Join Date: Apr 2004
Posts: 22
 

Default One last Q --

One last Q ---

Using the Debug Mode, I've been unable to track down the Item Title setting. Each item, for example, is given a title on the item's page: Item, #xxxxx where #xxxxx is the internal item ID.

Where can I set the format of this item title? (I've followed the progression of templates, and can't seem to find this variable)
Reply With Quote
  #4  
Old 05-01-2004, 01:44 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

open customer/product.tpl and find the code below

Code:
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=100%"}

change to

Code:
{include file="dialog.tpl" title=$product.product content=$smarty.capture.dialog extra="width=100%"}
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 05-03-2004, 06:00 AM
 
waginst waginst is offline
 

Member
  
Join Date: Apr 2004
Posts: 22
 

Default

ahhh -- thank you vey much!!
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 09:45 AM.

   

 
X-Cart forums © 2001-2020