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

added text to template not displaying

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-17-2007, 09:14 PM
 
paperlion paperlion is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 89
 

Default added text to template not displaying

Wanted to add an explanatory line of text to the product detail area when multiple quantities are available.

Called up skin1/customers/main/template_detail.tpl
Added the text line as shown (around line 300). Saved and deleted the templates_c files. Also deleted the browser cache. It's not showing. Anyone want to venture why? Thanks.

<TR>
{if $productids ne ''}<TD width="15" class="TableSubHead"><INPUT type="checkbox" value="Y" name="fields[discount_avail]"></TD>

{* quantity explanatory content added here until /if in brackets *}
<TD class"TableSubHead">Multiple prices require purchase of the indicated number of units, each consisting of the quantity of units at the next lower volume level.
</TD>

{/if}
__________________
Gold 4.0.19
Reply With Quote
  #2  
Old 04-18-2007, 03:09 AM
 
balinor balinor is offline
 

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

Default Re: added text to template not displaying

template_detail.tpl is not a standard X-Cart template...is this some sort of mod?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-18-2007, 05:53 AM
 
paperlion paperlion is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 89
 

Default Re: added text to template not displaying

been staring at those files too long. Meant:

skin1/main/product_details.tpl
__________________
Gold 4.0.19
Reply With Quote
  #4  
Old 04-18-2007, 06:17 AM
 
balinor balinor is offline
 

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

Default Re: added text to template not displaying

Ok, you realize that is the admin area template right?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-18-2007, 06:55 AM
 
paperlion paperlion is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 89
 

Default Re: added text to template not displaying

Now I do. For the sake of anyone else pulling their hair out over this, Balinor, means it's here:

cart/skin1/customer/main/product.tpl


thanks again
__________________
Gold 4.0.19
Reply With Quote
  #6  
Old 04-18-2007, 07:02 AM
 
balinor balinor is offline
 

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

Default Re: added text to template not displaying

There is a template editing guide at the top of this forum that will make your life MUCH easier
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce 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 02:41 PM.

   

 
X-Cart forums © 2001-2020