X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   I don't mean to sound stupid... (https://forum.x-cart.com/showthread.php?t=13735)

SkullHead 04-30-2005 07:23 AM

I don't mean to sound stupid...
 
but! :( I've read through some posts in here like this one http://forum.x-cart.com/viewtopic.php?t=8138 and I'm just missing something. I got an SSL from Geotrust. They sent me an email saying to paste this:

Code:

Install QuickSSL Premium
To install the QuickSSL Premium Smart Icon seal, simply add the following lines to each web page on which you want the QuickSSL Premium seal to appear: 


Code:



<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="//smarticon.geotrust.com/si.js"></SCRIPT>



I'm about a week old to PHP,infact bought the software on the 22nd of this month, and aren't sure what to do. I pasted it into the cart page but got an error. I've read just about everything but like I said"I'm missing something" I know when I go to the website I'm building for my wife and login and go thru the checkout process like I'm buying something the cart.php is secure
Code:

https://riverviewflorist.net/xcart/cart.php?paymentid=1&mode=checkout&xid=6f933dd32a8c8c85a9ae591498120071


I'm just not sure where to put the script that retreives the Geotrust logo. I'd appreciate if someone could point me in the right direction as to where to insert the Geotrust script or what template/s to edit and how. The site is "www.riverviewflorist.net" if anyone wants to go look. I also get a security alert popup when I go from http://riverviewflorist.net/xcart/cart.php?mode=checkout

to https://riverviewflorist.net/xcart/cart.php?paymentid=1&mode=checkout&xid=6f933dd32a8 c8c85a9ae591498120071. But only after I log out and back in. Infact if you click the link above you'll see it. Like I said, I've only been at it 8 days and have tried figuring most of it out myself along with reading here and google. 8O

I created a bogus account if someone could stop in there. the USER is "test" the PASS is "test1" this way no one has to go through the hassle of registering. Maybe why your there you could critic my work. Try and remember it's a flowershop site and I still have about 700 more flowewr pics to upload. :roll: So it's not complete yet. Thanks in advance.

Emerson 04-30-2005 07:30 AM

You might want to add the code to your home.tpl file. This way the logo will show on all pages.

Open /xcart/skin1/home.tpl and look for the following chunk of code:
Code:

{ include file="poweredby.tpl" }


After that add you code right below it.

MAKE SURE to add the code as I have it below or you will get errors:
Code:

{literal}
 
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript" SRC="//smarticon.geotrust.com/si.js"></SCRIPT>

{/literal}


Whenever you add javascript code to tpl files you will need to "wrap" te code in {literal} javascript code here {/literal} or you get errors.

HTH ;)

Emerson 04-30-2005 07:33 AM

On the issue with the security alert:

Open /xcart/config.php and change:
Code:

$xcart_https_host ="riverviewflorist.net";

To:
Code:

$xcart_https_host ="www.riverviewflorist.net";

Notice I just added the WWW.

balinor 04-30-2005 11:10 AM

Post moved. Skullhead, please be aware of where you post. As the name implies, the Completed Custom Mods forum is for completed custom mods only, not requests. Thanks! :)

SkullHead 04-30-2005 01:02 PM

Thanks Emerson

That was easy as hell and explained so even I could inderstand it! Both instructions were. :wink:

I took notes into a word doc for later refference. :wink: I think I'll scour this board and do some copy and pasting to avoid always having to search through the forum for helpful info.

Now I need to figure out how to get it centered at the bottom of the page. Which I think I can figure that one out.

I appreciated your help Bro! Thanks! :D

Now all I have to do is get all the content and about 50 pics per catagory loaded into "All" 12 remaining pages and it'll be ready. 8O

Emerson 04-30-2005 01:50 PM

No problem, glad I could help ;)

Quote:

Now I need to figure out how to get it centered at the bottom of the page. Which I think I can figure that one out.


^ You might want to put the code inside of skin1/bottom.tpl then ;)

SkullHead 04-30-2005 04:41 PM

Quote:

Originally Posted by balinor
Post moved. Skullhead, please be aware of where you post. As the name implies, the Completed Custom Mods forum is for completed custom mods only, not requests. Thanks! :)


Will do! :wink:

Darn it Emerson! Now I won't have nothing to try and figure out for the next two days! :lol:


All times are GMT -8. The time now is 10:53 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.