Arthur Cotton

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Can’t seem to apply a “simple” use case #114737
    Arthur Cotton
    Participant

    Hello ,

    first of all, thank you for your support, we really appreciate the time you’re taking helping us out.

    So we updated the plugin, and tried to set up a use case, that doesnt seem to work .

    First of all , we set up our 2 Custom field here in a product example :

    First ACF , we called it DGE
    https://ibb.co/rQmLSTM

    second ACF , we called it VDGE
    https://ibb.co/x8gYVgd

    And this is the custom fields in the product
    https://ibb.co/c22zNWk

    as you can see , DGE is set to 2 and VDGE is set to 3

    This is what we’re trying to achieve from this:
    We want to limit a user based on the DGE or VDGE

    ( each user will have either a DGE Limit by month or a VDGE limit by month, based on his role , and each user gonna have his own limit ),

    So for example :
    If a user have a limit of 60 DGE , he’ll be limited to 30 quantity of this product in stock
    (this product is 2 DGE , so 30 times this product would give us 60 DGE )

    we tried using the shortcode in the formula section, but it doesnt seem to do anything , or i am still not understanding how to perform what i need
    https://ibb.co/CWwmXh3

    I don’t know how to make it work from there:

    1. Having those ACF ( DGE and VDGE ) as the custom limit for product (based on the screenshots sent)
    2. Giving a specific limit to the user – Example : Settng for user A a limit of 60 DGE / monthly , and for user B a limit of 80 VDGE / month
      even tho i think that the limit for each user can be set with this formula :

      [alg_wc_mppu limit="18" user_id="2,5"]
      with a twist , where limit should represent DGE of VDGE

    thank you for your time

    in reply to: Can’t seem to apply a “simple” use case #114394
    Arthur Cotton
    Participant

    Hello, and thank you for your response.

    Actually what you described is not what we’re trying to achieve.

    I need to set different limits on custom fields created in the product, for each product (2 custom field by product)

    I need to set different limit for each user (ACF is attributed to a user role) , based on the custom field created for the product

    And the limit for the user needs to apply on all product.

    I didn’t find a way to set limits based on a ACF , for the product and for the users

    we’re not trying to set a limit based on quantity but on a custom field

    Thank you

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