• Resolved maggieduff

    (@maggieduff)


    i am a novice to wordpress. i installed a free theme and the goodreviews plugin and then placed the shortcode [goodreviews isbn=”1451627289″ buyinfo=”off” bookinfo=”off”] in a product’s short description when i go into a cart with that product, it displayed correctly. but in this example the isbn is hardcoded is there away to get the isbn from a product field. I have added an attribute isbn to the product and i would like to use this product’s attribute as a field to replace the hardcoded isbn number. i see some documentation online where they use the product to get the isbn: $product->get_isbn(). im not sure how to do this and whether the plugin will allow for it. i tried a few things which didn’t work but i am an novice. any help is appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author jhanbackjr

    (@jhanbackjr)

    Hi, maggieduff.

    When you say you want to get the ISBN from a product field, do you mean a product field inside WordPress or a product field from the Goodreads API? A link to the documentation you mentioned might be helpful. Thanks for any clarification, and thanks for using GoodReviews.

    James

Viewing 1 replies (of 1 total)
  • The topic ‘use product attribute isbn or sku to get the reviews’ is closed to new replies.