Can’t seem to apply a “simple” use case – Part 2

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce Can’t seem to apply a “simple” use case – Part 2

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #114845
    Arthur Cotton
    Participant

    Hello

    sorry for creating another topic, but we don’t see our response in the previous one
    <div id=”:316″ class=”a3s aiL “>
    <div dir=”ltr”>
    first of all, thank you for your support, we really appreciate the time you’re taking helping us out.
    <div> 
So we updated the plugin, and tried to set up a use case, that doesnt seem to work .</div>
    <div></div>
    <div>
First of all , we set up our 2 Custom field here in a product example :</div>
    <div>

First ACF , we called it DGE</div>
    <div>

https://ibb.co/rQmLSTM</div>
    <div>

second ACF , we called it VDGE</div>
    <div>

https://ibb.co/x8gYVgd</div>
    <div>And this is the custom fields in the product</div>
    <div>https://ibb.co/c22zNWk</div>
    <div>We gave DGE a value of 2 
and VDGE a value of 3</div>
    <div></div>
    <div>This is what we’re trying to achieve from this:</div>
    1. As a User, i can have a DGE/ month limit or VDGE/ month limit- Let’s say in that case i have a DGE limit of 60
    2. A product have a DGE of VDGE value.
    <div>3. As a user , i’ll be limited to 30 quantity of that product (i will hit my DGE value, because 2*30 = 60 which is the monthly limit).</div>
    <div>Same can be applied for VDGE.</div>
    <div></div>
    <div>DGE and VDGE are separate for User role (each user gonna have his own limt within this role ).</div>
    <div> So user is either limited by DGE or by VDGE , never by both or a combination of both

we tried using the formula,</div>
    <div> but it doesnt seem to work or i dont know how to make it work</div>
    <div>
https://ibb.co/CWwmXh3</div>
    <div></div>
    <div>at this point , i don’t know how to achieve this :</div>
    <div> 
1. set the limit for a product based on DGE of VDGE</div>
    <div>
2. give each user his custom limit of DGE or VDGE / monthly</div>
    <div></div>
    i thnk that this can be used with a twist to set the limit for the Users based on a custom fields
    <div>[alg_wc_mppu limit=”18″ user_id=”2,5″]</div>
    <div></div>
    Thank you for your time and support</div>
    </div>

    • This topic was modified 10 months, 2 weeks ago by Omar Dabbas.
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.