Checks if a product slug exists.


  • Full name: if_product_slug_exists
  • Defined in: cms/core/Shared/Helpers/db.php

Parameters

Parameter Type Description
$productId string Product id to check against.
$slug string Slug to search for.

Return Value

bool

Returns true if site slug exists or false otherwise.