I have two products that I would like to insert on an existing website page via the shortcode [wpordercart display=”product” id=”123″] where id is the product (post) id. I am using what I believe is the product id to insert in place of “123” in the shortcode, but the only thing that shows up on the page is Price= P.O.R.
For example one of my products is named “2005 Syrah” and on the product page the slug shows up as “2005-syrah”. So I am using that as the product id in the shortcode:
[wpordercart display=”product” id=”2005-syrah”]
I’ve tried every variation of the product name and slug, with and without the quotes, and all I get on the page is Price= P.O.R.
FYI, I did create a product category with the two products, and was successful at adding the product category page to the navigation menu and that all works great. But I’d rather add the two products to an existing page. So what’s up with the shortcode or am I missing something obvious in finding the product “id”? Thank you!
- The topic ‘Can't show products on page’ is closed to new replies.