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!
extended behavior of add to cart button
-
- Phoca Newbie
- Posts: 3
- Joined: 25 May 2023, 13:43
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: extended behavior of add to cart button
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 25 May 2023, 13:43
Re: extended behavior of add to cart button
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: extended behavior of add to cart button
Hi, try to test:
https://github.com/PhocaCz/PhocaCart/re ... 8Beta3.zip
It should be OK even in category/items view:
Jan
https://github.com/PhocaCz/PhocaCart/re ... 8Beta3.zip
It should be OK even in category/items view:
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 25 May 2023, 13:43
Re: extended behavior of add to cart button
Hello Jan,
it works with beta3!
Thank you for that outstanding support!
it works with beta3!
Thank you for that outstanding support!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: extended behavior of add to cart button
Hi, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project