Reply To: %%item_name%% not populated
What caused that issue in the first place?
In the first place, why you started the thread, the reason was that the variables were not the same as before, so there was no value to show. In the second place, why my updated hack was not sending the email, was a syntax problem with how I was getting to the person’s name in the user data, because part of them were objects instead of arrays.
a way to only include the actual item name and NOT the “Discount info”
Yes, it does look odd. I don’t see the original name anywhere in the variables available to the hack. You’d need to add it to the hack, I guess, or pass it somehow to the hack from the pro-form, e.g. the custom values. WP Admin -> s2Member -> PayPal Forms -> Shortcode Attributes -> custom -> cv
- This reply was modified 5 years ago by Cristián Lávaque.