Integrating JAM by JROX into PS 4.51
I'm trying to integrate JAM by JROX, arguably the most popular affiliate software out there.
Now, I'm a total PHP noob (but that's why I've spent $1700+ on WebAssist products), and I've read the above.
The attached screenshot is the JAM code generator, and it only wants 2 variables: the Sale Amount Variable and the Transaction ID Variable.
I'd rather the Sale Amount Variable be after the discount's applied, but before the sales tax & the shipping are added. I see a nice sub-total on the cart_readonly.php, but I don't think it's a variable. If I could make one there, what would the (very simple) code be?
I know to put the code that it outputs onto the cart_readonly.php page, but I ask you for exactly the right strings to put in the boxes, in quotes which I'll not include.
Lastly, I don't see a reference to the "Transaction ID Variable" on this page. What to use? I'd want Order ID, but that's a database entry, is it not?
I know this is rather simple stuff- 2 variables and perhaps 2 lines of code, but it is beyond me. Can we solve this once for the masses? (And me, of course!)
Thanks in advance for all you do!