Why is the cart being emptied?
-
Hi there. I’m using the Crowdfunding plugin with the Frankling Crowdfunding theme.
It seems I can’t add more than 1 product to the cart. If I browse away from the cart and loads another campaign (in order to add that one to the cart as well), the cart gets emptied.
I found this code in checkout.php
/** * Don't allow multiple pledges to be made at once if * it is not set to allow them to. When a single campaign page * is loaded (they are browsing again), clear their cart. * * @since Appthemer CrowdFunding 1.8 * * @return void */ function atcf_clear_cart() { if ( is_admin() || defined( 'DOING_AJAX' ) ) return; edd_empty_cart(); } add_action( 'atcf_found_single', 'atcf_clear_cart' );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Why is this being executed? Why can’t we add multiple products to the cart?
https://www.ads-software.com/plugins/appthemer-crowdfunding/
- The topic ‘Why is the cart being emptied?’ is closed to new replies.