Page 1 of 1
extended behavior of add to cart button
Posted: 25 May 2023, 13:52
by kami202
Hello,
If my products will come to an availibility = 0 I want to give the customer an option to request information about when the product will be available again.
(how) is it possible to change the "add to cart" button to something like a "request for availability" button?
Maybe after clicking the "request information" button a window form with the requested product and some form fields for the customer to enter some information.
Is there any chance to do this, maybe using a 3rd party addon or is this something for a wish list?
Thanks in advance!
Re: extended behavior of add to cart button
Posted: 26 May 2023, 15:24
by Jan
Hi, there is "Ask Question" button.
It can depend on if the "Add to Cart" button is displayed or not:
So you can set that if add to cart button is not displayed, this button is displayed there. When e.g. the product is out of stock you can set that for this product, the button will be not displayed:
BTW don't forget to enable the feature with following parameter:
BUT, there were some changes, so this will work in latest Beta, please test it with this version:
https://github.com/PhocaCz/PhocaCart/re ... 8Beta2.zip
Jan
Re: extended behavior of add to cart button
Posted: 30 May 2023, 09:21
by kami202
Hello Jan,
thanks for the support, much appreciated!
I installed the beta version. Then I set everything like needed and it works expect of the category view.
In the products detail view there is the "ask question" button instead of the "add to cart" button. Perfekt!
In the category view the "ask question" button is missing.
Ask a question is activated, cart button is set to only be shown when quantity is greater 0.
In the category view for all available products has the add to cart button shown.
unavailable product don't have a add to cart nor a ask question button.
After clicking one of the unavailable products the ask questin button is shown in the detail page.
Is there maybe one of my settings missing or does this not work in the beta version?
Thanks in advance!
Matthias
Re: extended behavior of add to cart button
Posted: 30 May 2023, 15:27
by Jan
Hi, try to test:
https://github.com/PhocaCz/PhocaCart/re ... 8Beta3.zip
It should be OK even in category/items view:
Jan
Re: extended behavior of add to cart button
Posted: 30 May 2023, 15:55
by kami202
Hello Jan,
it works with beta3!
Thank you for that outstanding support!
Re: extended behavior of add to cart button
Posted: 30 May 2023, 16:56
by Jan
Hi, great to hear it.
Jan