arlen Posted March 1, 2019 Share Posted March 1, 2019 We are trying to add conversion tracking code to the order thank you page and get the order subtotal passed to our affiliate software however we cannot find any reference to what the subtotal variable is. The only variable we have is for the order total which is: $order->total_paid Is thee one for the subtotal that does not include shipping or tax? Link to comment Share on other sites More sharing options...
Haumea Posted March 2, 2019 Share Posted March 2, 2019 I suppose you hook your module in the paymentConfirmation hook. Try to print all the info from the order and look at the one variable that fits your needs the most. Otherwise, look in the order class. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now