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

Adding Two Fields to Product.TPL.....how?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-29-2004, 09:16 AM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default Adding Two Fields to Product.TPL.....how?

I would like to add two labels....as

Manufacturer: {manufacturer name here}
Product ID/SKU: {sku # here}

Where I would like it to go is on the product.tpl in the Details area....where quantity, weight and price are listed.

Can anyone help me with this? I am really green so please make it simple if at all possible.

Thanks,

Dalmuti......
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote
  #2  
Old 10-29-2004, 11:26 AM
 
genekurtz genekurtz is offline
 

eXpert
  
Join Date: Jun 2003
Location: US
Posts: 223
 

Default

One of the ways you could do this would be by using product options. When you are in the admin control panel go to the product, click on product details, choose product options and add it there. That would take care of the Manufacturer one that you want to add. As for adding the SKU are you wanting it to tie into the sku assigned by x-cart database?
__________________
Gene Kurtz
The Perfect Game
http://www.perfectgame.biz
866-318-BOWL
Reply With Quote
  #3  
Old 10-29-2004, 11:34 AM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default

Actually, I was able to add the Manufacturer....from another example in the forums.

The SKU is not generated by X-Cart....I am assigning them....

I added the manufacturer in the product.tpl which works great.

Let me know.

Dalmuti
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote
  #4  
Old 10-29-2004, 11:42 AM
  dalmuti's Avatar 
dalmuti dalmuti is offline
 

eXpert
  
Join Date: Oct 2004
Location: Kansas
Posts: 343
 

Default

Got it taken care of thanks......Dalmuti
__________________
Louise

Studio 57 Designs - X-Cart Customization
Providing X-Cart Services since 2004
Hottest Blog Directory - Submit Your Blog for a Free Listing
Reply With Quote
  #5  
Old 10-29-2004, 09:47 PM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Quote:
Originally Posted by dalmuti
Got it taken care of thanks......Dalmuti

Great but how about you post your solution so other members can benefit from your solution.
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote
  #6  
Old 10-30-2004, 09:13 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

Is there a way to have the SKU automatically listed in the product details? I could add an extra field but then I would have to list the SKU twice for every manual listing of a product???

Thanks,

Mike.//
__________________
4.1.9
Reply With Quote
  #7  
Old 10-30-2004, 10:51 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Im looking to do something similair to the original post so if anyone has any ideas for this I would love to hear.

Bascially I Need to add a checkbox to the add and modify new product.
Where It will be "Once its on, it's gone" so if I tick that on the admin it will show that text in the product.tpl but if unticked it will not be shown.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
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 01:48 PM.

   

 
X-Cart forums © 2001-2020