close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

finalising questions

Thread began 12/15/2014 2:18 am by Jamie | Last modified 1/20/2015 9:21 am by Jason Byrnes | 2383 views | 13 replies |

Jamie

finalising questions

Hi Jason

Got a couple of questions finalising an ecart install please.

On this page http://clients.motley.co.uk/iday/cart.php (attached) I have set it so that if the cart is empty, the table with pricing is visible. If you add an item to the cart the table disappears and the cart options become visible. On this page, with the slight adjustments I have made, the 'continue shopping' option now does not go to where it should: http://clients.motley.co.uk/iday/book-now.php What do I need to change to get that working again?

Also, as part of the checkout process the client requires the form from this page http://www.independentsday.co.uk/delegate-details.php to be sent through to them how do I add that to the cart page please?

Thanks

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Jamie

see PM

Sign in to reply to this post

Jason ByrnesWebAssist

for the first issue, edit line 144 of the cart page:
$_SESSION['WAEC_ContinueRedirect'] = $_SERVER['PHP_SELF'].($_SERVER['QUERY_STRING']?"?".htmlentities($_SERVER['QUERY_STRING']):"");

to:
$_SESSION['WAEC_ContinueRedirect'] = "/iday/book-now.php";



for the second issue, on the delegate-details.php page, save the submitted form to session variables, you can use those session variables on the pp_confirm page to send them in an email or save them to a database.

Sign in to reply to this post

Jamie

Thanks Jason (for both)

I have recreated the delegate details form and created the session values -http://clients.motley.co.uk/iday/delegate-details.php - how do I now incorporate the form on that page to the form on the cart page http://clients.motley.co.uk/iday/cart.php and then use that info to provide the client with the details? both files attached in case you need them for reference

Thanks

Jamie

Sign in to reply to this post

Jason ByrnesWebAssist

I don't follow, please provide more details.

Sign in to reply to this post

Jamie

Well the delegate detail form is required as part of the purchase process so I either need to include it on the cart page and when they click checkout validation checks are run and they are taken to paypal or, alternatively, cart works as it is right now and the checkout button takes them to the delegate detail form which, in successful validation, the submit then takes them through to PayPal and all the form info gets submitted to my client.... Either way am not sure how to achieve this

Sign in to reply to this post

Jason ByrnesWebAssist

I would set up the delegate-details.php page to save the form entries as session variables when it is submitted,, then redirect to the checkout page

use Security Assist to set up an access rule to allow if one of the sessions from that page is not blank, then add access restriction to the checkout page that redirects to the delegate-details.php page if not allowed.

that way, when they try to checkout, they will be directed to the delegate-details.php by the access rule until they have filled in the form.

Sign in to reply to this post

Jamie

Sorry Jason, I don't follow/little confused. At what point in the process are you suggesting that the delegate details form is completed?

Sign in to reply to this post

Jason ByrnesWebAssist

the flow i am suggesting would be:

cart page ->
user clicks checkout button which goes to checkout page ->
Checkout page has access rule to ensure one of the sessions from the delegate details page is set, if not, redirects to the delegate details page, if one of the sessions is set, loads the checkout page->

so the first time though, it would redirect to the delegate details page, the user would fill in the info, when submitted, save the form to the session, then redirect back to the checkout page.

this time around, the access rule would pass, so the checkout page would load.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...