FoxSecrets
Active member
Well, I was missing the parameter "product_id" in url, but I can't dump anyway, getting error "Unknown relation or alias api accessed on xf_fox_product". You know why?
btw, this is
btw, this is
assertViewableProduct
method:
Code:
/**
* @param int $id
* @param string|array $with
*
* @return \XFRM\Entity\ResourceItem
*
* @throws \XF\Mvc\Reply\Exception
*/
protected function assertViewableProduct($id, $with = 'api')
{
return $this->assertViewableApiRecord('FOX\ProductManager:Product', $id, $with);
}