Hi @amstellodamois
It looks like you are using a plugin that is allowing you to create a Button in a widget, is this correct? I’m not sure that using a Shortcode would work. It seems that there should be an option for inserting a link.
The Button widget wouldn’t be something included in WooCommerce core, but I was able to use a Text widget and then used the HTML for linking to a page to make it work for me

Link to image: https://cld.wthms.co/WPrRqe

Link to image: https://cld.wthms.co/YQmX3P
I should probably have been clearer.
I don’t think the button is anything special, I’m running the Astra theme in WooCommerce, nothing fancier. I tried [product_page id=”1360″] because it’s a shortcode included here and thought it might work.
My question should have been: How can I link (using a full link with my domain name, a local shortcut, anything) to a product using its ID rather than its slug?
(Reason is I may modify the slug and wouldn’t like to break my links)
EDIT: Upon further research, I discovered I could use ?post_type=product&p=1071. Any word of advice or is that a proper solution?
Hi @amstellodamois
You could technically link to the post ID using the “non-pretty” permalink structure.
Like so:
http://www.example.com/?p=123
Where 123 is the post ID of the product.
@amstellodamois
You’re welcome!
If you have any further questions, I recommend creating a new thread.