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

I'm losing my brain, where do I add "Terms & Condit

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-14-2003, 06:44 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default I'm losing my brain, where do I add "Terms & Condit

I have read (for about the last two hours) every thread on this topic. I've edited the Languages/lbl_terms_n_conditions and it doesn't add anything inside the "box" under Terms and Conditions, in fact, it becomes part of the link to the left. I've messed with the template conditions.tpl under the help and I cannot figure this out. I just want to add a couple of sentences, that's it. Extremely frustrating.
Reply With Quote
  #2  
Old 04-14-2003, 08:41 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

editing help/conditions.tpl should do the trick. If its not updating for you try running the www.yourdomain.com/xcart/cleanup.php and then give it another try and see if your changes appear.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 04-23-2003, 07:27 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

thanks; I'll try that.
Reply With Quote
  #4  
Old 04-23-2003, 07:29 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Can you tell me where I would edit this? Between the * * don't work; tried that.

{* $Id: conditions.tpl,v 1.10 2002/10/22 12:25:54 alfiya Exp $ *}



{capture name=dialog}
{* Place terms and conditions here *}

{if $usertype eq "B" }
{include file="help/conditions_affiliates.tpl"}
{else}
{include file="help/conditions_customers.tpl"}
{/if}

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

(sorry if I'm not aloud to post this code, please advise if I'm not)
Reply With Quote
  #5  
Old 04-23-2003, 08:20 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

{* this is a comment *}

Remove the ENTIRE line including the {* and *} ending tags.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #6  
Old 05-25-2003, 04:18 AM
 
rkaydz rkaydz is offline
 

Newbie
  
Join Date: May 2003
Location: Queens, New York
Posts: 5
 

Default Terms/Conditions

I think it's sad that the X-Cart people didn't put in a sample Terms and conditions, forcing people who may not be savy in php, or just don't have enough time, to either figure out for themselves how to make changes or pay their idioitic monthly tech services fee.
Reply With Quote
  #7  
Old 05-25-2003, 05:57 AM
 
ppatrick ppatrick is offline
 

Member
  
Join Date: Apr 2003
Posts: 11
 

Default

I have the same problem... Terms and Conditions not showing up... I tried changing the template and also tried the cleanup.php and it still isnt working...

Any ideas?
Reply With Quote
  #8  
Old 05-25-2003, 06:55 AM
 
rkaydz rkaydz is offline
 

Newbie
  
Join Date: May 2003
Location: Queens, New York
Posts: 5
 

Default Fix for Terms and Conditions....

I have the answer for you, but it may take a little doing....

First, my complaint....the X-Cart makers are pretty shysty for not making that available for the non-php person.

So here it goes...

X-Cart works on a Label (lbl) and Text (txt) basis on much of the site. If you find your 'conditions.tpl', you must of come across that damn *Place Terms and Conditions Here* statement. A txt_whatever line should have went there for conditions.tpl to pull in and display.

First, don't actually put Terms and conditions there. That is to say, don't actually cut and paste something there. This part of the programming needs a 'txt_terms' line to refer to, as it does for the lbl_terms_n_conditions' line you see a little bit below in the same conditions.tpl file.

Anyway, this is probably what you have already:

{capture name=dialog}
{*place terms and conditions here*}

this is what the line should look like:

{capture name=dialog}
{$lng.txt_terms}

Now, go into the Languages menu in the admin menu. Select your language, select Text in topics, then go to the bottom and 'Add New Entry'

In the first Box....txt_terms
In the second box .... Terms and Conditions
In the third box....cut and paste your terms and conditions. Be advised, HTML codes work fine here.

X-Cart people could have done this as they did for the other pages, but looks like it's a reason to pay for Tech support if you ask me.

I think I covered what it takes to fix that....let me know if I missed anything.
Reply With Quote
  #9  
Old 05-25-2003, 07:58 AM
 
john80y john80y is offline
 

X-Adept
  
Join Date: May 2003
Posts: 459
 

Default

Works like a charm !
Reply With Quote
  #10  
Old 06-11-2003, 12:13 AM
 
onlysurvivor onlysurvivor is offline
 

Newbie
  
Join Date: Jun 2003
Location: Sunny CA
Posts: 3
 

Default Where is conditions_tpl ??????

I think I'm going blind trying to find conditions_tpl in ver 3.4 Where is it?

MJ
onlysurvivor@yahoo.com
__________________
Michael Jones
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 09:42 AM.

   

 
X-Cart forums © 2001-2020