Sure – and thanks for not giving up yet. If there is any way to send you beers let me know :-)!
What I aim to do is pretty straight forward (I think at least).
Goal is to provide the clients with the product variation url at the thankyou page in order that they can share their variation on their social networks. Typically my clients only order a single product (they order tickets), but the tickets only go ahead if enough people buy them – therefore they share them on event pages of their social networks (there is no plugin available who can share on pages of groups, typically the plugins only share on timelines)
The structure of the Thank you page is currently as follow:
– Titel
– Thank you order received message
– Order details (as in: order number, order date, order total, payment method)
– Details payment method
– Ordered items details (table with ordered products, the link to the variation, and the amount of products) and a total value
– Client details (name, email, etc)
The only difference I would like to have is:
– Titel
– Thank you order received message
– (message:)Please copy the following URL in the facebook group: [ URL to the product (variation!) ]
– Order details (as in: order number, order date, order total, payment method)
– Details payment method
– Ordered items details (table with ordered products, the link to the variation, and the amount of products) and a total value
– Client details (name, email, etc)
So we only need the code to output the ordered product variation URLS (as per your first response) and loop that again on the thankyou page. But any other ideas would be appreciated as well (e.g. alternatively, could we make a order-details-items2.php, alter that code to only show the URL’s, and load that from the thankyou page?)