Se rendre au contenu
Menu
Cette question a été signalée
1582 Vues

Hi,


I have a custom selection box and 2 textboxes. The selection box has a product name(Test-Product) loaded in it from product.template while the 2 textboxes are for quantity and price. The quantity has a default hidden value of 1. What I want to do is to add the selection box, quantity and price to cart.

​I tried to get some idea from the link below but when click add to cart button nothing happens.
https://stackoverflow.com/questions/57254307/add-product-to-cart-on-a-non-shop-page


My screenshot: https://pasteboard.co/ikyZ5uPfsj1y.png

Avatar
Ignorer
Auteur

The solution on the following thread was helpful: https://stackoverflow.com/questions/57254307/add-product-to-cart-on-a-non-shop-page.

All I did was to uninstall and re-install my custom module and that solve the problem.

Publications associées Réponses Vues Activité
3
mai 24
23797
2
juin 22
4394
0
sept. 18
3662
0
déc. 16
3952
1
sept. 24
1231