I added a hook_menu function (see below) to my product_type custom module
but when I go to "https://mydomain/*cart/refreshcart*
"
it says "The requested page could not be found.". I have directly called
other urls that were defined within the hook_menu function for the
ubercart/uc_cart/uc_cart.module file and they came back fine like "
https://mydomain/admin/store/settings/cart".
Any idea why this would not work?
Thanks,
John
/**
* Implementation of hook_menu().
*/
function product_type_menu() {
$items = array();
$items['*cart/refreshcart*'] = array(
'title' => 'Refresh Shopping Cart',
'description' => 'Refresh Shopping Cart',
'page callback' => 'uc_cart_block',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
'file' => 'ubercart/uc_cart/uc_cart.module',
);
return $items;
}