I can't believe I did that! I deleted by order.cgi file from the cgi-bin/sc directory.
I recovered an order.cgi file from the install package (.zip file) and copied it over, then set the rights to execute, same as the other cgi files, and the owner is the same as all the other cgi files, but it's ...
Search found 10 matches
- Wed Dec 30, 2009 1:43 pm
- Forum: User Forum
- Topic: Ooops. I deleted a cgi file
- Replies: 1
- Views: 2988
- Wed Dec 30, 2009 11:28 am
- Forum: User Forum
- Topic: Order API - php failing
- Replies: 3
- Views: 7652
A stupid question
OK, here is a real stupid question, but when you say the custom-dump.cgi works, how do you know? What is it supposed to do and how can you tell if it is doing it?
The documentation is scanty.
The documentation is scanty.
- Wed Dec 30, 2009 12:35 am
- Forum: User Forum
- Topic: Order API error "File Does not exist", but it does
- Replies: 1
- Views: 2774
Order API error "File Does not exist", but it does
I get this errer when I ENTER the Order API info. The file is for sure in the folder shown on the Order API screen, which is /home/kirbyglad/www/cgi-bin/sc/
I've tried renaming the file to COAShopSiteOrder.cgi, but it doesn't like that either.
Your filename, "COAShopSiteOrder.php", failed for the ...
I've tried renaming the file to COAShopSiteOrder.cgi, but it doesn't like that either.
Your filename, "COAShopSiteOrder.php", failed for the ...
- Mon Dec 28, 2009 12:56 pm
- Forum: User Forum
- Topic: Is there not a template for the confirmation email?
- Replies: 4
- Views: 5720
Cookie Confusion
Maybe I'm confused - the order API script is called and runs on the server, but the cookie would be on the host, so how would I get it?
What am I missing?
What am I missing?
- Mon Dec 28, 2009 12:46 pm
- Forum: User Forum
- Topic: Protected data in custom fields?
- Replies: 1
- Views: 2748
Protected data in custom fields?
I have an account number that I want to display on the order pages and confirmation email. I can sucessfully pass this in to shop site from the calling page.
1) How would I load this data into a custom order field?
2) How can I prevent the user from changing the value in the custom field?
Thanks ...
1) How would I load this data into a custom order field?
2) How can I prevent the user from changing the value in the custom field?
Thanks ...
- Mon Dec 28, 2009 9:39 am
- Forum: User Forum
- Topic: Is there not a template for the confirmation email?
- Replies: 4
- Views: 5720
Is there not a template for the confirmation email?
I need to send an attachment with the confirmation email. The name of the attachement file will be different for each order.
I suppose I could use the Order API but if so I need to pass a parameter to the CGI that is calculated by javascript, not one of the ShopCart Variables, and I'm not sure I ...
I suppose I could use the Order API but if so I need to pass a parameter to the CGI that is calculated by javascript, not one of the ShopCart Variables, and I'm not sure I ...
- Thu Dec 17, 2009 3:22 pm
- Forum: User Forum
- Topic: Passing values to shopping cart
- Replies: 2
- Views: 4060
This may help
You can pass variables using GET process (including it with the URL) with this javascript
function gup( name )
{ name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href ...
function gup( name )
{ name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
var regex = new RegExp( regexS );
var results = regex.exec( window.location.href ...
- Thu Dec 17, 2009 2:58 pm
- Forum: User Forum
- Topic: Passing POST parameters through URL to shopsite
- Replies: 1
- Views: 3131
Solved it
I answered my own question. Java does not have a direct way of getting POST and GET parameters, but you can use java script to parse them out of window.location.href which contains any GET values.
Example of working code
function gup( name )
{ name = name.replace(/[\[]/,"\\\[").replace ...
Example of working code
function gup( name )
{ name = name.replace(/[\[]/,"\\\[").replace ...
- Wed Dec 09, 2009 1:03 am
- Forum: User Forum
- Topic: Persisting Custom Checkout Fields between page loads
- Replies: 3
- Views: 4991
- Mon Dec 07, 2009 2:30 pm
- Forum: User Forum
- Topic: Passing POST parameters through URL to shopsite
- Replies: 1
- Views: 3131
Passing POST parameters through URL to shopsite
My website allows users to create a custom graphic and then hands them off to ShopSite to purchase customized items using that graphic - for example, a screen printed shirt.
I need to be able to link the graphic to the shopsite order. I assume the best way to do this would be to pass in something ...
I need to be able to link the graphic to the shopsite order. I assume the best way to do this would be to pass in something ...