more product types (events, subscriptions, digital goods), photos templates index/view

This commit is contained in:
2025-11-03 23:15:31 -08:00
parent 46e8712161
commit 868f9dbcce
4 changed files with 26 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ class ProductPhotosController extends AppController
public function index()
{
$query = $this->getTable()->find()
->contain(['Products', 'ProductSkus']);
->contain(['Products', 'ProductSkus', 'ProductCategories']);
$productPhotos = $this->paginate($query);
$this->set(compact('productPhotos'));