I am developing an e-commerce website and I would like to include a subview in my product page. The subviews are all named similar to the product name and all are located in my partials/specs folder and I want to include the subview based on the product name.
@include('partials.specs.')
I tried the above code but I get the below error:
View [partials.specs.<?php echo e($product->name); ?>] not found.
Any advise? Thanks.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire