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

Remove id number from product name?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #21  
Old 06-23-2005, 06:18 PM
 
wendy.email wendy.email is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: Canada
Posts: 90
 

Default how can display sku id instead?

thank you for showing us how to remove product id so many times... instead i like to display sku id... i assume same place...

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

now how do i code in sku id?
__________________
Version 4.1.11
Reply With Quote
  #22  
Old 06-24-2005, 03:57 AM
 
balinor balinor is offline
 

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

Default

change $product.product to $product.productcode
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #23  
Old 07-19-2005, 12:19 PM
 
ReubenJLau ReubenJLau is offline
 

Member
  
Join Date: Apr 2005
Posts: 27
 

Default

Anybody know how to add the ProductCode to the details section of products?

ie... below or above the price?
__________________
X-Cart Gold v4.0.13
Reply With Quote
  #24  
Old 08-30-2005, 08:59 AM
 
creative xpress creative xpress is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 71
 

Default

I was able to add the the product code abve the price by adding this line of code near the top of the page.

<TR><TD width="30%">{$lng.lbl_sku}</td><td>{$product.productcode}</TD></TR>
__________________
Xcart
Version: 4.1.6
Reply With Quote
  #25  
Old 10-30-2005, 12:45 PM
 
Amy Amy is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 147
 

Default

hhmmmmm unable to find:

modules/Product_Configurator/pconf_customer_step.tpl
__________________
X-Cart Pro 4.0.19; Unix

Other:
XAOM
XOffers
XGift Reg

Other Mods:
Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice
Reply With Quote
  #26  
Old 11-04-2005, 10:06 PM
 
jharwood jharwood is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 67
 

Default

How might one get two fields of data to concatenate and show in the dialog header like:

Product_Category #Product_Code
eg. Shoes #100

I've tried some variations of the syntax w/o luck. Are the terms "producttitle" and "product" being established somewhere that can be added to or modified?

Thanks
John
Reply With Quote
  #27  
Old 11-11-2005, 05:11 PM
 
enchanted1 enchanted1 is offline
 

Advanced Member
  
Join Date: Sep 2005
Location: Sydney
Posts: 31
 

Default

Quote:
Originally Posted by Amy
hhmmmmm unable to find:

modules/Product_Configurator/pconf_customer_step.tpl

same here. perhaps the newer version of Xcart has a different directory &/or file name..?

this seems to be a recurring problem for me - finding good advice on the discussion board but then not being able to implement it because the file names seem to have changed or disappeared...
__________________
Shane
www.enchantedenvelope.com.au
operating w/ xCart Gold
Version 4.0.14
Reply With Quote
  #28  
Old 06-22-2006, 06:56 PM
 
justoneguy justoneguy is offline
 

Newbie
  
Join Date: May 2006
Posts: 5
 

Default

Quote:
Originally Posted by jharwood
How might one get two fields of data to concatenate and show in the dialog header like:

Product_Category #Product_Code
eg. Shoes #100

I've tried some variations of the syntax w/o luck. Are the terms "producttitle" and "product" being established somewhere that can be added to or modified?

Thanks
John

You can change the product title in /include/func.php:

$product["producttitle"] = "$product[product] #$product[productid]";

Just change productid to productcode to get the sku in there instead of the id#
__________________
http://www.digitakes.com
xcart 4.0.18 (Linux - production)(Windows - development)
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 10:10 AM.

   

 
X-Cart forums © 2001-2020