Limit Cart & Multiple Checkout

HomeSupportImage StoreLimit Cart & Multiple Checkout

Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #47574
    ki11ua
    Participant

    Is there a way to limit the maximum quantinty of the cart?
    Is there a way to add multiple checkout option, eg paypal & google checkout?

    Thank you

    #47586
    Xpark Media
    Keymaster

    Is there a way to limit the maximum quantity of the cart?
    No, but it can be limit using the API “ims_berofe_add_to_cart”;

    Is there a way to add multiple checkout option, eg paypal & google checkout?
    Not currently, this has been requested but I have not had time to work on it.

    #47593
    ki11ua
    Participant

    So, I managed to get this far, but cant’s go any further with the limit.

    function cart_limit( $cart_items ){
    $limit_items= 50;
    if($cart_itemscart[‘items’] );

    Could you help in this?

    Thank you

    #47594
    ki11ua
    Participant
    function cart_limit( $cart_items ){
    $limit_items= 50;
    if($cart_items>= $limit_items){
    ////DO SOMETHING
    }
    }
    add_action( 'ims_berofe_add_to_cart', 'cart_limit', 10, $this->cart['items'] );
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.