Amateur with programming (and love it), long time reader and first time poster.
I have set up a Woocommerce cart here at http://centrowireless.com/inventory/. I have a Contact for Price button made with the WP Call for Price plugin. I have made some customizations by changing the text to “Contact for Price”, adding a div for some CSS and adding a mailto when the button is clicked:
public function empty_price($price) { return '<div class="contactproduct"><a href="mailto:offers@centrowireless.com">Contact for Price</a></div>'; }
My question is, how can I auto populate the subject of that email so that the subject is the specific product the clicked button is a part of?
Thank you,
Evan
This code is working for me, please give it a try:
I’d imagine that simply
would work just fine. Here’s an example: