Shopping cart contents in thank you screen

General ShopSite user discussion

Shopping cart contents in thank you screen

Postby shantkap » Mon Jan 07, 2008 3:40 pm

Is there a way to captue the shopping cart contents into php varialbe on the thank you page
shantkap
 
Posts: 2
Joined: Mon Jan 07, 2008 3:35 pm

Postby loren_d_c » Mon Jan 07, 2008 3:55 pm

There is no way to put PHP code on the thankyou screen itself because it is generated via a CGI and the webserver will not parse the CGI output for PHP code.

However if you have ShopSite Pro and you can use JavaScript for your purposes instead, you can use the Shopping Cart JavaScript Variables available in Pro, see the documentation at:

http://www.shopsite.com/help/9.0/en-US/sc/pro/cart.variables.html

Or if you have Pro and have access to your ShopSite shopping cart cgi directory and can write a commandline PHP script that would be executed by the thankyou.cgi when an order is completed, see the Order API documentation for variables that can be provided to your commandline scripts:

http://www.shopsite.com/help/9.0/en-US/sc/pro/order.api.html

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum

Who is online

Users browsing this forum: No registered users and 29 guests