Forum Replies Created
-
AuthorPosts
-
Arthur Cotton
ParticipantHello ,
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/rQmLSTMsecond ACF , we called it VDGE
https://ibb.co/x8gYVgdAnd this is the custom fields in the product
https://ibb.co/c22zNWkas 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/CWwmXh3I don’t know how to make it work from there:
- Having those ACF ( DGE and VDGE ) as the custom limit for product (based on the screenshots sent)
- 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
Arthur Cotton
ParticipantHello, 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
-
AuthorPosts