wooocoomerce get current product id and put as button using shortcode

Viewed 16

I need to create a shortcodee custom button that uses the product ID of the product they are currently viewing, so the end result url would be something like this

https://example.com/page-name/?pid=375

0 Answers
Related