|
bunnyboy
|
 |
« on: January 26, 2009, 10:09:33 AM » |
|
I just installed Ajax Checkout on OSC 2.2rc2a, but seem to be having a problem with the shipping_weight global. When the ajax_checkout.php page is first loaded the shipping options and quotes are correct. However when the Select and Continue button is pressed the shipping quotes get changed to incorrect values. It seems the shipping_weight global in _PerformShippingSelection is no longer defined so the quote is based on a weight of 0 lbs. Hitting the edit button next to Shipping Method brings back the correct quotes. Any solutions?
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #1 on: January 27, 2009, 01:40:57 AM » |
|
Hello bunnyboy,
We're glad you're using our product. As long it is now a free and distributed as is under a GPL, you are free to modify the code as you wish or as you need. Go on, debug it a bit, and get things working. If you would be so kind and post a solution here, that'd be great.
|
|
|
|
|
Logged
|
|
|
|
|
kompak
|
 |
« Reply #2 on: February 04, 2009, 02:34:06 AM » |
|
Hi, I too have just installed the AJAX single page checkout. When iam clicking on the button "Checkout" from the shopping cart page. The ajax_checkout page is opening but the contents in the page are not loading, i.e. blank page is appearing.
Please help me..what should i need to do.
Regards Kam
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #3 on: February 07, 2009, 09:42:44 AM » |
|
You are probably having STS or BTS installed at your Osc, if no javascript error appears at this point. AJAX checkout requires much customization of installation procedure to properly work on BTS or STS template systems.
|
|
|
|
|
Logged
|
|
|
|
|
kotau
|
 |
« Reply #4 on: February 10, 2009, 10:25:33 PM » |
|
I have just done a standard install of oscommerce 2.2rc2 and followed the steps to install ajax checkout. I get the same problem when I checkout in that the
ajax_checkout.php script is loaded but the content is not displayed instead I just get the following div:
<div id="ajaxManager"> </div>
The .js file is correctly loaded.
Do you have any suggestions for tracking this down?
edit.
I just tried installing 2.2rc2a from scratch and I have the same issue.
Cheers.
|
|
|
|
« Last Edit: February 10, 2009, 10:53:33 PM by kotau »
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #5 on: February 11, 2009, 01:19:15 AM » |
|
Hello,
Its hard to tell what is wrong out there. Could you at least provide me a link?
|
|
|
|
|
Logged
|
|
|
|
|
kotau
|
 |
« Reply #6 on: February 11, 2009, 01:26:11 AM » |
|
I have PM'd you the urls.
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #7 on: February 11, 2009, 05:06:46 AM » |
|
Hi,
You have 2 javascript error on your checkout page of `oscommerce2a` store: 1) malformed formal parameter goOnLoad()ajax_checkout.php (line 18) onload(load )include....tmentid=1 (line 1)
2) ajaxManagerInit(); ajax_checkout.php (line 18) ajaxManagerInit is not defined
Seems like there's something wrong with the files you uploaded, as when I'm trying to open the url with ajax/javascript/ajaxManager.js to view javascript file, I got a SERVER ERROR page. What permissions are on files in the /ajax directory?
|
|
|
|
|
Logged
|
|
|
|
|
kotau
|
 |
« Reply #8 on: February 11, 2009, 05:32:41 PM » |
|
Hi,
Thankyou for your very helpful assistance. That will teach me to not rely on safari for testing a dev setup...
After some tests the issue turns out to be with the .htaccess file in the /ajax/ folder.
If I remove the file things are working.
The file contains the following setting:
Options -Indexes
Im not sure why that will cause an issue with my server.
|
|
|
|
|
Logged
|
|
|
|
|
Alex
|
 |
« Reply #9 on: February 12, 2009, 04:49:18 AM » |
|
Yep, the first thing you should be looking at when you got 500 Server error is the .htaccess file. Good.
|
|
|
|
|
Logged
|
|
|
|
|
Gizmor
|
 |
« Reply #10 on: March 13, 2009, 07:54:07 PM » |
|
You are probably having STS or BTS installed at your Osc, if no javascript error appears at this point. AJAX checkout requires much customization of installation procedure to properly work on BTS or STS template systems.
maybe it is a idea to create another Ajax checkout for OSCMAX (oscmax has BTS installed standard) if a BTS version is make then it can be easily adapted for STS i think, and for as far as i can see there is not much to do only that there is no header.php in the includes folder and some coding around the paths. I have tried it for myself to make it work but i cant find why my page stays blank, and i really want this to work because it is much better then the standard checkout procedure.
|
|
|
|
« Last Edit: March 13, 2009, 07:56:20 PM by Gizmor »
|
Logged
|
|
|
|
|
steve_s
|
 |
« Reply #11 on: March 15, 2009, 04:01:30 PM » |
|
You are probably having STS or BTS installed at your Osc, if no javascript error appears at this point. AJAX checkout requires much customization of installation procedure to properly work on BTS or STS template systems.
maybe it is a idea to create another Ajax checkout for OSCMAX (oscmax has BTS installed standard) if a BTS version is make then it can be easily adapted for STS i think, and for as far as i can see there is not much to do only that there is no header.php in the includes folder and some coding around the paths. I have tried it for myself to make it work but i cant find why my page stays blank, and i really want this to work because it is much better then the standard checkout procedure. Hi did you make a seperate page in your sts_template/templatename/ folder for ajax checkout and add any javascript calls in the head tags if not try that and see what happens
|
|
|
|
|
Logged
|
|
|
|
|
Gizmor
|
 |
« Reply #12 on: March 18, 2009, 07:50:53 AM » |
|
You are probably having STS or BTS installed at your Osc, if no javascript error appears at this point. AJAX checkout requires much customization of installation procedure to properly work on BTS or STS template systems.
maybe it is a idea to create another Ajax checkout for OSCMAX (oscmax has BTS installed standard) if a BTS version is make then it can be easily adapted for STS i think, and for as far as i can see there is not much to do only that there is no header.php in the includes folder and some coding around the paths. I have tried it for myself to make it work but i cant find why my page stays blank, and i really want this to work because it is much better then the standard checkout procedure. Hi did you make a seperate page in your sts_template/templatename/ folder for ajax checkout and add any javascript calls in the head tags if not try that and see what happens well i dont use STS but BTS and i did put the file in the templates/templatename/content folder where all the other files are also, and i created in the root of the website a file called ajax_checkout.php with the correct lines for BTS copy of shoppingcart.php and edited for Ajax Checkout. And i edited includes/filenames.php added the content(BTS) and file lines.
|
|
|
|
|
Logged
|
|
|
|
|