I have a permalink like so /products-page/custom/test-product/
the custom is my products category, test-product is the product name and products-page is the page name.
In php I am trying to GET the category name like so
if($_GET['wpsc_product_category'] == "Custom"){
//do something
}
but the code above does not work...is there away to grab the custom with get even thought my permalink looks weird?