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

I know it's been asked a million times

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-26-2009, 09:08 AM
 
cloudywool cloudywool is offline
 

Member
  
Join Date: Mar 2009
Posts: 15
 

Default I know it's been asked a million times

I've tried the solutions but doesnt work for me. I use xcart 4.2.0, a total newbie here.

Q1: I need to have the SKU number and product ID number removed, I tried this post http://forum.x-cart.com/showthread.php?t=20303, but didnt work, the code look different from my product.tpl

Q2: I need to post this code below in the receipt page of my site, but i don't know where that is.

<!-- BEGIN: BizRate Survey Invitation HTML -->
<script language="JavaScript" src="https://eval.bizrate.com/js/pos_205882.js" type="text/javascript">
</script> <!-- END: BizRate Survey Invitation HTML -->

I found this post http://forum.x-cart.com/showthread.php?t=25419 but it doesn't help, since I cant find order_message.tpl in the skin1/main folder
__________________
x-cart 4.2.0
Reply With Quote
  #2  
Old 03-26-2009, 10:29 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: I know it's been asked a million times

Quote:
Q2: I need to post this code below in the receipt page of my site, but i don't know where that is.

<!-- BEGIN: BizRate Survey Invitation HTML -->
<script language="JavaScript" src="https://eval.bizrate.com/js/pos_205882.js" type="text/javascript">
</script> <!-- END: BizRate Survey Invitation HTML -->

I found this post http://forum.x-cart.com/showthread.php?t=25419 but it doesn't help, since I cant find order_message.tpl in the skin1/main folder

Customer files for 4.2 are located in skin1/customer folder so order_message.tpl is in skin1/customer/main
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 03-26-2009, 10:33 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: I know it's been asked a million times

Quote:
Originally Posted by cloudywool
I've tried the solutions but doesnt work for me. I use xcart 4.2.0, a total newbie here.

Q1: I need to have the SKU number and product ID number removed, I tried this post http://forum.x-cart.com/showthread.php?t=20303, but didnt work, the code look different from my product.tpl

To hide it for product page find this code in skin1/customer/product.tpl
Code:
<tr> <td class="property-name">{$lng.lbl_sku}</td> <td class="property-value" id="product_code">{$product.productcode|escape}</td> </tr>
and replace with
Code:
{* <tr> <td class="property-name">{$lng.lbl_sku}</td> <td class="property-value" id="product_code">{$product.productcode|escape}</td> </tr> *}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 03-26-2009, 11:11 AM
 
cloudywool cloudywool is offline
 

Member
  
Join Date: Mar 2009
Posts: 15
 

Default Re: I know it's been asked a million times

THX!
The new code for product.tpl works! the SKU number is gone now but the product ID is still there, how to remove product ID?
this one i tried doesnt work.
http://i41.tinypic.com/29nv1vs.gif
__________________
x-cart 4.2.0
Reply With Quote
  #5  
Old 03-27-2009, 11:06 AM
 
cloudywool cloudywool is offline
 

Member
  
Join Date: Mar 2009
Posts: 15
 

Default Re: I know it's been asked a million times

the product id is still showing in the upselling links, what should i do???
thx

http://i40.tinypic.com/29nduvn.gif
__________________
x-cart 4.2.0
Reply With Quote
  #6  
Old 03-27-2009, 11:21 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: I know it's been asked a million times

Open skin1/modules/Upselling_Products/related_products.tpl and comment out this line
Code:
<td class="item-number">#{$p.productid}</td>
like this
Code:
{* <td class="item-number">#{$p.productid}</td> *}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 03-28-2009, 06:08 AM
 
cloudywool cloudywool is offline
 

Member
  
Join Date: Mar 2009
Posts: 15
 

Default Re: I know it's been asked a million times

it worked!
thanks for the help
__________________
x-cart 4.2.0
Reply With Quote
  #8  
Old 03-28-2009, 10:04 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: I know it's been asked a million times

Happy to help
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 08-26-2012, 01:38 AM
 
lcg lcg is offline
 

Senior Member
  
Join Date: Feb 2007
Posts: 106
 

Default Re: I know it's been asked a million times

Old post but worked for 4.0.18, thanks guys!
__________________
XCart v.4.0.18
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:21 AM.

   

 
X-Cart forums © 2001-2020