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

Product Number in Title

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

Advanced Member
  
Join Date: Oct 2004
Posts: 55
 

Default Product Number in Title

Okay, since my last thread has somehow vanished, I'll ask again.

When you look at the Product Details page after the title of the product the Product Number/ID appears, as pictured in the screenshot below:

http://www.asianbeads.com/screenshot1.gif

I have narrowed this to being defined by the following:
Code:
{if $product.product_type eq "C"} {include file="modules/Product_Configurator/pconf_customer_product.tpl"} {else}

However, this directory, nor this file exist on the server. So I'm as lost as they come. If anyone could at least point me in the right direction, as to where I can find and get rid of this item number in the title I'd appreciate it.

Thanks in advance.
__________________
Adam L Golson
X-Cart v3.5.11 [Linux]
Reply With Quote
  #2  
Old 11-30-2004, 11:46 AM
 
jhug jhug is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 31
 

Default

That bit of code you have posted checks to see if you have a "configurable product" which uses the configurator add-on so I doubt it is generating your product number listing.

It appears as though this is the code to display the product code/sku {$products[product].productcode} but I can't find it in the product.tpl file so it must be part of an included file within the page. You may have to dig around for it a bit. I'm new to X-Cart so I can't give you much more direction
Reply With Quote
  #3  
Old 11-30-2004, 12:08 PM
 
ProjectShadow ProjectShadow is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 55
 

Default

Alright, I thought that as well, but here is the top part of the product.tpl file:

Code:
{* $Id: product.tpl,v 1.78.2.4 2004/02/27 13:47:00 mclap Exp $ *} <table width=620 border=0 cellpadding=0 cellspacing=0><tr><td nowrap> {include file="check_product_options_js.tpl"} {include file="location.tpl"} </td></tr></table> {if $product.product_type eq "C"} {include file="modules/Product_Configurator/pconf_customer_product.tpl"} {else} {capture name=dialog} <table border=0 width=100%> <form name=orderform method=post action="cart.php?mode=add" OnSubmit="javascript:if (!FormValidation()) return false"> <tr> <td valign=top colspan=2 align=left width=100> {if $active_modules.Detailed_Product_Images ne ""} {include file="modules/Detailed_Product_Images/detail_images.tpl"} {/if} </td> </tr> <tr> <td colspan=2 valign=top> <span class=> {if $product.fulldescr ne ""}{$product.fulldescr}{else}{$product.descr}{/if} </span>

It has to be defined somewhere here I would think. But I don't know what's going on.
__________________
Adam L Golson
X-Cart v3.5.11 [Linux]
Reply With Quote
  #4  
Old 11-30-2004, 01:33 PM
 
balinor balinor is offline
 

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

Default

Actually, here is what you want to do.

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

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

That should take care of it for you
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-01-2004, 08:42 AM
 
ProjectShadow ProjectShadow is offline
 

Advanced Member
  
Join Date: Oct 2004
Posts: 55
 

Default

That's awesome! Thank you so much!

--Adam
__________________
Adam L Golson
X-Cart v3.5.11 [Linux]
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:28 AM.

   

 
X-Cart forums © 2001-2020