2023-06-11 12:14:03 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Themes\Storefront\Http\Controllers;
|
|
|
|
|
2023-12-03 14:07:47 +00:00
|
|
|
use Illuminate\Http\Response;
|
|
|
|
|
2023-06-11 12:14:03 +00:00
|
|
|
class TabProductController extends ProductIndexController
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Display a listing of the resource.
|
|
|
|
*
|
|
|
|
* @param int $sectionNumber
|
|
|
|
* @param int $tabNumber
|
2023-12-03 14:07:47 +00:00
|
|
|
*
|
|
|
|
* @return Response
|
2023-06-11 12:14:03 +00:00
|
|
|
*/
|
|
|
|
public function index($sectionNumber, $tabNumber)
|
|
|
|
{
|
|
|
|
return $this->getProducts("storefront_product_tabs_{$sectionNumber}_section_tab_{$tabNumber}");
|
|
|
|
}
|
|
|
|
}
|