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

Terms and Conditions/Privacy Statement

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-27-2011, 07:19 AM
 
tapupartforpres tapupartforpres is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 30
 

Default Terms and Conditions/Privacy Statement

Hello,

New here. I did check the forum for some info on the quick fix. I am sure there are a hundred answers I just could not find them. I feel dumb for asking. Some quick help would be appreciated.

I added 2 new static pages for the privacy statement and terms and conditions (static pages). I am trying to edit the URL in the Webmaster Tools for the java pop up.

Here are the new pages, the URL's, skin/common_files/pages/en/terms_and_conditions.html and skin/common_files/pages/en/privacy_statement-new.html

Here is what is there by default,

I accept the <a href="{{terms_url}}" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;" target="_blank">"Terms &amp; Conditions"</a> and <a href="{{privacy_url}}" target="_blank" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;">"Privacy Statement"</a>

I have tried 5 different ways of showing the path (absolute and relative) and I am either getting an error or no information is showing and the beach ball is just spinning.

Thanks ahead of time.
__________________
Owner of 216 Marketing, SEO In Akron and Cleveland, OH.
Reply With Quote
  #2  
Old 12-27-2011, 07:40 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Terms and Conditions/Privacy Statement

Welcome to the forums! Don't feel dumb, this stuff is confusing.

Looking at some templates I see this:
{$lng.txt_terms_and_conditions_newbie_note|substit ute:"terms_url":"`$xcart_web_dir`/pages.php?alias=conditions"}
in /common_files/customer/main/register.tpl

Find out what your page id is for your new page and try changing pages.php?alias=conditions to pages.php?pageid=3 where page id is your new pages id.

Hope that helps,
-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #3  
Old 12-27-2011, 08:04 AM
 
tapupartforpres tapupartforpres is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 30
 

Default Re: Terms and Conditions/Privacy Statement

There are just static HTML pages. This is also the the terms and conditions at checkout, sorry forgot tot mention that.

I pull up the txt_terms_and_conditions_note.

There I should just be able to edit the URL?
I accept the <a href="{{terms_url}}" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;" target="_blank">"Terms &amp; Conditions"</a> and <a href="{{privacy_url}}" target="_blank" onclick="javascript:popupOpen(this.href, '', {width:800,height:600}); return false;">"Privacy Statement"</a>

Here are the 2 paths to the static URL.


http://www.grays-sportswear.com/skin/common_files/pages/en/privacy_statement-new.html

http://www.grays-sportswear.com/skin/common_files/pages/en/terms_and_conditions.html

If you go to the checkout here, http://www.grays-sportswear.com/cart.php?mode=checkout, you can see right now the privacy statement URL is pulling up the customer service static page?I got a straight static file to open but it is not formatted like the customer service page is now.

Thanks
__________________
Owner of 216 Marketing, SEO In Akron and Cleveland, OH.
Reply With Quote
  #4  
Old 12-27-2011, 08:09 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Terms and Conditions/Privacy Statement

When you say these are static HTML pages, are they not created by the static pages function of X-cart? If so then you should always reference them by page id like I described above. Html links which are generated by the Clean Url's module, may not be parsed correctly by javascript.

I would edit the URL like I described above, not in the language file.

Hope that helps,
-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #5  
Old 12-27-2011, 08:19 AM
 
tapupartforpres tapupartforpres is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 30
 

Default Re: Terms and Conditions/Privacy Statement

Yes I created them in the static page section.

Ok thanks. The page ids are 11 and 12.

Is the register file the only template file edited? Because really right now I just need to edit on the checkout page.

So is that edited on the cart.php.

Thanks
__________________
Owner of 216 Marketing, SEO In Akron and Cleveland, OH.
Reply With Quote
  #6  
Old 12-27-2011, 09:03 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Terms and Conditions/Privacy Statement

/common_files/modules/One_Page_Checkout/opc_summary.tpl

If you are using OPC this is where the correct tpl is located.

I think it is near line 57 but I am not positive.

-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #7  
Old 12-27-2011, 09:26 AM
 
tapupartforpres tapupartforpres is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 30
 

Default Re: Terms and Conditions/Privacy Statement

That worked thank you.

I wished there is an easier way to find out which template to edit. If I could find that out I could figure out what to edit easier.

I guess more of that knowledge will come with time.

Thank you totaltec.
__________________
Owner of 216 Marketing, SEO In Akron and Cleveland, OH.
Reply With Quote
  #8  
Old 12-27-2011, 10:36 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Terms and Conditions/Privacy Statement

It does, familiarity usually breeds contempt, but in regards to X-cart it does the opposite for me. Glad you got it sorted.
-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #9  
Old 12-27-2011, 02:58 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Terms and Conditions/Privacy Statement

Quote:
Originally Posted by tapupartforpres
I wished there is an easier way to find out which template to edit. If I could find that out I could figure out what to edit easier.
Have you tried using Webmaster Mode?
__________________
redlimeweb.com
custom mods and design integration
4.7 linux
Reply With Quote
  #10  
Old 12-28-2011, 05:57 AM
 
tapupartforpres tapupartforpres is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 30
 

Default Re: Terms and Conditions/Privacy Statement

I have but in this case it does not tell me which internal file I needed to edit.
__________________
Owner of 216 Marketing, SEO In Akron and Cleveland, OH.
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:14 AM.

   

 
X-Cart forums © 2001-2020