How to add with a link a product to Cart with Quantity
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 60
- Joined: 18 Jan 2016, 10:29
How to add with a link a product to Cart with Quantity
Hi,
I don’t know if it is possible, but I would like to create links to Detail view of an article
i.e. demo site link
http://typo3.demo.aimeos.org/demo/detai ... article/0/
but “Add to basket” quantity to be changed to 5
It is possible in other system with url, i.e. ../?add-to-cart=2&quantity=5
Articles are small numbers, so links could be created manually in my page
Thank you in advance even for a small hint how it could be done.
I don’t know if it is possible, but I would like to create links to Detail view of an article
i.e. demo site link
http://typo3.demo.aimeos.org/demo/detai ... article/0/
but “Add to basket” quantity to be changed to 5
It is possible in other system with url, i.e. ../?add-to-cart=2&quantity=5
Articles are small numbers, so links could be created manually in my page
Thank you in advance even for a small hint how it could be done.
Re: How to add with a link a product to Cart with Quantit
You may use something like this for TYPO3:
More details about the used parameters is available in the docs:
https://aimeos.org/docs/Developers/Html ... mes#Basket
Code: Select all
...&ai[b_action]=add&ai[b_prod][0][prodid]=15&ai[b_prod][0][quantity]=5
https://aimeos.org/docs/Developers/Html ... mes#Basket
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star