gdpc_render_product

gdpc_render_product($product_id, $template = "simple-grid", $echo = true)

  • $product_id: ID for the product to render.
  • $template: what template to use for rendering.
  • $echo: echo content or return it as a string.

Render single product.

Function returns: string rendered content.

Comments

Leave a Reply