The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 04-11-2012, 03:48 AM
Steve Strickland1's Avatar
Steve Strickland1 Steve Strickland1 is offline
Junior Member
 
Join Date: Apr 2012
Posts: 13
Default

Quote:
Originally Posted by Makfruit View Post
The path you set for the script ("/wp-includes/redirect.js") points to this address:
http://chezchamar.com/wp-includes/redirect.js

But there is no script file there - try to open that URL, an empty page is returned. You should place the script in a publicly accessible place so that the store page would be able to get it - in this case the script will work.




Don't worry, it's OK now. They are placed outside the script inclusion:
Code:
<p><script type="text/javascript" language="javascript" src="/wp-includes/redirect.js"></script></p>
This way they don't break anything.

So, instead of using the .js file and making a call to it, I just used the regular script code, but I'm using a "raw html" plugin that is stripping out any formatting Wordpress is injecting in there. The redirection now actually works.

So, two questions now.

1. How can I control the speed of the redirection. When I test now, it's instant! Can I slow it down somehow...like after 3-5 seconds?

2. How I protect my source code or the javascript from prying eyes? I don't want people to be able to just go see my source code, see where they are redirected and just grab the URL and bypass the whole shopping cart.

Thank you

Last edited by Steve Strickland1; 04-11-2012 at 03:52 AM.
 
The information in this thread might be outdated
If the solution did not help, please, check our Help Portal or contact Ecwid Team.

Tags
checkout, paypal

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:05 PM.
Powered by vBulletin® Version 3.8.11. Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.