Author Topic: Different checkout.thankyou for product  (Read 2127 times)

Sean Wheller

  • Beginner
  • *
  • Posts: 11
Different checkout.thankyou for product
« on: July 19, 2008, 12:27:43 pm »
Hi,

Joomla 1.0.15 and VM 1.0.15

Joomla I have a product that is an e-book. The users can download the e-book free and view a certain amount of the content. However, other content is not free and the user needs to purchase the e-book pin in order to unlock the secure content.

The PINs are suto generated on a remote host. They provide code for embedding into a thank you page. When the user reaches the checkout.thankyou the embedded code retrieves a unique PIN from the remote host.

Here's the problem. This PIN generation code is obviously not needed on all products, just this e-book. So if I buy a product other than the e-book, when I reach the checkout.thankyou page I still get a PIN generated which I do not need.

How can I return to a different checkout.thankyou for the e-book only?

Sean Wheller

  • Beginner
  • *
  • Posts: 11
Re: Different checkout.thankyou for product
« Reply #1 on: July 19, 2008, 12:40:33 pm »
Alternately ...

How can I use the same checkout.thankyou page but conditionally execute the PIN generation code if the product SKU is that of the e-book?