Amelia's cart feature is great. But for some occasions I have to disable it - Is there a way (e.g. filter or javascript hack) to disable it on a single page id using functions.php?
I am using the new Booking Form v2 for appointments. The best way would of course be the shortcode supporting a cart attribute, like [ameliastepbooking service=2 employee=2 location=1 cart=0]
Why is this so important to me? My client offers a services , where it is not allowed to book another one - but it is required to use cart on other services (or booking forms).
THANK YOU ♡
PS: I am a technican - Geeky answers also apprechiated
Unfortunately, there is currently no such option with Amelia's built-in features. You can suggest that feature on the following link: https://features.wpamelia.com/
We carefully follow suggestions from our customers and the more vote the feature gets, the more priority we put on implementing that feature in one of the future updates.
Hi Team!
Amelia's cart feature is great. But for some occasions I have to disable it - Is there a way (e.g. filter or javascript hack) to disable it on a single page id using functions.php?
Thank you!
Attached files: Screenshot 2023-11-12 at 23.10.40.png
Addition:
I am using the new Booking Form v2 for appointments. The best way would of course be the shortcode supporting a cart attribute, like [ameliastepbooking service=2 employee=2 location=1 cart=0]
Why is this so important to me? My client offers a services , where it is not allowed to book another one - but it is required to use cart on other services (or booking forms).
THANK YOU ♡
PS: I am a technican - Geeky answers also apprechiated
Hello Samuel,
Thank you for reaching out to us.
Unfortunately, there is currently no such option with Amelia's built-in features. You can suggest that feature on the following link: https://features.wpamelia.com/
We carefully follow suggestions from our customers and the more vote the feature gets, the more priority we put on implementing that feature in one of the future updates.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Uros!
I made it myself with this dirty on-the-fly manupulation/ filtering of get_options() and using an ACF field, so that it can be set individually:
add_filter( 'option_amelia_settings', function( $values ){
if ( $values ) {
global $post;
$ameliacart = get_field( "post-ameliacart", $post->ID );
if ( $ameliacart == "yes" ) {
return str_replace(',"cart":false,', ',"cart":true,', $values);
}
if ( $ameliacart == "no" ) {
return str_replace(',"cart":true,', ',"cart":false,', $values);
}
}
return $values;
});
Hello Samuel,
Glad to hear that you found the solution for this and for sharing this with us.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables