您好想在 magento 中构建查询字符串。我试过了
<?php
echo $this->getUrl("catalog/category/view",
array(
"_use_rewrite"=>false,
"category"=>$_category->getId(),
"product"=>$_product->getId()
)
);
?>
我想要网址:
http://www.localhost.com/hungermunch/fujigrill/catalog/category/view?category=11&product=1
但我得到了
http://www.localhost.com/hungermunch/fujigrill/catalog/category/view/category/11/product/1/
我怎样才能获得所需的网址。可能吗