gdpc_products_compare_url

gdpc_products_compare_url($product_type, $products = array(), $sort = true)

  • $product_type: product type for compare link.
  • $products: products to compare, array with product ID’s.
  • $sort: function should sort products in URL.

Get URL to the products compare page.

Example

[php]echo gdpc_products_compare_url(‘phone’,array(34,56,122));[/php]

Comments

Leave a Reply