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

Getting rid of the product #

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-23-2003, 01:42 PM
 
ramorse ramorse is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 50
 

Default Getting rid of the product #

I would like to get rid of the product number that appears after the name of the product. This number is assigned as an id in the db, but if you delete and add products the numbers are meaningless to a customer.

Any idea what bit of code to edit?
Reply With Quote
  #2  
Old 01-23-2003, 02:49 PM
  shan's Avatar 
shan shan is offline
 

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

Default

http://forum.x-cart.com/viewtopic.php?t=1261&highlight=product+id

that may be of help.

Also try soing a search as most things like that have been asked and answered many times before
__________________
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 02-03-2003, 05:23 PM
 
ambermoon ambermoon is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Perth Western Australia
Posts: 72
 

Default product code

ramorse did you end up getting rid of the product code ? How did you do it ?

www.amber-moon.com
Reply With Quote
  #4  
Old 02-03-2003, 06:36 PM
 
ramorse ramorse is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 50
 

Default

The thread the I was given was way more than I wanted. So, because I purchased support I asked them and here's the answer. I just haven't had time to implement it yet:

You can edit the template '<xcart-dir>/skin1/customer/main/product.tpl'. Just find and replace the line

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

to

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

Let me know if you try it and it works. I'm still getting to learn the system.
Reply With Quote
  #5  
Old 02-04-2003, 05:21 AM
 
dealsondeals dealsondeals is offline
 

eXpert
  
Join Date: Dec 2002
Location: Dallas, Texas, USA
Posts: 231
 

Default The fix you have works

I had updated my product.tpl as per the existing post. It correlates to the same line you have referenced. It works for me....no more prouct id!


Regards,

Glen
__________________
Never understimate stupidity.
--------
X-Cart Version: 3.5.2
Hosting:mind-in-design.net
Configuration: Virtual Dedicated Server || Intel Pentium 4 2.4 GHZ CPU || 1024MB PC2100 DDR RAM || Linux || PHP 4.3.2 || MySQL server 4.0.14
Reply With Quote
  #6  
Old 02-04-2003, 05:31 AM
 
ambermoon ambermoon is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Perth Western Australia
Posts: 72
 

Default

Thanks a lot

It works
Reply With Quote
  #7  
Old 02-07-2003, 04:07 PM
 
ms425 ms425 is offline
 

Advanced Member
  
Join Date: Dec 2002
Posts: 37
 

Default

Thanks a lot that worked perfectly!
Reply With Quote
  #8  
Old 02-26-2003, 07:30 AM
 
marcusmaniac marcusmaniac is offline
 

Newbie
  
Join Date: Jan 2003
Location: Florida
Posts: 4
 

Default

I was looking for the same fix... much appreciated!
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 11:27 AM.

   

 
X-Cart forums © 2001-2020