Hi,
$BeRocket_minmax_custom_post = BeRocket_minmax_custom_post::getInstance();
$limitation_ids = $BeRocket_minmax_custom_post->get_custom_posts_frontend();
foreach($limitation_ids as $limitation_id) {
$settings_minmax = get_post_meta( $limitation_id, 'br_minmax_limitation', true );
}
Regards,
Dima
Thread Starter
thisvo
(@thisvo)
Thank you so much! It works and helped me a lot. One more question, can I also get all the product ids that applying each limitation in a similar way? Thanks for your help.
We are checking product in cart and validate them. We are not getting products based on the limitations. This one you will need to do yourself.
Regards,
Dima
Thread Starter
thisvo
(@thisvo)
Hi, long time since my last question.
May I ask:
1: What is the code for me to get the MIN and MAX PRODUCT QUANTITY I set in the limitation instead of MIN and MAX PRICE? As I have only asked for min and max price last time.
2. How can I change the warning message for not enough product when user submit his order in the product. The message I can modify in the plugin seems do not include those message.
Thanks for you help.
Thread Starter
thisvo
(@thisvo)
I have found the solution for question 2 in this forum. Thanks