• Resolved mrs_helga

    (@mrs_helga)


    Hello,
    i hope you can help me, maybe i’m doing something wrong. I use the lates versions of WooCommerce and Booking System.
    I set a booking calendar to my simple product through the Product Data settings, but on the product page when I choose the date and push the button “Add to cart” the date doesn’t pass to the cart. I just see a normal cart with one item, but without booking date. I use Booking System’s “Add to cart” button.
    When i’ve set the calendar through shortcode in the description of the product a contact form and payment method appeared with the button “Book now” so i have two buttons – “Add to cart” and “Book now”.

    Is it possible to proceed booking date to the cart and checkout? Or booking is only possible from shortcode, then how to delete the second button – “Add to cart”?

    https://www.ads-software.com/plugins/booking-system/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mrs_helga

    (@mrs_helga)

    I removed “Add to cart” button with the code

    function remove_loop_button(){
    remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 10 );
    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’, 30 );
    }
    add_action(‘init’,’remove_loop_button’);

    Plugin Author DOTonPAPER

    (@dotonpaper)

    Hello,

    Please send an email about the issue at [email protected] to help.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘doesn't pass booking date to the cart’ is closed to new replies.