WordPress.org

Ready to get started?Download WordPress

Forums

WP Order Cart
Can't show products on page (4 posts)

  1. gcrayne2013
    Member
    Posted 1 year ago #

    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!

    http://wordpress.org/extend/plugins/wp-order-cart/

  2. Guido
    Member
    Posted 1 year ago #

    Hi,

    You must add the number of the product in the shortcode. So not the product name or slug.

    Go to the product editpage and check the URL > there you will see the productnumber.

    Guido

  3. gcrayne2013
    Member
    Posted 1 year ago #

    Hi Guido,

    Thanks for the reply. Sorry to say it doesn't help. I go to the product edit page at look at the url for one of the products, which shows: http://armaghvineyard.com/new/?products=2005-syrah

    So I still can't find any product number. Am I missing a screen somewhere?

    Thank you,

    Doug

  4. Guido
    Member
    Posted 1 year ago #

    Hi Doug,

    Don't use the permalink but the link (url) in the address bar.

    Or try to hover the productname(s) in the productlist (in admin area) and check the link.

    Guido

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic