-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Allow link from cart to product detail view #522
Labels
Comments
rintisch
added a commit
to rintisch/cart
that referenced
this issue
Jun 5, 2024
Further adaptions are needed in product extensions. Fixes: extcode#522
I add the label 10.x to make clear, that it isn't necessary for coming major release. |
rintisch
added a commit
to rintisch/cart
that referenced
this issue
Jun 11, 2024
Further adaptions are needed in product extensions. Fixes: extcode#522
rintisch
added a commit
to rintisch/cart
that referenced
this issue
Jun 20, 2024
Further adaptions are needed in product extensions. Fixes: extcode#522
rintisch
added a commit
to rintisch/cart
that referenced
this issue
Oct 10, 2024
Further adaptions are needed in product extensions. Fixes: extcode#522
rintisch
added a commit
to rintisch/cart
that referenced
this issue
Oct 27, 2024
Further adaptions are needed in product extensions. Fixes: extcode#522
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
Is your feature request related to a problem? Please describe.
The ProductList.html of the cart shows the list of products that are in the cart.
Most shops out there allow to link from that list back to the detail view of the product. This should be possible with EXT:cart as well.
Describe the solution you'd like
The following static example would create a detail view link to a product from EXT:cart_products:
The parameters
pageUid
,extensionName
,pluginName
andcontroller
needs to be passed.My idea is to create a variable
detailViewParameter
inClasses/Domain/Model/Cart/Product.php
which is an array (or object?) which can hold all these parameters.In EXT:cart_products`:
Classes/Controller/ProductController.php
pass thepageUid
to the view.Resources/Private/Templates/Product/ShowForm.html
will use thispageUid
and set it as hidden field so that the value can be passed to theaddAction()
.Classes/EventListener/Create/CreateCartProduct.php
sets the parameterextensionName
,pluginName
and `controller.The text was updated successfully, but these errors were encountered: