Support » Plugin: WooCommerce » Price missing when product shortcode rendered into map window

  • Resolved mrboats


    I’m testing out combining Woocommerce and WP Google Maps. I try to render a single product into one of the map markers with a shortcode (product or products, both work the same). The image, the links and the title render ok, but the line with the price is missing. From Chrome inspect I can see that it has not been added into HTML at all. See the render here: screengrab.

    Is the rendering of the price line conditional on some criteria? I tried to look through all the documentation but found nothing. The same shortcode, on the same page as holds the map, renders correctly with the price.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Amanda


    Hi @wpseiskaadmin

    It sounds like the issue you are facing with the product price not displaying is directly associated with the plugin you are using. I would recommend reaching out to their support page for help with this as it is not a core function of the WooCommerce plugin (and as you mentioned the shortcode works correctly on the page, just not within the map):



    Well, yes. But can you explain to me why
    do_shortcode([product id='1"])
    does not return the price? Or under what circumstances this could happen? The other plugin in now way is able to interfere with the do_shortcode actions, so for some reason the code to the woo shortcode behaves differently in this case. Why?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Price missing when product shortcode rendered into map window’ is closed to new replies.