ki11ua

Bring Your Business to LifeSupportWordPress: Popular Widget Plugin 100K downloads

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Limit Cart & Multiple Checkout #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'] );
    in reply to: Limit Cart & Multiple Checkout #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

    in reply to: Add Favorites in Different Gallery Problem #47590
    ki11ua
    Participant

    Please, take a look at it.
    YOu mena that each customer in the “secure images” area, except from the password and id of the gallery they should have a wordpress user account as well in order to have their own favorites?
    The problem in that case, should I prompt each visitor to register first somehow, as well, and then to log in the secured gallery?
    How can i do this?

Viewing 3 posts - 1 through 3 (of 3 total)