So I need a way to not have folks go to the foxycart page if they try to 'add to cart' without js on.
[li]Step 1: (in MODx)[/li]
[li]have the form submit to the current page[/li]
[li]have jquery switch the form action to foxycart (so fc works)[/li]
[li]if they post to the current page (means js is off), show a warning that says js must be enabled. You can call here to make your purchase over the phone[/li]
[li]Step 2: PHP Post[/li]
[li]if js is off, then add the information to cart, and create hidden fields in the 'show_cart' chunk[/li]
[li]provide checkout button that posts it all at once to foxycart[/li]
For step 2: this would require a feature request:
- foxycart checkout page to use the same methods as step 1 (ie plain post if js is off. And regular ajaxiness if js is on.)
- to know how to manually post to fc.
Is there any plans for non-js fc use? Is there a non-packed foxycart-include.js file?