I am trying to integrate SimpleCartJS with WordPress to make a list of the posts that the user likes and send it via email through “contact form 7”. The post are correctly added and empty, remove, increment and decrement works fine. I dont need to checkout to PayPal, google, etc. I need to send these records through a variable or something similar by email with Contact Form 7…
Simplecart can sent the information by POST or GET method (in this case) and the URL is similar to this:
I understand that with “Contact Form 7 – Dynamic Text Extension” you can send variables to the form, but if add 40 post it would be impossible, Simplecart creates a auto increment variable for each chosen post (see url):
I need to get all the titles of posts and send via contact form 7.
The question is, how can I add all the elements of the cart in a variable or something to send it?